Thread: how to enable a button

  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    8

    how to enable a button

    I have a button that on creation is disabled using WS_DISABLED but later i need to enable it and I have no clue how to do it.

    Help, please.

  2. #2
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    EnableWindow(hWnd, TRUE);

    This should be in the Windows Programming board, not this one.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbee Q: reg. MFC dlg button & Vista UAC shield icon
    By colbyringeisen in forum Windows Programming
    Replies: 3
    Last Post: 12-29-2008, 05:16 PM
  2. Replies: 2
    Last Post: 06-28-2008, 08:30 PM
  3. elliptical button
    By geek@02 in forum Windows Programming
    Replies: 0
    Last Post: 11-21-2006, 02:15 AM
  4. writing text over a deleted button
    By algi in forum Windows Programming
    Replies: 4
    Last Post: 05-02-2005, 11:32 AM
  5. Window won't display on button command!?
    By psychopath in forum Windows Programming
    Replies: 6
    Last Post: 06-22-2004, 08:12 PM