Partilhar via


CFileDialog::AddCheckButton

Adds a check button to the dialog.

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

Parameters

  • 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

Requirements

Header: afxdlgs.h

See Also

Reference

CFileDialog Class