Re: How can i get the dimensions of an HICON?
- From: "David Liebtag" <DavidLiebtag@xxxxxxxxxxxxx>
- Date: Mon, 28 Jul 2008 19:23:05 -0400
Here's how I do it:
GetIconInfo(Icon,&IconInfo) ;
if(IconInfo.hbmColor) Handle = IconInfo.hbmColor ;
else if(IconInfo.hbmMask) Handle = IconInfo.hbmMask ;
GetObject(Handle,sizeof(BITMAP),&BitmapData) ;
David Liebtag
.
- Follow-Ups:
- Re: How can i get the dimensions of an HICON?
- From: Ian Boyd
- Re: How can i get the dimensions of an HICON?
- From: Ian Boyd
- Re: How can i get the dimensions of an HICON?
- References:
- How can i get the dimensions of an HICON?
- From: Ian Boyd
- How can i get the dimensions of an HICON?
- Prev by Date: LoadImage(LR_LOADFROMFILE) fails with no error
- Next by Date: Re: LoadImage(LR_LOADFROMFILE) fails with no error
- Previous by thread: How can i get the dimensions of an HICON?
- Next by thread: Re: How can i get the dimensions of an HICON?
- Index(es):
Loading