July 10th, 2013, 12:52 AM
Positioning of window on Desktop
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.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.