Eljay
Elite Member
:O
Posts: 2949 Reputation: 77
– / / –
Joined: May 2004
|
RE: Scripting API Wishlist
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
|
|