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. sdi app starts minimized

sdi app starts minimized

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 Posts 3 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.
  • B Offline
    B Offline
    bryce
    wrote on last edited by
    #1

    hey my sdi ap starts off by mimising itself and i can't see why (i even so a showwindow sw_maximixed in by view's oninitialupdate) anyone got any thoguhts? Cheerypip Bryce

    R S 2 Replies Last reply
    0
    • B bryce

      hey my sdi ap starts off by mimising itself and i can't see why (i even so a showwindow sw_maximixed in by view's oninitialupdate) anyone got any thoguhts? Cheerypip Bryce

      R Offline
      R Offline
      ROK_RShadow
      wrote on last edited by
      #2

      I am no expert, but I belive that you would need to overide the showwindow function in your MainFrame class.. not the views..

      1 Reply Last reply
      0
      • B bryce

        hey my sdi ap starts off by mimising itself and i can't see why (i even so a showwindow sw_maximixed in by view's oninitialupdate) anyone got any thoguhts? Cheerypip Bryce

        S Offline
        S Offline
        sulaxan
        wrote on last edited by
        #3

        hey get the Mainframe pointer in InitInstance() of AppClass and do as follow pMainFrame->ShowWindow(m_nCmdShow|SW_SHOWMAXIMIZED); it shud work now nice time Adi narayana

        B 1 Reply Last reply
        0
        • S sulaxan

          hey get the Mainframe pointer in InitInstance() of AppClass and do as follow pMainFrame->ShowWindow(m_nCmdShow|SW_SHOWMAXIMIZED); it shud work now nice time Adi narayana

          B Offline
          B Offline
          bryce
          wrote on last edited by
          #4

          duuuh of course *feels like a plonker* cheers for that Bryce

          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