Поделиться через


CToolBarCtrl::SetHotItem

Sets the hot item in a toolbar.

int SetHotItem(
   int nHot 
);

Параметры

  • nHot
    The zero-based index number of the item that will be made hot. If this value is -1, none of the items will be hot.

Возвращаемое значение

The index of the previous hot item, or -1 if there was no hot item.

Заметки

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

Требования

Header: afxcmn.h

См. также

Основные понятия

CToolBarCtrl Class

CToolBarCtrl Members

Hierarchy Chart

CToolBarCtrl::GetHotItem