Thread: Disabling

  1. #1
    Android geek@02's Avatar
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    470

    Disabling

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

    Thanx in advance for any help.
    GameJolt: https://gamejolt.com/@KasunL
    Game Development Youtube:
    https://is.gd/XyhYoP
    Amateur IT Blog: http://everything-geeky.blogspot.com/



    (and, sorry for my amateur English)

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    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 geek@02's Avatar
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    470
    will try that. thanx.
    GameJolt: https://gamejolt.com/@KasunL
    Game Development Youtube:
    https://is.gd/XyhYoP
    Amateur IT Blog: http://everything-geeky.blogspot.com/



    (and, sorry for my amateur 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, 10: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