How can I set the size of a popup CDialog?
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
I have a dialog box that pops up in my application. But the popup box is very large. How can I programmatically set the size of that popup box? Please any response any one can give me will be greatly appreciated. Sincerely, Danielle Brina
There's a few ways: - Set the size when you call
Create()
on the dialog. - Change the size usingSetWindowPos()
- Change the size usingMoveWindow()