Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Loads the Windows predefined icon resource that lpszIconName specifies.

HICON LoadStandardIcon( 
   LPCTSTR lpszIconName  
) const;


A manifest constant identifier that specifies a predefined Windows icon. These identifiers are defined in WINDOWS.H. For a list of the possible predefined values and their descriptions, see the lpIconName parameter in LoadIcon in the Windows SDK.

A handle to an icon if successful; otherwise NULL.

Use the LoadStandardIcon or LoadOEMIcon member function to access the predefined Windows icons.

Header: afxwin.h

© 2015 Microsoft