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 07:33, local time: 2024/8/23 06:20,
18.224.59.57: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://piclist.com/tecHREF/os/win/api/win32/func/src/f33.htm"> GetIconInfo</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to piclist.com! |
.