What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Thx!] CheckBoxControl/Attributes/Has3States

[Thx!] CheckBoxControl/Attributes/Has3States
Author: Message:
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
RE: [Help] CheckBoxControl/Attributes/Has3States

var BS_CHECKBOX = 0x2
var BM_GETCHECK = 0xF0

var res = Interop.Call("user32", "SendMessageW",  PlusWnd.GetControlHandle("yourcheckbox"), BM_GETCHECK, BS_CHECKBOX, 0)

if res = 0 ..  the checkbox is not checked
if res = 1 .. the checkbox is checked
if res = 2..  the checkbox is "Partial Check"


it works for me :)

This post was edited on 03-18-2007 at 07:27 AM by felipEx.
03-18-2007 03:59 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Thx!] CheckBoxControl/Attributes/Has3States - by Flash on 03-17-2007 at 10:57 PM
RE: [Help] CheckBoxControl/Attributes/Has3States - by Dennis Mike on 03-18-2007 at 01:41 AM
RE: [Help] CheckBoxControl/Attributes/Has3States - by matty on 03-18-2007 at 01:56 AM
RE: [Help] CheckBoxControl/Attributes/Has3States - by Dennis Mike on 03-18-2007 at 01:58 AM
RE: [Help] CheckBoxControl/Attributes/Has3States - by felipEx on 03-18-2007 at 02:37 AM
RE: [Help] CheckBoxControl/Attributes/Has3States - by markee on 03-18-2007 at 03:33 AM
RE: [Help] CheckBoxControl/Attributes/Has3States - by Dennis Mike on 03-18-2007 at 03:36 AM
RE: [Help] CheckBoxControl/Attributes/Has3States - by ShawnZ on 03-18-2007 at 03:47 AM
RE: [Help] CheckBoxControl/Attributes/Has3States - by felipEx on 03-18-2007 at 03:59 AM
RE: [Help] CheckBoxControl/Attributes/Has3States - by Dennis Mike on 03-18-2007 at 04:02 AM
RE: RE: [Help] CheckBoxControl/Attributes/Has3States - by felipEx on 03-18-2007 at 04:07 AM
RE: [Help] CheckBoxControl/Attributes/Has3States - by Flash on 03-18-2007 at 05:57 AM
RE: [Help] CheckBoxControl/Attributes/Has3States - by felipEx on 03-18-2007 at 07:28 AM
RE: [Help] CheckBoxControl/Attributes/Has3States - by Flash on 03-18-2007 at 03:48 PM
RE: [Help] CheckBoxControl/Attributes/Has3States - by felipEx on 03-18-2007 at 04:11 PM
RE: [Help] CheckBoxControl/Attributes/Has3States - by Flash on 03-18-2007 at 04:28 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On