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. DavidCrow does't know this any one knows this?

DavidCrow does't know this any one knows this?

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
5 Posts 5 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.
  • K Offline
    K Offline
    kriaz
    wrote on last edited by
    #1

    I want to remove Close button "X" from the right corner of Dialog, but still want to keep the system menu at the left corner. Unchecking the system menu option from dialog properties also removes the menu at left. Plz Help.:confused: kriaz.

    A M A J 4 Replies Last reply
    0
    • K kriaz

      I want to remove Close button "X" from the right corner of Dialog, but still want to keep the system menu at the left corner. Unchecking the system menu option from dialog properties also removes the menu at left. Plz Help.:confused: kriaz.

      A Offline
      A Offline
      alex barylski
      wrote on last edited by
      #2

      If you can't figure out that it's an non-trivial task to "remove" the close button entirely, your probably best just giving up. Check CS_NOCLOSE in the WNDCLASS structure...I think that's as close as you'll get without some serious hacking (probably have to draw your own caption bar, non-client area, etc...lots of work!!! p.s-I personally can't say I appreciate you announcing the fact he wasn't able to give you the answer you wanted. If you did that to me...i'd be choked!!! How do I print my voice mail?

      1 Reply Last reply
      0
      • K kriaz

        I want to remove Close button "X" from the right corner of Dialog, but still want to keep the system menu at the left corner. Unchecking the system menu option from dialog properties also removes the menu at left. Plz Help.:confused: kriaz.

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

        well, you posted your message on friday ... kind of a bad timing ... and I don't know either.


        Maximilien Lincourt Your Head A Splode - Strong Bad

        1 Reply Last reply
        0
        • K kriaz

          I want to remove Close button "X" from the right corner of Dialog, but still want to keep the system menu at the left corner. Unchecking the system menu option from dialog properties also removes the menu at left. Plz Help.:confused: kriaz.

          A Offline
          A Offline
          Antony M Kancidrowski
          wrote on last edited by
          #4

          :wtf: Bad form. David is a very knowledgable man. He has helped many people on this forum. And yes I include myself in the list. Ant. I'm hard, yet soft.
          I'm coloured, yet clear.
          I'm fruity and sweet.
          I'm jelly, what am I? Muse on it further, I shall return!
          - David Williams (Little Britain)

          1 Reply Last reply
          0
          • K kriaz

            I want to remove Close button "X" from the right corner of Dialog, but still want to keep the system menu at the left corner. Unchecking the system menu option from dialog properties also removes the menu at left. Plz Help.:confused: kriaz.

            J Offline
            J Offline
            Jeremy Falcon
            wrote on last edited by
            #5

            Well, since you're gonna act like that... I'll tell ya, but for a fee. Now, if you want free advice, I suggest you quit whining like a spoiled brat. You'll improve your chances of getting it. Jeremy Falcon

            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