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


CToolBarCtrl::GetButtonInfo

Retrieves the information for a button in a toolbar.

BOOL GetButtonInfo(
   int nID,
   TBBUTTONINFO* ptbbi 
) const;

Параметры

  • nID
    The button identifier.

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

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

Nonzero if successful; otherwise zero.

Заметки

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

Требования

Header: afxcmn.h

См. также

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

CToolBarCtrl Class

CToolBarCtrl Members

Hierarchy Chart

CToolBarCtrl::SetButtonInfo