Does anyone know how to unable a button? like what funktion do i have to use? thankx
~tare
Does anyone know how to unable a button? like what funktion do i have to use? thankx
~tare
Yo,
EnableWindow(), check with msdn but it should look somthing like this i think:
Code:EnableWindow(hWndBtn, FALSE);
"...something like that i think." hmmm are you sure? i tried it and it didnt work... but iam still trying. lata
~tare
AHHHHHH i dont get it to work.. could someone write me an example? PLEASE!!!!!!!!!!
Please don't bump your own threads, doing so is against the rules and may result in your thread being deleted.
The hint that TNT gave you is fine, as was the syntax. What error did it give you?
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
What? i was just asking if someone, who has the knowlege and the time, could write me an example. if that is against the rules iam sorry for asking. i'll find it out ma self. thanks anyways.
~tare
>>> if that is against the rules iam sorry for asking.
Asking questions is, of course, not against the rules, bumping your own threads is. There is a message at the top of each forum which states that.
As for your problem, I did ask what error you were getting...
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
Make sure you call a paint after enable/disable of the button. (with UpdateWindow() or InvalidateRect() )
"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