Results 1 to 5 of 5

Thread: Modifying the title bar

  1. #1

    Thread Starter
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    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.

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    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 .

  3. #3
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Dublin (Ireland)
    Posts
    304
    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.

  4. #4

    Thread Starter
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    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...

  5. #5

    Thread Starter
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    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
  •  



Click Here to Expand Forum to Full Width