Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- M E W E L - <b>int pascal checkdialogitem(hdlg hdlg, int id, int state)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
int pascal CheckDialogItem(HDLG hDlg, int id, int state)

  This function checks or unchecks a button control contained within a
dialog box. This function should be used to control checkboxes, and
CheckRadioButton() should be used to control radio buttons.

Parameters
  hDlg is the handle of the dialog box which contains the specified control.
  id is the identifier of the control that we want to query. (The id
   is not the same thing as the handle.)
  state is TRUE if the control should be checked, FALSE if the control
   should be cleared.

Returns
  TRUE if the operation was successful, FALSE if not.

Example

   CheckDialogItem(hDlg, ID_YELLOW, TRUE);

See Also: CheckRadioButton

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