共用方式為


CToolBarCtrl::GetHotItem

Retrieves the index of the hot item in a toolbar.

int GetHotItem( ) const;

Return Value

The zero-based index of the hot item in a toolbar.

Remarks

This member function implements the behavior of the Win32 message TB_GETHOTITEM, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Reference

CToolBarCtrl Class

Hierarchy Chart

CToolBarCtrl::SetHotItem