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. cannot add maximum and minimum button

cannot add maximum and minimum button

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

    I have a dialog. I set these properties:

    System Menu = True
    Maximize Box = True
    Mimimize Box = True

    The dialog just show a close button, but not show maximize button and minimize button. I thoght that I miss some other properties? Can anyone tell me what's wrong here?

    N 1 Reply Last reply
    0
    • T tataxin

      I have a dialog. I set these properties:

      System Menu = True
      Maximize Box = True
      Mimimize Box = True

      The dialog just show a close button, but not show maximize button and minimize button. I thoght that I miss some other properties? Can anyone tell me what's wrong here?

      N Offline
      N Offline
      Nibu babu thomas
      wrote on last edited by
      #2

      tataxin wrote:

      The dialog just show a close button, but not show maximize button and minimize button. I thoght that I miss some other properties? Can anyone tell me what's wrong here?

      These should be enough. I face such problems mainly because my resource dll does not get compiled as dependency is not set on it, it is compiled on request only. So make sure the resource file is getting compiled. Another possibility to check is whether these styles are being dynamically removed or not.

      Nibu babu thomas Microsoft MVP for VC++ Code must be written to be read, not by the compiler, but by another human being. Programming Blog: http://nibuthomas.wordpress.com

      T 1 Reply Last reply
      0
      • N Nibu babu thomas

        tataxin wrote:

        The dialog just show a close button, but not show maximize button and minimize button. I thoght that I miss some other properties? Can anyone tell me what's wrong here?

        These should be enough. I face such problems mainly because my resource dll does not get compiled as dependency is not set on it, it is compiled on request only. So make sure the resource file is getting compiled. Another possibility to check is whether these styles are being dynamically removed or not.

        Nibu babu thomas Microsoft MVP for VC++ Code must be written to be read, not by the compiler, but by another human being. Programming Blog: http://nibuthomas.wordpress.com

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

        I found it!!! The property Tool Window must be False. Thank you, Nibu babu thomas,

        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