-
July 10th, 2013, 12:52 AM
#1
Positioning of window on Desktop
Hi All
I have a CFormView derived window which I would like to position at run time.
In particular when the user clicks a button I would like to shfit the CFormView window and open up a new Dialog window so that the two do not overlap.
I have created the CFormView window and the dialog window- can someone please tell me how to shfit the CFormView window?
I shift the Dialog window as follows in OnInitDialog:
SetWindowPos(NULL, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOZORDER);
Thank you in advance.
AAEL
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|