Skip to main content
GameDev.net gamedev.net
🔒 Locked

Dialog Box question

Started by dr_slash_uh Mar 1, 2004 at 2:59 PM 0 replies 250+ views
Original Post
dr_slash_uh
dr_slash_uh
I am creating a database and I am using dialogbox to get my inputs. How do I get my dialog boxes to stay in a static position within my window. Thanks
Evil Steve
Evil Steve
You can handle the WM_SIZE message and fix the rectangle passed to one location, or you can change the window style (SetWindowLong(m_hWnd,GWL_STYLE,blah)).

Although why do you want a dialog to stay in one place on the screen? All it''ll do is annoy the user...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.