The GetIconInfo function retrieves information about the specified icon or cursor.
BOOL GetIconInfo(
HICON hIcon, |
// icon handle |
PICONINFO piconinfo |
// address of icon structure |
); |
Value |
Meaning |
IDC_ARROW |
Arrow cursor |
IDC_IBEAM |
I-beam cursor |
IDC_WAIT |
Hourglass cursor |
IDC_CROSS |
Crosshair cursor |
IDC_UPARROW |
Up arrow cursor |
IDC_SIZENWSE |
Sizing cursor, points northwest and southeast |
IDC_SIZENESW |
Sizeing cursor, points northeast and southwest |
IDC_SIZEWE |
Sizing cursor, points west and east |
IDC_SIZENS |
Sizing cursor, points north and south |
IDC_SIZEALL |
Sizing cursor, points north, south, east, and west |
IDC_NO |
“No” cursor |
IDC_APPSTARTING |
Application-starting cursor (arrow and hourglass) |
IDC_HELP |
Help cursor (arrow and question mark) |
IDI_APPLICATION |
Application icon |
IDI_HAND |
Stop sign icon |
IDI_QUESTION |
Question-mark icon |
IDI_EXCLAMATION |
Exclamation point icon |
IDI_ASTERISK |
Asterisk icon (letter “i” in a circle) |
IDI_WINLOGO |
Windows logo icon |
If the function succeeds, the return value is nonzero and the function fills in the members of the specified ICONINFO structure.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
GetIconInfo creates bitmaps for the hbmMask and hbmColor members of ICONINFO. The calling application must manage these bitmaps and delete them when they are no longer necessary.
CreateIcon, CreateIconFromResource, CreateIconIndirect, DestroyIcon, DrawIcon, DrawIconEx, ICONINFO, LoadIcon, LookupIconIdFromDirectory
file: /Techref/os/win/api/win32/func/src/f33.htm, 6KB, , updated: 2001/6/25 06:33, local time: 2024/11/26 10:43,
18.223.210.249:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/Techref/os/win/api/win32/func/src/f33.htm"> GetIconInfo</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.