quote:Originally posted by Eljay quote:Originally posted by vikke Actually it would be: Enable: code:Interop.Call("user32", "EnableWindow", PlusWnd.GetControlHandle("YourControl"), true);Disable: code:Interop.Call("user32", "EnableWindow", PlusWnd.GetControlHandle("YourControl"), false);Because it's a BOOL over at MSDN quote:Originally posted by windef.h #define FALSE 0 #define TRUE 1
quote:Originally posted by vikke Actually it would be: Enable: code:Interop.Call("user32", "EnableWindow", PlusWnd.GetControlHandle("YourControl"), true);Disable: code:Interop.Call("user32", "EnableWindow", PlusWnd.GetControlHandle("YourControl"), false);Because it's a BOOL over at MSDN
code:Interop.Call("user32", "EnableWindow", PlusWnd.GetControlHandle("YourControl"), true);
code:Interop.Call("user32", "EnableWindow", PlusWnd.GetControlHandle("YourControl"), false);
quote:Originally posted by windef.h #define FALSE 0 #define TRUE 1