This data member contains the window handle to the frame window's command bar.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
HWND m_hCommandBar;
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 are adding more than one combo box, or if you want to insert a command bar element at a particular position in the command bar.
CommandBar_InsertButton, CommandBar_InsertComboBox, CommandBar_InsertMenubar