please dont rip this site Prev Next

GetIconInfo info  Overview  Group

The GetIconInfo function retrieves information about the specified icon or cursor.

BOOL GetIconInfo(

    HICON hIcon,

// icon handle

    PICONINFO piconinfo 

// address of icon structure

   );

Parameters

hIcon
Identifies the icon or cursor. To retrieve information about a standard icon or cursor, specify one of the following values:

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

 

piconinfo
Points to an ICONINFO structure. The function fills in the structure’s members.

Return Values

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.

Remarks

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.

See Also

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/27 23:40,
TOP NEW HELP FIND: 
18.224.56.127: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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/techref/os/win/api/win32/func/src/f33.htm"> GetIconInfo</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .