CListCtrl::SetCallbackMask

BOOL SetCallbackMask( UINT nMask );

Return Value

Nonzero if successful; otherwise zero.

Parameters

nMask

New value of the callback mask.

Remarks

Sets the callback mask for a list view control.

Example

// The pointer to my list view control.
extern CListCtrl* pmyListCtrl;

// Set the callback mask so that only the selected and focused states
// are stored for each item.
pmyListCtrl->SetCallbackMask(LVIS_SELECTED|LVIS_FOCUSED);
ASSERT(pmyListCtrl->GetCallbackMask() == 
   (LVIS_SELECTED|LVIS_FOCUSED));

CListCtrl OverviewClass MembersHierarchy Chart

See Also   CListCtrl::GetCallbackMask