Embed dialog boxes into the window

closed account (2NywAqkS)
Simple question. How do I (if possible) make a dialog box part of window instead of a a window of it's own?

Use SetParent() to set the new parent window and also set the WS_CHILD style bit because SetParent() won't do it.
closed account (2NywAqkS)
do I put SetParent in WM_INITDIALOG?
You can use SetParent() at any time as long as you have a valid window handle.
Topic archived. No new replies allowed.