CFileDialog::SetCheckButtonState
Sets the current state of a check button (check box) in the dialog.
HRESULT SetCheckButtonState(
DWORD dwIDCtl,
BOOL bChecked
);
Parameters
dwIDCtl
The ID of the check box.bChecked
The state of the check box. TRUE indicates checked; FALSE indicates Unchecked.
Requirements
Header: afxdlgs.h