Loads the icon resource named by lpszResourceName or specified by nIDResource from the executable file.
Points to a null-terminated string that contains the name of the icon resource. You can also use a CString for this argument.
ID number of the icon resource.
LoadIcon loads the icon only if it has not been previously loaded; otherwise, it retrieves a handle of the existing resource.
This member function calls the Win32 API function LoadIcon, which can only load an icon whose size conforms to the SM_CXICON and SM_CYICON system metric values.