By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,227 Members | 1,226 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,227 IT Pros & Developers. It's quick & easy.

Dialog size question

P: n/a
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

Dec 8 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Got it. had to call SetWindowPos!

Dec 8 '05 #2

P: n/a
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?
Dec 8 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.