quote:Originally posted by Dennis Mike felipex say how to set the checkbox status "Partial Check"? PlusWnd.SendControlMessage(controlid, 0xF1, 2, 0)
quote:var BM_GETSTATE = 0xF2 var BS_CHECKBOX = 0x2 var res = Interop.Call("user32", "SendMessageW", PlusWnd.GetControlHandle("yourcheckbox"), BM_GETCHECK,BS_CHECKBOX, 0)
code:function ClickCheck(w,c,n) { if (n == null) return w.SendControlMessage(c, 0xF0,0x2, 0) else if (n < 2){ w.Button_SetCheckState(c,(n == 1)?true:false) } else w.SendControlMessage(c, 0xF1,0x2, 0); }