Delen via


COleChangeIconDialog::DoChangeIcon

Call this function to change the icon representing the item to the one selected in the dialog box after DoModal returns IDOK.

BOOL DoChangeIcon( 
   COleClientItem* pItem  
);

Parameters

  • pItem
    Points to the item whose icon is changing.

Return Value

Nonzero if change is successful; otherwise 0.

Requirements

Header: afxodlgs.h

See Also

Reference

COleChangeIconDialog Class

Hierarchy Chart

COleChangeIconDialog::DoModal