Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.