So for my Installer app which doesn’t have (or require) a (real) menu… I use MenuBarModel::setMacMainMenu() to add the “About” option to the Apple Menu – so I thought it would be good to add the same option to the Windows System menu.
I looked through the forum and didn’t find any reference to anyone having done this before – I know it’s possible in MFC:
Anyone done this in JUCE?
I’m thinking I can use WIN32 calls otherwise:
GetSystemMenu () and InsertMenuItem() – I’ll just have to figure out how to interface it to MenuBarModel
It looks like I need to register a MESSAGE ID (WM_USER + nnnn) with MessageManager and have WindowClassHolder::peerWindowProc() call a method in MessageManager with any unhanded messages which could broadcast the message to an Listeners which registered the message.