Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>isdlgbuttonchecked</b> is button control checked or grayed http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
IsDlgButtonChecked   Is Button Control Checked Or Grayed

WORD IsDlgButtonChecked(hDlg, nIDButton)
HDLG hDlg;
int nIDButton;

Returns:

                    Two State        Three State
                |----------------+----------------|
                |== 0 Not Checked|0 == Not Checked|
                |!= 0 Checked    |1 == Checked    |
                |                |2 == Grayed     |
                +---------------------------------+

Note:       Sends BM_GETCHECK to button control.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson