CLinkCtrl::GetItemState
Retrieves the state of the link control item.
BOOL GetItemState(
int iLink,
UINT * pnState,
UINT stateMask = LIS_FOCUSED | LIS_ENABLED | LIS_VISITED
) const;
Параметры
iLink
The index of a link control item.pnState
The value of the specified state item.stateMask
Combination of flags describing which state item to get. For a list of values, see the description of the state member in the LITEM structure. Allowable items are identical to those allowed in state.
Возвращаемое значение
Returns TRUE on success, FALSE on failure.
Заметки
Retrieves the value of the specified state item of a specific link control item. For more information, see the Win32 message LM_GETITEM in the Windows SDK.
Требования
Header: afxcmn.h