|
-
Aug 12th, 2003, 05:53 PM
#1
Modifying the title bar
I forgot what it is exactly called, but where it has the minimize, maximize and close boxes in the upper right hand corner.
I was wondering if there was any way to actaully modify it so I can add a button to minimize to system tray?
I'm thinking I have to turn it off and design my own, I just can't find anything about actaully modifying it.
-
Aug 12th, 2003, 06:37 PM
#2
Sleep mode
You can have the form minimized in the system tray with NotifyIcon . If you want to disable it from being moved or disable the "X" button , then you can use SendMessage API . Building your own would be better choice if the above didn't help you .
-
Aug 12th, 2003, 07:12 PM
#3
Hyperactive Member
You also have the property Control Box, which you can make true or false. If you make that false, it removes the users ability, to maximise, minimise and use the X to close the form. In our own application we apply that to all our forms as we wish to control how the User can exit the form. In our case only by clicking a particular button, either to cancel or complete the transaction.
-
Aug 12th, 2003, 08:42 PM
#4
Originally posted by Pirate
You can have the form minimized in the system tray with NotifyIcon . If you want to disable it from being moved or disable the "X" button , then you can use SendMessage API . Building your own would be better choice if the above didn't help you .
Yeah... I know this, it's not what I asked...
-
Aug 12th, 2003, 08:43 PM
#5
Originally posted by RichardAtherton
You also have the property Control Box, which you can make true or false. If you make that false, it removes the users ability, to maximise, minimise and use the X to close the form. In our own application we apply that to all our forms as we wish to control how the User can exit the form. In our case only by clicking a particular button, either to cancel or complete the transaction.
Yeah I figured I'd end up making my own bar
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|