Window maximum size? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Window maximum size?

How can you set a sizeable window maximum size?

thanks fpeter

Comments

  • ColdShineColdShine Posts: 597Member
    It's the screen size + double the window border size (default 4 x 2 = 8 pixels).
    _____________________________
    [size=1][b][grey]Cold[/grey][blue]Shine[/blue][/b]
    http://www20.brinkster.com/coldshine[/size]

  • fpeterfpeter Posts: 2Member
    Sorry I wasn't clear enough.
    I want to define my window maximum size, different from system defined max size.
    For example: I have a 500*500 bitmap and I don't want to allow the window to be bigger than the bitmap but smaller.
  • pingpongpingpong Posts: 937Member
    : Sorry I wasn't clear enough.
    : I want to define my window maximum size, different from system defined max size.
    : For example: I have a 500*500 bitmap and I don't want to allow the window to be bigger than the bitmap but smaller.
    :

    Maybe WM_GETMINMAXINFO.

Sign In or Register to comment.