Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the window's large or small icon to the icon identified by hIcon.
HICON SetIcon(
HICON hIcon,
BOOL bBigIcon = TRUE
) throw();
Parameters
hIcon
[in] The handle to a new icon.bBigIcon
[in] If TRUE (the default value), the method sets a large icon. Otherwise, it sets a small icon.
Return Value
The handle to the previous icon.
Remarks
SetIcon sends a WM_SETICON message to the window.
Requirements
Header: atlwin.h