Disabling

This is a discussion on Disabling within the Windows Programming forums, part of the Platform Specific Boards category; Hi! What messages i must send to disable the button and trackbar controls please? Thanx in advance for any help....

  1. #1
    Android
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    362

    Disabling

    Hi!
    What messages i must send to disable the button and trackbar controls please?

    Thanx in advance for any help.
    Some useless programs i've wrote : slprogrammersheaven
    Youtube: http://www.youtube.com/user/geekyzine
    My amature IT Blog: http://everything-geeky.blogspot.com/
    My Flash games: http://flashweed.blogspot.com/

    (and, sorry for my amature english)

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,856
    EnableWindow() will 'gray' out the control.
    ShowWindow() will make the control invisible.

    GetDlgItem(hWindow,MAKEINTRESOURCE(ID_CONTROL)); may help
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  3. #3
    Android
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    362
    will try that. thanx.
    Some useless programs i've wrote : slprogrammersheaven
    Youtube: http://www.youtube.com/user/geekyzine
    My amature IT Blog: http://everything-geeky.blogspot.com/
    My Flash games: http://flashweed.blogspot.com/

    (and, sorry for my amature english)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. disabling ALL keys?
    By elfjuice in forum C++ Programming
    Replies: 2
    Last Post: 04-30-2005, 02:58 PM
  2. Disabling Some Autoscroll Functionality
    By McClamm in forum C# Programming
    Replies: 3
    Last Post: 09-10-2004, 01:36 PM
  3. Disabling a listitem
    By knutso in forum Windows Programming
    Replies: 3
    Last Post: 02-21-2004, 09:39 PM
  4. disabling system keys in a windows console
    By Shadow in forum Windows Programming
    Replies: 3
    Last Post: 06-23-2002, 07:06 PM
  5. MFC Radio-Buttons Disabling
    By The Dog in forum Windows Programming
    Replies: 0
    Last Post: 06-09-2002, 02:54 PM

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