Share via


CFileDialog::AddControlItem

Adds an item to a container control in the dialog.

HRESULT AddControlItem(
   DWORD dwIDCtl,
   DWORD dwIDItem,
   const CString& strLabel
);

Parameters

  • dwIDCtl
    The ID of the container control to add the item to.

  • dwIDItem
    The ID of the item.

  • strLabel
    Item's text.

Requirements

Header: afxdlgs.h

See Also

Reference

CFileDialog Class