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. display window in full screen format

display window in full screen format

Scheduled Pinned Locked Moved C / C++ / MFC
graphicsarchitecture
6 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.
  • L Offline
    L Offline
    laiju
    wrote on last edited by
    #1

    I am using MDI Doc- View architecture. I want to display a new window( Not an MDI Child Window) in full screen format so that i can display GDI information on this window.This new window should close/destroy on mouse click or keyboard hit. Can anyone give me some laiju

    D V 2 Replies Last reply
    0
    • L laiju

      I am using MDI Doc- View architecture. I want to display a new window( Not an MDI Child Window) in full screen format so that i can display GDI information on this window.This new window should close/destroy on mouse click or keyboard hit. Can anyone give me some laiju

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      laiju wrote: I want to display a new window( Not an MDI Child Window) in full screen... Look near the bottom of the app's InitInstance() method. There is a call to ShowWindow() there that you can change.


      "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

      L 1 Reply Last reply
      0
      • L laiju

        I am using MDI Doc- View architecture. I want to display a new window( Not an MDI Child Window) in full screen format so that i can display GDI information on this window.This new window should close/destroy on mouse click or keyboard hit. Can anyone give me some laiju

        V Offline
        V Offline
        vensatren
        wrote on last edited by
        #3

        You have to use ShowWindow(SW_SHOWMAXIMIZED);

        L 1 Reply Last reply
        0
        • D David Crow

          laiju wrote: I want to display a new window( Not an MDI Child Window) in full screen... Look near the bottom of the app's InitInstance() method. There is a call to ShowWindow() there that you can change.


          "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

          L Offline
          L Offline
          laiju
          wrote on last edited by
          #4

          thanx..how do i restore this window into its previous state on mouse click or keyboard hit. laiju

          D 1 Reply Last reply
          0
          • V vensatren

            You have to use ShowWindow(SW_SHOWMAXIMIZED);

            L Offline
            L Offline
            laiju
            wrote on last edited by
            #5

            thanx..how do i restore this window into its previous state on mouse click or keyboard hit. laiju

            1 Reply Last reply
            0
            • L laiju

              thanx..how do i restore this window into its previous state on mouse click or keyboard hit. laiju

              D Offline
              D Offline
              David Crow
              wrote on last edited by
              #6

              You'll need to save the frame's initial size with GetWindowRect().


              "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

              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