|
-
Mar 19th, 2001, 05:40 AM
#1
Thread Starter
Hyperactive Member
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?
-
Mar 19th, 2001, 11:09 AM
#2
PowerPoster
try to set the Form's MinButton=False at design time.
-
Mar 19th, 2001, 11:56 AM
#3
Thread Starter
Hyperactive Member
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
-
Mar 19th, 2001, 03:38 PM
#4
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
-
Mar 20th, 2001, 04:01 AM
#5
Thread Starter
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|