CFileDialog::AddCheckButton

Adds a check button to the dialog.

HRESULT AddCheckButton(
   DWORD dwIDCtl,
   const CString& strLabel,
   BOOL bChecked
);

dwIDCtl

The ID of the check button to add.

strLabel

The check button name.

bChecked

A Boolean indicating the current state of the check button. TRUE if checked; FALSE otherwise

Header: afxdlgs.h

Show: