child window
-
Hi. I have created a MDI with CFormview. I also have created a form in which I want to call from the menu. How do I call this form?
Hi, take a look in the answers I wrote here: http://www.codeproject.com/script/comments/forums.asp?msg=2045188&forumid=1647&XtraIDs=1647&sd=21+Feb+2007&ed=22+May+2007&author=Nelek&stype=1#xx2045188xx[^] and here: http://www.codeproject.com/script/comments/forums.asp?msg=2029429&forumid=1647&ForumID=1647&XtraIDs=1647&author=Nelek&sd=21%20Feb%202007&ed=22%20May%202007&stype=1&Page=3#xx2029429xx[^] It can maybe help you. If not... explain yourself better please.
Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
-
Hi, take a look in the answers I wrote here: http://www.codeproject.com/script/comments/forums.asp?msg=2045188&forumid=1647&XtraIDs=1647&sd=21+Feb+2007&ed=22+May+2007&author=Nelek&stype=1#xx2045188xx[^] and here: http://www.codeproject.com/script/comments/forums.asp?msg=2029429&forumid=1647&ForumID=1647&XtraIDs=1647&author=Nelek&sd=21%20Feb%202007&ed=22%20May%202007&stype=1&Page=3#xx2029429xx[^] It can maybe help you. If not... explain yourself better please.
Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Hi. Sorry if I didn't state the problem clearly. I have a similar problem. I created MDI derived from CFormview. Now, I want to have a new view which I have managed to create by Insert -> Resource -> Dialog -> IDD_FORMVIEW. I have changed the ID to IDD_GRAPH. MDI created 2 menus called IDR_MAINFRAME and IDR_CVTYPE. I have modified IDR_CVTYPE to create another menu entry called 'View'. Under 'View', there is a submenu called 'Graph'. When the user click 'Graph', I want a child window to open with the new view (IDD_GRAPH). The problem is what should I code for the new view (IDD_GRAPH) to open when 'Graph' is clicked?
-
Hi. Sorry if I didn't state the problem clearly. I have a similar problem. I created MDI derived from CFormview. Now, I want to have a new view which I have managed to create by Insert -> Resource -> Dialog -> IDD_FORMVIEW. I have changed the ID to IDD_GRAPH. MDI created 2 menus called IDR_MAINFRAME and IDR_CVTYPE. I have modified IDR_CVTYPE to create another menu entry called 'View'. Under 'View', there is a submenu called 'Graph'. When the user click 'Graph', I want a child window to open with the new view (IDD_GRAPH). The problem is what should I code for the new view (IDD_GRAPH) to open when 'Graph' is clicked?
Hi, have you read the links I gave you??? I have there posted how to create/open/manage the new views. I have a CScrollView to have the project, and when the user makes double click in one element. It then comes the new CFormView in another window to allow the entry of advanced parameters for this concrete element. I have 4 templates (1 CScroll, and 3 different CFormViews) but up to 48 new windows are possible (one per each possible element). Take a look on the code of function "CreateOrActivateFrame ()". This is what I use to open or set focus to an already opened "secondary" view.
Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?