Поделиться через


CWinApp::LoadOEMIcon

Loads the Windows predefined icon resource specified by nIDIcon.

HICON LoadOEMIcon(
   UINT nIDIcon 
) const;

Параметры

  • 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.

Возвращаемое значение

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

См. также

Основные понятия

CWinApp Class

CWinApp Members

Hierarchy Chart

CWinApp::LoadStandardIcon

CWinApp::LoadIcon

LoadIcon