Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


Loads the Windows predefined icon resource specified by nIDIcon.

   UINT nIDIcon  
) const;


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.

A handle to an icon if successful; otherwise NULL.

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

Header: afxwin.h

© 2015 Microsoft