Main frame and Child frame
-
Dear all. Now I doing a project with MFC, so I would like ask you how to call child frame with any location (x, y) in the Main frame. Notice that when I called the child frame No.1, it locates at the left corner of Main frame and when I continue to call the child frame No.2, it appears at the same location of child frame No.2. Thank in advance all.
-
Dear all. Now I doing a project with MFC, so I would like ask you how to call child frame with any location (x, y) in the Main frame. Notice that when I called the child frame No.1, it locates at the left corner of Main frame and when I continue to call the child frame No.2, it appears at the same location of child frame No.2. Thank in advance all.
-
Dear all. Now I doing a project with MFC, so I would like ask you how to call child frame with any location (x, y) in the Main frame. Notice that when I called the child frame No.1, it locates at the left corner of Main frame and when I continue to call the child frame No.2, it appears at the same location of child frame No.2. Thank in advance all.
-
First the child frame will be locate at pixel 0x0 and then call the seconde chid frame at position 320x0. I'm just strt with VC++ so please show me more detail thank very much all
Something like this? CRect WindowRect; pChildFrameWnd1->GetWindowRect(&WindowRect); pChildFrameWnd1->MoveWindow(0, 0, WindowRect.Width(), WindowRect.Height()); pChildFrameWnd2->GetWindowRect(&WindowRect); pChildFrameWnd2->MoveWindow(320, 0, WindowRect.Width(), WindowRect.Height()); Mark
"If you can dodge a wrench, you can dodge a ball."