CLinkCtrl::SetItemState
Retrieves the state of the link control item.
BOOL SetItemState(
int iLink,
UINT state,
UINT stateMask = LIS_FOCUSED | LIS_ENABLED | LIS_VISITED
);
Параметры
iLink
The index of a link control item.pnState
The value of the specified state item being set.stateMask
Combination of flags describing the state item being set. 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.
Заметки
Sets the value of the specified state item of a specific link control item. For more information, see the Win32 message LM_SETITEM in the Windows SDK.
Требования
Header: afxcmn.h