Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Minimize in MDI application

Minimize in MDI application

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anu_Bala
    wrote on last edited by
    #1

    In my MDi applcation,I have mininize and maximize buton in both mainframe and childframe. My problem is: When i minimize the childfrmaes,the minimized one goes away or behind the taskbar(not sure).So again i cannot maximize the childframes. How can i do that? BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs) { if( !CMDIChildWnd::PreCreateWindow(cs) ) return FALSE; return TRUE; } BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) { if( !CMDIFrameWnd::PreCreateWindow(cs) ) return FALSE; return TRUE; } This is my PreCreateWindow coding.

    Anu

    S 1 Reply Last reply
    0
    • A Anu_Bala

      In my MDi applcation,I have mininize and maximize buton in both mainframe and childframe. My problem is: When i minimize the childfrmaes,the minimized one goes away or behind the taskbar(not sure).So again i cannot maximize the childframes. How can i do that? BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs) { if( !CMDIChildWnd::PreCreateWindow(cs) ) return FALSE; return TRUE; } BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) { if( !CMDIFrameWnd::PreCreateWindow(cs) ) return FALSE; return TRUE; } This is my PreCreateWindow coding.

      Anu

      S Offline
      S Offline
      sudhir_Kumar
      wrote on last edited by
      #2

      Child frame are not displayed in Task Bar, When you minimize the child frame they are minimized to Left down cornor of MainFrame window.

      -@SuDhIrKuMaR@-

      A 1 Reply Last reply
      0
      • S sudhir_Kumar

        Child frame are not displayed in Task Bar, When you minimize the child frame they are minimized to Left down cornor of MainFrame window.

        -@SuDhIrKuMaR@-

        A Offline
        A Offline
        Anu_Bala
        wrote on last edited by
        #3

        Ok.SO then how can i maximize again tht childframe.Because i cannot find the minimzed one in anywhere in mainframe..I want to this one.Because i have two or three childframes,so i minimize one window...and maximize the other one. Pls help me out.

        Anu

        S 1 Reply Last reply
        0
        • A Anu_Bala

          Ok.SO then how can i maximize again tht childframe.Because i cannot find the minimzed one in anywhere in mainframe..I want to this one.Because i have two or three childframes,so i minimize one window...and maximize the other one. Pls help me out.

          Anu

          S Offline
          S Offline
          sudhir_Kumar
          wrote on last edited by
          #4

          If you create a sample MDI application. ->Open three childs with three time click on new Menu ->Minimize two and maximixe third one ->After maxize you can not see the other two minimized childs ->Go to Winows menu of Application ->you can see the all three names of the child frame in menu with maximize one as checked state ->you can click on the menu to maximize or see other child frames

          -@SuDhIrKuMaR@-

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups