This is not a function that requires bitwise operators--an integer value of 1 indicates a checked state. U might also consider the IsControlChecked function. Mark, I'd suggest u get the fs developer's network documentation, available from the freedom scientific site. It's not wonderbar by any stretch of the imagination, but it does answer basic questions such as a function's return values & sometimes, if you're *really* lucky, even gives the return value's meaning if it isn't clear. On 5/31/08, Mark Matthews <mark.matthews53@xxxxxxx> wrote: > Hi guys, > > I'm wanting to write a piece of code that checks whether or not a checkbox > is checked, and then takes action accordingly. From what I've been able to > find out so far, I need to use the GetControlAttributes function together > with the CTRL_ constants. > > Could someone point me in the right direction on how to achieve this? I've > got a sneaky feeling I'm going to have to use Bitwise operators, which is > something I'm not altogether familiar with. > > Regards, > > Mark > > Mark Matthews > Cardiff, Wales UK > > Email: Mark.Matthews53@xxxxxxx > MSN: mark.matthews53@xxxxxxxxxxxx > Skype: MMatthews1981 > Mobile: 07800 561442 > > __________ > View the list's information and change your settings at > http://www.freelists.org/list/jawsscripts > > -- Jackie McBride Please join my fight against breast cancer <http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489> & Check out my homepage at: www.abletec.serverheaven.net __________ View the list's information and change your settings at http://www.freelists.org/list/jawsscripts