CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2003
    Location
    Bangalore,INDIA
    Posts
    122

    Resizing dialog according to screen resolution

    Hello all,

    I have problem in resizing my application depending on screen resolution.
    Can anybody help me?

    Regards,
    Poornima.

  2. #2
    Join Date
    Feb 2007
    Location
    Craiova, Romania
    Posts
    326

    Re: Resizing dialog according to screen resolution

    What about showing the window with SW_SHOWMAXIMIZED?
    It will occupy all available area of the screen.

    Or is your problem related to something else?

  3. #3
    Join Date
    Jun 2003
    Location
    Bangalore,INDIA
    Posts
    122

    Re: Resizing dialog according to screen resolution

    Hello marceln,

    My problem is it works in 1024X768,1152X864 resolution but in 800X600 it goes out of the window...

    Regards,
    Poornima.

  4. #4
    Join Date
    Feb 2007
    Location
    Craiova, Romania
    Posts
    326

    Re: Resizing dialog according to screen resolution

    Well, that's rpobably because some of the controls in your dialog are enforcing a minimum size which is greater than 800x600px.
    So you should first revise the controls, to see which one is causing the problem.

    Do you have a minimum size set for the dialog?

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

Featured