Quantcast
Channel: How to change the size & position of a dialog-based window programmatically? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Michael Chourdakis for How to change the size & position of a...

The size of the dialog can be changed with SetWindowPos(), but it's unlikely that you want to do that for a dialog - or you have also to resize all its children. Usually I do that only when the dialog...

View Article



How to change the size & position of a dialog-based window programmatically?

I have code which creates a dialog-based window: m_window = CreateDialogParam(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_DIALOG1), NULL, DlgProc, 0); ShowWindow(m_window, SW_SHOW); How to change the...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images