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. How to Display a SDI Application Started with main window hidden

How to Display a SDI Application Started with main window hidden

Scheduled Pinned Locked Moved C / C++ / MFC
c++visual-studiotutorialquestion
3 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.
  • V Offline
    V Offline
    vikrant kpr
    wrote on last edited by
    #1

    Hey Friends I need to start an SDI Application (CFormView Based) Hidden I do not want it to display main window first & then i cann showwindow(sw_hide) In VC++ 6.0 I could do .... AddDocTemplate(pDocTemplate); m_nCmdShow =SW_HIDE; ... but now in VS 2008 it does not works Any clue?

    M 1 Reply Last reply
    0
    • V vikrant kpr

      Hey Friends I need to start an SDI Application (CFormView Based) Hidden I do not want it to display main window first & then i cann showwindow(sw_hide) In VC++ 6.0 I could do .... AddDocTemplate(pDocTemplate); m_nCmdShow =SW_HIDE; ... but now in VS 2008 it does not works Any clue?

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      Don't use the WS_VISIBLE style when creating the window? Mark

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      V 1 Reply Last reply
      0
      • M Mark Salsbery

        Don't use the WS_VISIBLE style when creating the window? Mark

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        V Offline
        V Offline
        vikrant kpr
        wrote on last edited by
        #3

        Thanks will try it is a single document interface type application so will try with CMainFrame & CMyFormView

        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