Results 1 to 2 of 2

Thread: Layouting "Windows.Forms" like Qt forms

  1. #1
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Layouting "Windows.Forms" like Qt forms

    Hi,

    today I have seen a college building a small Visual Basic app with one very simple window (just some buttons, two textboxes etc.). He used the Windows.Forms library, or whatever it is called.

    I wondered if this "allmighty MS miracle-library" is capable of layouting mechanisms like Qt provides (HBox, VBox, Grid, resizing elements etc.).
    When I asked him his answer was: "Don't know. Put elements where they belong to, build application, be happy."
    But if he ever tries to resize his window I already see him breaking out in tears.

    So is there some layouting mechanism in the MS libraries? Or has every window to be of static size?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Layouting "Windows.Forms" like Qt forms

    Quote Originally Posted by Boron View Post
    So is there some layouting mechanism in the MS libraries? Or has every window to be of static size?
    The latest .NET has some layouting capabilities, but as far as I know they are much inferior to what Qt offers. And your friend simply was lazy (or lacked knowledge) enough not to implement what happens during resizes. Even with MFC this is possible although very tedious.

Similar Threads

  1. using functions in different forms
    By vishnu5 in forum General Programming
    Replies: 1
    Last Post: 4th February 2008, 20:37
  2. Forms or QStackedWidget
    By hgedek in forum Newbie
    Replies: 1
    Last Post: 5th November 2007, 22:35
  3. Custom shaped forms and controls
    By AlbertGoodwill in forum Qt Programming
    Replies: 1
    Last Post: 19th October 2007, 07:35
  4. pass variables between 2 forms
    By restiz in forum Qt Programming
    Replies: 7
    Last Post: 17th June 2006, 17:13
  5. Accessing objects in different forms
    By Lebowski in forum Newbie
    Replies: 17
    Last Post: 13th April 2006, 12:20

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.