Hi,
I think using your Command event approach is the best way to go.
The MacOS port has just to make sure that these event are send when
the user selects one of the system menu entries. Just write me an
issue if the premises are implemented and I will add the necessary
code for the framework project.
in fact the Carbon/Mac OS X part is being tracked by
http://qa.openoffice.org/issues/show_bug.cgi?id=77611
The "interesting part" is/will be in vcl/aqua/source/window/
salframe.cxx:
+ else if (commandStruct.commandID == kHICommandPreferences)
+ {
+ fprintf(stderr, "FIXME: Call Tools - Options somehow...!
\n");
+ result = noErr;
+ }
+ else if (commandStruct.commandID == kHICommandAbout)
+ {
+ fprintf(stderr, "FIXME: Call Help - About OpenOffice.org
somehow...!\n");
+ result = noErr;
+ }
Instead of fprintf's, we want to send the respective command event ;-)
--
Pavel Janík
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]