ToolBar 컨트롤 사용
This article explains how you can access the CToolBarCtrl object underlying a CToolBar for greater control over your toolbars. This is an advanced topic.
절차
To access the toolbar common control underlying your CToolBar object
- Call CToolBar::GetToolBarCtrl.
GetToolBarCtrl returns a reference to a CToolBarCtrl object. You can use the reference to call member functions of the toolbar control class.
경고
While calling CToolBarCtrl Get functions is safe, use caution if you call the Set functions.This is an advanced topic.Normally you shouldn't need to access the underlying toolbar control.
추가 정보
CToolBar 및 CToolBarCtrl 클래스
For general information about using Windows common controls, see Common Controls.