Поделиться через


CListCtrl::GetCallbackMask

Retrieves the callback mask for a list view control.

UINT GetCallbackMask( ) const;

Возвращаемое значение

The list view control's callback mask.

Заметки

A "callback item" is a list view item for which the application — rather than the control — stores the text, icon, or both. Although a list view control can store these attributes for you, you may want to use callback items if your application already maintains some of this information. The callback mask specifies which item state bits are maintained by the application, and it applies to the whole control rather than to a specific item. The callback mask is zero by default, meaning that the control tracks all item states. If an application uses callback items or specifies a nonzero callback mask, it must be able to supply list view item attributes on demand.

Пример

See the example for CListCtrl::SetCallbackMask.

Требования

Header: afxcmn.h

См. также

Основные понятия

CListCtrl Class

CListCtrl Members

Hierarchy Chart

CListCtrl::SetCallbackMask