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 cover MDI view screen??

How to cover MDI view screen??

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
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.
  • M Offline
    M Offline
    mr2003
    wrote on last edited by
    #1

    Hi, I have a MDI program, and I would like to cover the view screen at the startup; Meaning, at the startup I only want the toolbar and menu bar to be shown Ehsan Behboudi

    T 1 Reply Last reply
    0
    • M mr2003

      Hi, I have a MDI program, and I would like to cover the view screen at the startup; Meaning, at the startup I only want the toolbar and menu bar to be shown Ehsan Behboudi

      T Offline
      T Offline
      TSchind
      wrote on last edited by
      #2

      like this in InitInstance: // DON'T display a new MDI child window during startup!!! cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing; if (!ProcessShellCommand(cmdInfo)) return FALSE;

      M 2 Replies Last reply
      0
      • T TSchind

        like this in InitInstance: // DON'T display a new MDI child window during startup!!! cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing; if (!ProcessShellCommand(cmdInfo)) return FALSE;

        M Offline
        M Offline
        mr2003
        wrote on last edited by
        #3

        where do I add the code? should i add it in PreCreateWindow(CREATESTRUCT& cs) ??? Ehsan Behboudi

        1 Reply Last reply
        0
        • T TSchind

          like this in InitInstance: // DON'T display a new MDI child window during startup!!! cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing; if (!ProcessShellCommand(cmdInfo)) return FALSE;

          M Offline
          M Offline
          mr2003
          wrote on last edited by
          #4

          how do I add Initinstance Ehsan Behboudi

          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