|
Prev: Application gets slower when having ~50 dialogs in memory.
Next: writing multiple files vs single file using fwrite/fopen
From: ou on 14 May 2008 02:07 Env: WindowsXP, VC++6.00 I wonder how to show a jpg picture on a dialog. TIA ou
From: M. Shoaib Surya on 14 May 2008 02:44 Check this out: "Displaying a JPG in your MFC Application" http://msdn.microsoft.com/en-us/magazine/cc301454.aspx - Shoaib "ou" <ou07(a)ab.auone-net.jp> wrote in message news:%23whuXjYtIHA.3792(a)TK2MSFTNGP02.phx.gbl... > Env: WindowsXP, VC++6.00 > > I wonder how to show a jpg picture on a dialog. > > TIA > > ou
From: Ajay Kalra on 14 May 2008 07:30 This article uses OleLoadPicture. In a subsequent article, author used GDI+ to do the same, which I believe is much easier. --- Ajay "M. Shoaib Surya" <shoaibsurya(a)hotmail.com> wrote in message news:uxM7r7YtIHA.4772(a)TK2MSFTNGP03.phx.gbl... > Check this out: > "Displaying a JPG in your MFC Application" > http://msdn.microsoft.com/en-us/magazine/cc301454.aspx > > - Shoaib > > "ou" <ou07(a)ab.auone-net.jp> wrote in message > news:%23whuXjYtIHA.3792(a)TK2MSFTNGP02.phx.gbl... >> Env: WindowsXP, VC++6.00 >> >> I wonder how to show a jpg picture on a dialog. >> >> TIA >> >> ou > >
From: ou on 14 May 2008 07:55 Thanks Ajay and Shoaib. In fact, I am searching a way which can be used both on WindowsXP(VC++6.00) and WindowsCE(eVC++ 4.0). I guess both OleLoadPicture and GDI+ are not supported on CE(eVC++ 4.0). > This article uses OleLoadPicture. In a subsequent article, author used > GDI+ to do the same, which I believe is much easier. >> Check this out: >> "Displaying a JPG in your MFC Application" >> http://msdn.microsoft.com/en-us/magazine/cc301454.aspx
From: Joseph M. Newcomer on 14 May 2008 08:21
Take a look at my image comparator program that does exactly that. It is a free download from my MVP Tips site. joe On Wed, 14 May 2008 15:07:46 +0900, "ou" <ou07(a)ab.auone-net.jp> wrote: >Env: WindowsXP, VC++6.00 > >I wonder how to show a jpg picture on a dialog. > >TIA > >ou Joseph M. Newcomer [MVP] email: newcomer(a)flounder.com Web: http://www.flounder.com MVP Tips: http://www.flounder.com/mvp_tips.htm |