This method retrieves a pointer to a menu on the command bar.
Header file: | Wcebar.h |
Platforms: | Palm-size PC, H/PC Pro |
Windows CE versions: | 2.10 and later |
CMenu* GetMenuBar(int nButton) const;
A pointer to the menu identified by nButton, or NULL if the function fails.
This method fails if the separator button identified by nButton does not contain a menu bar.