how to enable a button

This is a discussion on how to enable a button within the C++ Programming forums, part of the General Programming Boards category; I have a button that on creation is disabled using WS_DISABLED but later i need to enable it and I ...

  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, 04: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, 01: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21