Results 1 to 3 of 3

Thread: Allow window resizing, external process

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2009
    Posts
    130

    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

  2. #2
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: Allow window resizing, external process

    Hi,

    You can try something like this.

    vb Code:
    1. Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    2.         Me.AutoSizeMode = Windows.Forms.AutoSizeMode.GrowAndShrink ' to avoid that the user can resize the form
    3.     End Sub
    4.  
    5.     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    6.         Me.AutoSizeMode = Windows.Forms.AutoSizeMode.GrowOnly ' allow the user to resizing the form
    7.     End Sub
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2009
    Posts
    130

    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
  •  



Click Here to Expand Forum to Full Width