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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Disabling buttons

Disabling buttons

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

    How do I disable a pushbutton in a dialog?? I've been round-and-round through MSDN. It can't really be that hard, can it?? ~Cam Desautels (BinaryUprising.com)

    M 1 Reply Last reply
    0
    • C Cam

      How do I disable a pushbutton in a dialog?? I've been round-and-round through MSDN. It can't really be that hard, can it?? ~Cam Desautels (BinaryUprising.com)

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      EnableWindow ( hwndControl, FALSE ); --Mike-- http://home.inreach.com/mdunn/ "Not our fault we are intellectually superior to the rest of the office." -- Paul Watson in the Lounge, 12/12/2001 Sonork - 100.10414 AcidHelm

      N 1 Reply Last reply
      0
      • M Michael Dunn

        EnableWindow ( hwndControl, FALSE ); --Mike-- http://home.inreach.com/mdunn/ "Not our fault we are intellectually superior to the rest of the office." -- Paul Watson in the Lounge, 12/12/2001 Sonork - 100.10414 AcidHelm

        N Offline
        N Offline
        Nish Nishant
        wrote on last edited by
        #3

        or from MFC:- CWnd::EnableWindow (false/true) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

        C 1 Reply Last reply
        0
        • N Nish Nishant

          or from MFC:- CWnd::EnableWindow (false/true) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

          C Offline
          C Offline
          Cam
          wrote on last edited by
          #4

          Oh, thank you, guys. It had to be simple. ~Cam Desautels (BinaryUprising.com)

          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