I finally figured out how to completely replace the main menu of my mod, but I still want to be able to trigger the standard Options and Find Servers sub-menus from my new main menu.
I looked at Resource/GameMenu.res and found the panel commands that the standard Find Servers and Options buttons call. For example, "OpenServerBrowser" for Find Servers and "OpenOptionsDialog" for the Options sub-menu.
I'm thinking all I need to do is get a pointer to the main menu panel and then issue some OnCommand() calls to it to do what I need, but I don't know how to get a pointer to the main menu panel to issue such calls to.
How do I get a pointer to the main menu panel so I can use ->OnCommand() on it? Thanks.