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


CToolBar::SetHeight

This member function sets the toolbar's height to the value, in pixels, specified in cyHeight.

void SetHeight(
   int cyHeight 
);

Параметры

  • cyHeight
    The height in pixels of the toolbar.

Заметки

After calling SetSizes, use this member function to override the standard toolbar height. If the height is too small, the buttons will be clipped at the bottom.

If this function is not called, the framework uses the size of the button to determine the toolbar height.

Требования

Header: afxext.h

См. также

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

CToolBar Class

CToolBar Members

Hierarchy Chart

CToolBar::SetSizes

CToolBar::SetButtonInfo

CToolBar::SetButtons