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. set dialog to no max or no change of size

set dialog to no max or no change of size

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
3 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.
  • W Offline
    W Offline
    waxie
    wrote on last edited by
    #1

    Hi, How can you set that your dialog box's size cannot be changed anymore upon load? (cannot be maximized). I've already removed the maximize and minimize buttons but it still maximizes. Can anyone help me? I'm using mfc. Thanks a lot. waxie

    R T 2 Replies Last reply
    0
    • W waxie

      Hi, How can you set that your dialog box's size cannot be changed anymore upon load? (cannot be maximized). I've already removed the maximize and minimize buttons but it still maximizes. Can anyone help me? I'm using mfc. Thanks a lot. waxie

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

      Intercept the WM_SHOWWINDOW message, and only allow SW_SHOW and SW_HIDE as parameter for a base class call. ~RaGE();

      1 Reply Last reply
      0
      • W waxie

        Hi, How can you set that your dialog box's size cannot be changed anymore upon load? (cannot be maximized). I've already removed the maximize and minimize buttons but it still maximizes. Can anyone help me? I'm using mfc. Thanks a lot. waxie

        T Offline
        T Offline
        toxcct
        wrote on last edited by
        #3

        in the design editor on your dialogBox, check the properties...


        TOXCCT >>> GEII power
        [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]

        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