This data member contains the window handle to the frame window's command bar.
HWND m_hCommandBar;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Pass this HWND as the hwndCB parameter to any of the global command bar Functions if you need to access them directly. You may want to do this if you're adding more than one combo box, or if you want to insert a command bar element at a particular position in the command bar.
CFrameWnd Overview, CFrameWnd Data Members, Frame Windows and Splitter Windows, CommandBar_InsertButton, CommandBar_InsertComboBox, CommandBar_InsertMenubar