I want two forms to be always on top of any window.Besides, form1 must be on top of form2. I haven't been able to get this last thing to work with SetWindowPos. Some help please?
Printable View
I want two forms to be always on top of any window.Besides, form1 must be on top of form2. I haven't been able to get this last thing to work with SetWindowPos. Some help please?
Try something like this.
Code:form2.SetWindowPos(&CWnd::wndTopMost,0,0,0,0,SWP_NOSIZE|SWP_NOMOVE);
form1.SetWindowPos(&CWnd::wndTopMost,0,0,0,0,SWP_NOSIZE|SWP_NOMOVE);