Sorry to bump this, but has anyone got an answer for question number 2?
IS there a function to enable/disable buttons on a window?
At the moment im using the following code to enable a button:
code:
var btnReplyWnd;
btnReplyWnd = wndResp.GetControlHandle("BtnReply");
Interop.Call("User32","EnableWindow", btnReplyWnd, 1);
(1 is to enable, 0 is to disable)
but I'd like to know if there's an easier way?
Any help appreciated