BCGControlBar Pro for MFC
BOOL CBCGPMultiLinkCtrl::GetItemState ( int  iLink,
UINT *  pnState,
UINT  stateMask = LIS_FOCUSED|LIS_ENABLED|LIS_VISITED 
) const

Retrieves the state of the link control item.

Parameters
iLinkZero-based index of the link.
pnStateThe value of the specified state item.
stateMaskCombination of flags describing which state item to get. For a list of values, see the description of the state member in the BCGPLITEM structure. Allowable items are identical to those allowed in state.
Returns
Returns TRUE on success, FALSE on failure.