quote:
Originally posted by fatfreechicken
H
At the moment I'm using the following code to enable a button:
code:
var btnReplyWnd;
btnReplyWnd = wndResp.GetControlHandle("BtnReply"); //get the buttons handle
Interop.Call("User32","EnableWindow", btnReplyWnd, 1); //enable button
(change the 1 to 0 to disable)
Yes, I use this method as well and it does work on all controls.