Adding to the system menu

Ole Nielsby ole.nielsby at tekare-you-spamminglogisk.dk
Wed Aug 29 15:08:08 PDT 2007


My PILS programming system has, in its old Win32-only version,
a feature I'd like very much to have in the new wxWidgets version.

Whenever a Win32 PILS program creates a frame or dialog, the
PILS programming system will add to its system menu (the one that's
activated by clicking the title bar icon or typing Alt+space.) an item
called "Source" - when activated, the source code that created the
window will be opened in the PILS editor. This is extremely handy
and I miss it badly in the wxWindows version.

I might be able to make do with an accelerator but it's not clear
how accelerators and menus interact. If I set an accelerator table
for the window on creation and later add a menu bar with some
accelerator keys in menu item names, will the accelerator table
then be replaced?








More information about the wx-users mailing list