This topic is now archived and is closed to further replies.

Zeblar Nagrim

Dialogbox problem

Recommended Posts

Hello I create my frame windows with CreateDialog...
// Try to load a dialog form to the HWND

HWND l_hDialog = CreateDialog( (HINSTANCE) GetWindowLong(m_hWndParent, GWL_HINSTANCE), MAKEINTRESOURCE(p_iPageID), m_hWndParent, (DLGPROC) GetWindowLong(m_hWndParent, GWL_WNDPROC));
l_tPageWnd.m_hWnd = l_hDialog;
and my windows shrink automaticly approx. 10x10 pixel! Is it possible to prevent the dialog from resizing it self? I want the window to be aligned with the border. Thanks, Zeblar Nagrim, Lord of Chaos

Share this post

Link to post
Share on other sites