I know how to create radio buttons and check boxes, but I need to know....


How can you tell whether they are checked or not?


I know i can have a boolean variable, and wait for the WM_COMMAND message, and set that variable to true. or false when one is checked... but is there a better way?


Thanks,
Dennis