COleChangeIconDialog::COleChangeIconDialog
COleChangeIconDialog(COleClientItem* pItem, DWORDdwFlags**=CIF_SELECTCURRENT**, CWnd* pParentWnd**=NULL);**
Parameters
pItem
Points to the item to be converted.
dwFlags
Creation flag, which contains any number of the following values combined using the bitwise-or operator:
CIF_SELECTCURRENT Specifies that the Current radio button will be selected initially when the dialog box is called. This is the default.
CIF_SELECTDEFAULT Specifies that the Default radio button will be selected initially when the dialog box is called.
CIF_SELECTFROMFILE Specifies that the From File radio button will be selected initially when the dialog box is called.
CIF_SHOWHELP Specifies that the Help button will be displayed when the dialog box is called.
CIF_USEICONEXE Specifies that the icon should be extracted from the executable specified in the szIconExe field of m_ci instead of retrieved from the type. This is useful for embedding or linking to non-OLE files.
pParentWnd
Points to the parent or owner window object (of type CWnd) to which the dialog object belongs. If it is NULL, the parent window of the dialog box will be set to the main application window.
Remarks
This function constructs only a COleChangeIconDialog object. To display the dialog box, call the DoModal function.
For more information, see the structure in the OLE 2.01 User Interface Library.
COleChangeIconDialog Overview | Class Members | Hierarchy Chart
See Also COleClientItem, COleChangeIconDialog::DoModal