|
-
Jun 6th, 2010, 08:45 AM
#1
Thread Starter
Addicted Member
Allow window resizing, external process
hi,
how can i allow resizing of window that doesnt allow resizing,.
also i can hook the hwnd if it helps
-
Jun 6th, 2010, 09:28 AM
#2
Re: Allow window resizing, external process
Hi,
You can try something like this.
vb Code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.AutoSizeMode = Windows.Forms.AutoSizeMode.GrowAndShrink ' to avoid that the user can resize the form
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.AutoSizeMode = Windows.Forms.AutoSizeMode.GrowOnly ' allow the user to resizing the form
End Sub
-
Jun 6th, 2010, 09:32 AM
#3
Thread Starter
Addicted Member
Re: Allow window resizing, external process
uhm. i asked for external window
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
|