CWinApp::LoadStandardIcon

HICON LoadStandardIcon( LPCTSTR lpszIconName ) const;

Return Value

A handle to an icon if successful; otherwise NULL.

Parameters

lpszIconName

A manifest constant identifier that specifies a predefined Windows icon. These identifiers are defined in WINDOWS.H. The following list shows the possible predefined values and meanings for lpszIconName:

Remarks

Loads the Windows predefined icon resource that lpszIconName specifies.

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

CWinApp OverviewClass MembersHierarchy Chart

See Also   CWinApp::LoadOEMIcon, CWinApp::LoadIcon, ::LoadIcon