Add extra button to window Title Bar
-
I have code to minimize my dialog to the system tray. Right now when the minimize button is pressed, the dialog prompts and asks "Minimize to the System Tray?". I would like to add an extra button to the Title Bar (just to the left of the minimize button) to control sending the dialog to the system tray. I have searched CodeProject but to no avail. rodge
-
I have code to minimize my dialog to the system tray. Right now when the minimize button is pressed, the dialog prompts and asks "Minimize to the System Tray?". I would like to add an extra button to the Title Bar (just to the left of the minimize button) to control sending the dialog to the system tray. I have searched CodeProject but to no avail. rodge
These articles may help:
/ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com
-
I have code to minimize my dialog to the system tray. Right now when the minimize button is pressed, the dialog prompts and asks "Minimize to the System Tray?". I would like to add an extra button to the Title Bar (just to the left of the minimize button) to control sending the dialog to the system tray. I have searched CodeProject but to no avail. rodge
So the user will have a choice whether they want to minimize to the Taskbar or the Taskbar Notification Area (sometimes erroneously called the tray)? Is that right?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
-
So the user will have a choice whether they want to minimize to the Taskbar or the Taskbar Notification Area (sometimes erroneously called the tray)? Is that right?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
That's right. The way I have it set up now is that when the user clicks the minimize button, a YES/NO message box asks you if you want it minimized to the system tray. If YES it goes to the "Taskbar Notification Area", if NO it is just minimized to the taskbar. I want another button next to the minimize button that will be used to send the dialog to the "Taskbar Notification Area". rodge