Results 1 to 5 of 5

Thread: remove window options...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2000
    Location
    Isle of Man
    Posts
    276
    Ive used GetSystemMenu and RemoveSystemMenu to remove all options besides minimise form my form's menu, but double clicking on the form's title bar still restores it. is there any way around this?

  2. #2
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238
    try to set the Form's MinButton=False at design time.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2000
    Location
    Isle of Man
    Posts
    276
    i'm not after removing the minimise option, it's the restore option i'm after.

    my app is meant to run maximised, and ive managed to disable the button and remove it from the system menu, but when i double click the title bar, the form goes from being maximised to being a normal wndow

  4. #4
    Guest
    How about just changing the style back whenever it's set to normal.
    Code:
    Private Sub Form_Resize()
        If WindowState = 0 Then
            Hide
            WindowState = 2
            Show
        End If
    End Sub

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2000
    Location
    Isle of Man
    Posts
    276
    cheers, i think that works about as well as it's going to

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