Multiple monitor support for MFC application
-
I want to open the child application form outside my parent form. I am using MDI application, The way the application currently opening a child form is pretty simple, straight out from the MFC library. AddDocTemplate( new CMultiDocTemplate( IDR_SCRIBTYPE, RUNTIME_CLASS( CScribDoc ), RUNTIME_CLASS( CMDIChildWnd ), RUNTIME_CLASS( CScribView ) ) ); Thanks, Ash
asdasdadadasd
-
I want to open the child application form outside my parent form. I am using MDI application, The way the application currently opening a child form is pretty simple, straight out from the MFC library. AddDocTemplate( new CMultiDocTemplate( IDR_SCRIBTYPE, RUNTIME_CLASS( CScribDoc ), RUNTIME_CLASS( CMDIChildWnd ), RUNTIME_CLASS( CScribView ) ) ); Thanks, Ash
asdasdadadasd
What's the question? There's nothing that resembles a question in there. Multiple monitor support is managed by the operating system, what exactly do you want to be able to do?
-
I want to open the child application form outside my parent form. I am using MDI application, The way the application currently opening a child form is pretty simple, straight out from the MFC library. AddDocTemplate( new CMultiDocTemplate( IDR_SCRIBTYPE, RUNTIME_CLASS( CScribDoc ), RUNTIME_CLASS( CMDIChildWnd ), RUNTIME_CLASS( CScribView ) ) ); Thanks, Ash
asdasdadadasd
You can't do that with a CView derived class, without heavy modification of the MFC code. It's easier to create a non-CView window and write your own linkages to the document class to manage creation and destruction.
-
You can't do that with a CView derived class, without heavy modification of the MFC code. It's easier to create a non-CView window and write your own linkages to the document class to manage creation and destruction.
Sorry if I couldnot make you clear. Question is very simple, currently in our application we are not able to drag the child window outside the main frame window. If I move the main frame window my child window is also moving along with it. So I need to move my child window free out of main window Hope I make it more clear than earlier. Waiting for your reply.
asdasdadadasd
-
What's the question? There's nothing that resembles a question in there. Multiple monitor support is managed by the operating system, what exactly do you want to be able to do?
Sorry if I couldnot make you clear. Question is very simple, currently in our application we are not able to drag the child window outside the main frame window. If I move the main frame window my child window is also moving along with it. So I need to move my child window free out of main window Hope I make it more clear than earlier. Waiting for your reply
asdasdadadasd
-
Sorry if I couldnot make you clear. Question is very simple, currently in our application we are not able to drag the child window outside the main frame window. If I move the main frame window my child window is also moving along with it. So I need to move my child window free out of main window Hope I make it more clear than earlier. Waiting for your reply.
asdasdadadasd
I understood you. MFC doesn't support what you're doing. You'll have to write that yourself. You might base this on the docking technology introduced in 2008/2010.
-
I want to open the child application form outside my parent form. I am using MDI application, The way the application currently opening a child form is pretty simple, straight out from the MFC library. AddDocTemplate( new CMultiDocTemplate( IDR_SCRIBTYPE, RUNTIME_CLASS( CScribDoc ), RUNTIME_CLASS( CMDIChildWnd ), RUNTIME_CLASS( CScribView ) ) ); Thanks, Ash
asdasdadadasd