Dialog size question

Discussion in 'C++' started by xargon, Dec 8, 2005.

  1. xargon

    xargon Guest

    Hi everyone,

    I have a frustrating problem. I have a Windows dialog based application
    (non-MFC). So, I created the dialog in the resource editor. However, I
    want to precisely specify the size of the dialog. But the resource
    editor does not let me specify the width and height of the dialog. It
    has property fields for x and y pos but no fields for width and height.

    So, my question to you gurus is how I can specify the width and height
    of the dialog. Doing so even at run time would be ok! Maybe there is a
    message that I can send to the dialog that would tell it to resize
    itself!

    Cheers,
    xargy
     
    xargon, Dec 8, 2005
    #1
    1. Advertising

  2. xargon

    xargon Guest

    Got it. had to call SetWindowPos!
     
    xargon, Dec 8, 2005
    #2
    1. Advertising

  3. xargon

    red floyd Guest

    xargon wrote:
    > Hi everyone,
    >
    > I have a frustrating problem. I have a Windows dialog based application
    > (non-MFC). So, I created the dialog in the resource editor. However, I
    > want to precisely specify the size of the dialog. But the resource
    > editor does not let me specify the width and height of the dialog. It
    > has property fields for x and y pos but no fields for width and height.
    >
    > So, my question to you gurus is how I can specify the width and height
    > of the dialog. Doing so even at run time would be ok! Maybe there is a
    > message that I can send to the dialog that would tell it to resize
    > itself!
    >


    The C++ Standard does not address dialogs or resources. May I suggest a
    Windows newsgroup?

    microsoft.public.vc.language, for example?
     
    red floyd, Dec 8, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?cmFtZW5kcmE=?=

    popup dialog opening in max size

    =?Utf-8?B?cmFtZW5kcmE=?=, Dec 2, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    396
    =?Utf-8?B?cmFtZW5kcmE=?=
    Dec 2, 2005
  2. yw
    Replies:
    3
    Views:
    820
    Phlip
    Jul 2, 2005
  3. Jason Cavett

    Preferred Size, Minimum Size, Size

    Jason Cavett, May 23, 2008, in forum: Java
    Replies:
    5
    Views:
    12,584
    Michael Jung
    May 25, 2008
  4. Saeed Sedighian

    Change size of dialog window

    Saeed Sedighian, Jun 28, 2004, in forum: Javascript
    Replies:
    0
    Views:
    135
    Saeed Sedighian
    Jun 28, 2004
  5. Matt
    Replies:
    1
    Views:
    280
    Randy Webb
    Nov 20, 2004
Loading...

Share This Page