class WinSalMenu : public SalMenu
{ public:
WinSalMenu(); virtual ~WinSalMenu() override; virtualbool VisibleMenuBar() override; // must return TRUE to actually DISPLAY native menu bars // otherwise only menu messages are processed (eg, OLE on Windows)
HMENU mhMenu; // the menu handle bool mbMenuBar; // true for menu bars
HWND mhWnd; // the window handle where the menubar is attached, may be NULL
WinSalMenu *mpParentMenu; // the parent menu
};
class WinSalMenuItem : public SalMenuItem
{ public:
WinSalMenuItem(); virtual ~WinSalMenuItem() override;
MENUITEMINFOW mInfo; void* mpMenu; // pointer to corresponding VCL menu
OUString mText; // the item text
OUString mAccelText; // the accelerator string
Bitmap maBitmap; // item image int mnId; // item id
WinSalMenu* mpSalMenu; // the menu where this item is inserted
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.