From: Ajay Kalra on
I think OleLoadPicture(Orginal CPicture by Paul) does not support TIFF but
GDI+ does. So its possible that newer CPicture by Paul may support it.

--
Ajay Kalra [MVP - VC++]
ajaykalra(a)yahoo.com


"Ajay Kalra" <ajaykalra(a)yahoo.com> wrote in message
news:#DXVoNSzGHA.4044(a)TK2MSFTNGP04.phx.gbl...
> I believe one of the formats is not supported by IOlePicture/GDI+. I
believe
> it was TIF or something major.
>
> --
> Ajay Kalra [MVP - VC++]
> ajaykalra(a)yahoo.com
>
>
> "Tom Serface" <tserface(a)msn.com> wrote in message
> news:OtmqYLSzGHA.3424(a)TK2MSFTNGP03.phx.gbl...
> > I use Paul's CPicture class in a couple of applications and it works
> great.
> > It's really fast and supports any graphic format that Internet Explorer
> > supports.
> >
> > Tom
> >
> > "David Ching" <dc(a)remove-this.dcsoft.com> wrote in message
> > news:L5EJg.13086$%j7.8007(a)newssvr29.news.prodigy.net...
> > > "Ajay Kalra" <ajaykalra(a)yahoo.com> wrote in message
> > > news:e0fpdcRzGHA.4368(a)TK2MSFTNGP02.phx.gbl...
> > >>> Paul has written actually two CPicture classes, one uses
> OleLoadPicture
> > >> (the
> > >>> one you want), the other uses GDI+.
> > >>>
> > >>
> > >> I missed the one which uses GDI+. Was it in MSDN as well?
> > >>
> > >
> > > Hmm, I purchased Paul's PixieLib library, and the GDI+ CPicture was
part
> > > of that. I don't know if it ever made it into an MSDN column.
> > >
> > > -- David
> > >
> > >
> >
> >
>
>


From: Tom Serface on
Could be. To be honest that's one type of graphic I haven't tried to
display on a dialog.

Tom

"Ajay Kalra" <ajaykalra(a)yahoo.com> wrote in message
news:%239PC8QSzGHA.4232(a)TK2MSFTNGP04.phx.gbl...
>I think OleLoadPicture(Orginal CPicture by Paul) does not support TIFF but
> GDI+ does. So its possible that newer CPicture by Paul may support it.


From: Ajay Kalra on

"Tom Serface" <tserface(a)msn.com> wrote in message
news:#SyNZwSzGHA.4308(a)TK2MSFTNGP03.phx.gbl...
> Could be. To be honest that's one type of graphic I haven't tried to
> display on a dialog.
>


I did it few years ago and I was surprised that it did not work and then I
moved to GDI+ and realized how easy it was and it worked in GDI+.

--
Ajay Kalra [MVP - VC++]
ajaykalra(a)yahoo.com



From: David Ching on
"Ajay Kalra" <ajaykalra(a)yahoo.com> wrote in message
news:%239PC8QSzGHA.4232(a)TK2MSFTNGP04.phx.gbl...
>I think OleLoadPicture(Orginal CPicture by Paul) does not support TIFF but
> GDI+ does. So its possible that newer CPicture by Paul may support it.
>

I think it's .PNG that's not supported by OleLoadPicture.

-- David


From: Tom Serface on
Hi David,

This class seems to handle them all...

http://www.codeproject.com/bitmap/cximage.asp

Tom

"David Ching" <dc(a)remove-this.dcsoft.com> wrote in message
news:i1MJg.7188$q63.1806(a)newssvr13.news.prodigy.com...
> "Ajay Kalra" <ajaykalra(a)yahoo.com> wrote in message
> news:%239PC8QSzGHA.4232(a)TK2MSFTNGP04.phx.gbl...
>>I think OleLoadPicture(Orginal CPicture by Paul) does not support TIFF but
>> GDI+ does. So its possible that newer CPicture by Paul may support it.
>>
>
> I think it's .PNG that's not supported by OleLoadPicture.
>
> -- David
>
>


First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4
Prev: What to do with First-Chance exception
Next: CEdit problem