OWLNext 7.0
Borland's Object Windows Library for the modern age
|
TMenu has several constructors to create menu objects from existing windows or from menu resources.
After the menu is created, you can add, delete, or modify it using TMenu member functions. The following table lists the constructors you can use to create menu objects:
TMenu constructor | Description |
TMenu::TMenu() | Creates an empty menu. |
TMenu::TMenu(HWND) | Creates a menu object representing the window's current menu. |
TMenu::TMenu(HMENU) | Creates a menu object from an already-loaded menu. |
TMenu::TMenu(LPCVOID*) | Creates a menu object from a menu template in memory. |
TMenu::TMenu(HINSTANCE, TResID) | Creates a menu object from a resource. |