Results 1 to 4 of 4

Thread: [VB 2008]Moveable Window inside a form??

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2008
    Posts
    129

    [VB 2008]Moveable Window inside a form??

    Ok if i have a form I know there are panels and grids to help align .... but is there a WINDOW that is moveable..... and can be minimized inside the form....

    thanks..

  2. #2
    PowerPoster keystone_paul's Avatar
    Join Date
    Nov 2008
    Location
    UK
    Posts
    3,327

    Re: [VB 2008]Moveable Window inside a form??

    Not as such, however you can make panels etc moveable by implementing code to drag them around the parent form, and to mimic the appearance of being minimised.

  3. #3
    PowerPoster
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,070

    Re: [VB 2008]Moveable Window inside a form??

    I am pretty sure it was possible to add a Form to your Form. I am not sure however if that Form could then be resized and moved. But when I just tried it I cannot make it work.

    I can also remember someone using an API to embed applications (such as Notepad) inside a Form. That was also a good example of a Form inside a Form (this window was able to resize, move and minimize etc!). Again, I cannot find how to do it anymore.

    The better approach probably is to write some code that allows you to move Panels or other controls. Luckily, I already did that for you
    Have a look at my signature, there is a link to a codebank submission (second link) that allows you to move and resize any control, just like you can move and resize windows. You are probably looking for the second post in that thread; the first one is for moving/resizing borderless Forms.

  4. #4
    Registered User nmadd's Avatar
    Join Date
    Jun 2007
    Location
    U.S.A.
    Posts
    1,676

    Re: [VB 2008]Moveable Window inside a form??

    Perhaps I'm misunderstanding the question, but do you just want an MDI application?
    http://msdn.microsoft.com/en-us/library/xyhh2e7e.aspx

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