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


CToolBarCtrl::SetButtonInfo

Sets the information for an existing button in a toolbar.

BOOL SetButtonInfo(
   int nID,
   TBBUTTONINFO* ptbbi 
);

Параметры

  • nID
    The button identifier.

  • ptbbi
    A pointer to a TBBUTTONINFO structure that receives the button information.

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

Nonzero if successful; otherwise 0.

Заметки

The member function implements the behavior of the Win32 message TB_SETBUTTONINFO, as described in the Windows SDK.

Требования

Header: afxcmn.h

См. также

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

CToolBarCtrl Class

CToolBarCtrl Members

Hierarchy Chart

CToolBarCtrl::GetButtonInfo