Ramel,

Thanks for the information.

Mike

> ----------
> From:         Ramel Levin[SMTP:[EMAIL PROTECTED]]
> Reply To:     [EMAIL PROTECTED]
> Sent:         Friday, January 07, 2000 7:47 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Icon in form
> 
>  BitmapPtr pBmp;
> 
>  inBmpHdl = ::DmGet1Resource('tAIB', iconType == kBigIcon ? 1000 : 1001);
> 
>  if (inBmpHdl != NULL) {
>   pBmp = (BitmapPtr)MemHandleLock(inBmpHdl);
>   if(pBmp != NULL) {
>    WinDrawBitmap(pBmp, inLeft, inTop);
>       MemHandleUnlock(inBmpHdl);
>   }
>   DmReleaseResource(inBmpHdl);
>  }
> 
> R.
> 
> ----- Original Message -----
> From: McCollister, Mike <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, January 07, 2000 2:21 PM
> Subject: Icon in form
> 
> 
> > Hi,
> >
> > I would like to put the icon bitmap in a form. Right now the only what I
> > know how to do it is to create a new bitmap that just happens to be the
> icon
> > and then include that bitmap in the form. This seems such a waste since
> I
> > already have the icon bitmap in my resource file. Any idea on how to do
> > this?
> >
> > By the way, I am using gcc and PilRC 2.4.
> >
> > Thanks,
> >
> > Mike McCollister
> 

Reply via email to