For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > February 2005 > Is there any way to load gif or jpeg as bitmap?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Is there any way to load gif or jpeg as bitmap?
Pessimist

2005-01-23, 4:04 pm

LoadBitmap supports only BMP

riki

2005-01-23, 4:04 pm

Pessimist wrote:
> LoadBitmap supports only BMP
>

SHLoadImage() see:
http://msdn.microsoft.com/library/d...adimagefile.asp

riki


If we are what we eat, then I'm easy, fast, and cheap.
By Night:
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
By Day: http://www.EmbeddedFusion.com
Pessimist

2005-01-23, 4:04 pm

Thank You. This works fine.

It's strange, but this function described only for PocketPC SDK but not for
Smartphone SDK. May be Microsoft simple forgot about this one.

riki

2005-01-23, 4:04 pm

Pessimist wrote:
> Thank You. This works fine.
>
> It's strange, but this function described only for PocketPC SDK but not for
> Smartphone SDK. May be Microsoft simple forgot about this one.

yeah it's a bit "undocumented" but it does exist on both.

and it's SHLoadImageFile not SHLoadImage() as i origionally wrote - oops.

riki

Shh. Be vewy quiet, I'm hunting wuntime ewwows
By Night:
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
By Day: http://www.EmbeddedFusion.com
Steve Meredith [MS]

2005-01-27, 3:58 am

I have requested that the documentation on this function be improved.

-Steve [MSFT]

--
This posting is provided "AS IS" with no warranties, and confers no rights.


"riki" <see_my_home@page> wrote in message
news:OxOdc7f$EHA.3336@TK2MSFTNGP11.phx.gbl...
> Pessimist wrote:
> yeah it's a bit "undocumented" but it does exist on both.
>
> and it's SHLoadImageFile not SHLoadImage() as i origionally wrote - oops.
>
> riki
>
> Shh. Be vewy quiet, I'm hunting wuntime ewwows
> By Night:
> ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
> AbstractStart for Smartphone :
> http://homepages.inspire.net.nz/~gambit/AbstractStart/
> By Day: http://www.EmbeddedFusion.com



HomerS

2005-02-18, 3:23 am

Does it displays transparent gif correct?
quote:
Originally posted by riki
Pessimist wrote:
> LoadBitmap supports only BMP
>

SHLoadImage() see:
http://msdn.microsoft.com/library/d...adimagefile.asp

riki


If we are what we eat, then I'm easy, fast, and cheap.
By Night:
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
By Day: http://www.EmbeddedFusion.com

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com