Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
int GetHotItem( );
Return Value
The index of the current hot item of the list view control.
Remarks
This member function implements the behavior of the Win32 macro, , as described in the Platform SDK.
The hot item is defined as the currently selected item when hot tracking (and hover selection) is enabled.
If hot tracking is enabled, when a user pauses over a list view item, the item label is automatically highlited without the use of a mouse button.
Example
// The pointer to my list view control.
extern CListCtrl* pmyListCtrl;
// Set the hot item to the first item only if no other item is
// highlighted.
if (pmyListCtrl->GetHotItem() == -1)
pmyListCtrl->SetHotItem(0);
CListCtrl Overview | Class Members | Hierarchy Chart
See Also CListCtrl::GetHotCursor