Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CFrameWnd::GetControlBar

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:
© 2015 Microsoft