I've got the following problem: I've made an options dialog with, for each row, some text, and a button, which changes state between ON and OFF via a get request to the server.

Whenever i hover on the button, it gets highlighted with its "hover" state, and when i click it, it gets "clicked" state, and then i release the mouse and it gets normal again. That's exactly what I expect, because it's the normal behavior.

But what I want to do, and this is driving me crazy because I can't find it anywhere, is that the buttons won't respond to my mouse hovering, and clicking, and that I can activate or deactivate the "clicked" state with the server response. How would I accomplish this?

I have tried it, but I don't get the desired result because I use multiple selectable themes, anyway i put the Enabled/Disabled state in a separate image now. Thank you for your answer.
–
TwinoneDec 31 '12 at 14:10