Export (0) Print
Expand All

CFrameWnd::GetControlBar

Call GetControlBar to gain access to the control bar that is associated with the ID.

CControlBar* GetControlBar( 
   UINT nID  
);

nID

The ID number of a control bar.

A pointer to the control bar that is associated with the ID.

The nID parameter refers to the unique identifier passed to the Create method of the control bar. For more information on control bars, refer to the topic entitled Control Bars.

GetControlBar will return the control bar even if it is floating and thus is not currently a child window of the frame.

Header: afxwin.h

Show:
© 2014 Microsoft