Hi i'm trying to input a question in a window program. The box can either be pressed or not pressed but how do i find out what state it is in (pressed or not). I got some help from another web page but the example they gave me only let you tick the box and untick it:
//create a push button
CreateWindowEx(0, //more or 'extended' styles
TEXT("BUTTON"), //'class' of control to create
TEXT("PUSH BUTTON"), //the control caption
WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON, //control style: how it looks
10, //control position: left
50, //control position: top
200, //control width
30, //control height
hwnd, //parent window handle
NULL, //control's ID
hInst, //application instance
Please Help.
Thanks Jamazon