Getting the menu of a different window
-
Hi, I have a dialog based application. The main dialog has a menu. This dialog creates a modal dialog. How can I access the menu of the main dialog from the modal one? The program I'm working on runs in the system tray. It is used to shutdown, restart, logoff etc. The purpose of the modal dialog is to let me change what the default operation should be when I double click the icon in the system tray. As far as I know, the default menu item will be executed on the double click. Is that correct? Thanks very much, dlarkin77
-
Hi, I have a dialog based application. The main dialog has a menu. This dialog creates a modal dialog. How can I access the menu of the main dialog from the modal one? The program I'm working on runs in the system tray. It is used to shutdown, restart, logoff etc. The purpose of the modal dialog is to let me change what the default operation should be when I double click the icon in the system tray. As far as I know, the default menu item will be executed on the double click. Is that correct? Thanks very much, dlarkin77