CWinApp::LoadOEMIcon

CWinApp::LoadOEMIcon

HICON LoadOEMIcon( UINT nIDIcon ) const;

Return Value

A handle to an icon if successful; otherwise NULL.

Parameters

nIDIcon

An OIC_ manifest constant identifier that specifies a predefined Windows icon. You must have #define OEMRESOURCE before #include <afxwin.h> to access the OIC_ constants in WINDOWS.H.

Remarks

Loads the Windows predefined icon resource specified by nIDIcon.

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

CWinApp Overview |  Class Members |  Hierarchy Chart

See Also   CWinApp::LoadStandardIcon, CWinApp::LoadIcon, ::LoadIcon