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 can i run my dialog in max. mode?

How can i run my dialog in max. mode?

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

    Hey guys, maybe an easy question... ;P i want to start my programm in maximized mode, how can i do this? i think it´s working with SIZE_MAXIMIZED but i don´t know where and how to use it. Thanks in advance Pascal Rexer

    D P 2 Replies Last reply
    0
    • P P Rex

      Hey guys, maybe an easy question... ;P i want to start my programm in maximized mode, how can i do this? i think it´s working with SIZE_MAXIMIZED but i don´t know where and how to use it. Thanks in advance Pascal Rexer

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

      In the OnInitDialog() method, post a WM_SYSCOMMAND message with SC_MAXIMIZE in wParam. Or you can call ShowWindow(SW_SHOWMAXIMIZED).


      A rich person is not the one who has the most, but the one that needs the least.

      1 Reply Last reply
      0
      • P P Rex

        Hey guys, maybe an easy question... ;P i want to start my programm in maximized mode, how can i do this? i think it´s working with SIZE_MAXIMIZED but i don´t know where and how to use it. Thanks in advance Pascal Rexer

        P Offline
        P Offline
        P Rex
        wrote on last edited by
        #3

        Thanks for help :)

        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