Click here to Skip to main content
15,900,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Can vectors really hold classes? Pin
markkuk13-Aug-06 1:22
markkuk13-Aug-06 1:22 
Questioninsert/add a GIF image in VC++ 6.0 Pin
Dhananjayak0212-Aug-06 9:06
Dhananjayak0212-Aug-06 9:06 
AnswerRe: insert/add a GIF image in VC++ 6.0 Pin
Joe Woodbury12-Aug-06 19:01
professionalJoe Woodbury12-Aug-06 19:01 
AnswerRe: insert/add a GIF image in VC++ 6.0 Pin
A_Fa12-Aug-06 19:07
A_Fa12-Aug-06 19:07 
AnswerRe: insert/add a GIF image in VC++ 6.0 Pin
tanvon malik12-Aug-06 21:16
tanvon malik12-Aug-06 21:16 
AnswerRe: insert/add a GIF image in VC++ 6.0 Pin
Hamid_RT13-Aug-06 9:45
Hamid_RT13-Aug-06 9:45 
GeneralRe: insert/add a GIF image in VC++ 6.0 Pin
Dhananjayak0214-Aug-06 4:51
Dhananjayak0214-Aug-06 4:51 
GeneralRe: insert/add a GIF image in VC++ 6.0 Pin
Hamid_RT14-Aug-06 7:38
Hamid_RT14-Aug-06 7:38 
if you want to show gif or jpeg or png or bmp you can use from CImage classbut im not sure its working in VC6.0 or no but this problem
I think this code solve your problem
<br />
	ULONG_PTR m_gdiToken;<br />
	GdiplusStartupInput gdiplusStartup;<br />
<br />
GdiplusStartup(&m_gdiToken, &gdiplusStartup, NULL);<br />
<br />
img = Image::FromFile(L"c:\\0.jpg");<br />
<br />
CPaintDC dc(this);<br />
Graphics myGraphics(dc.m_hDC);<br />
...<br />
...<br />



WhiteSky


QuestionVirtual memory allocation Pin
RomTibi12-Aug-06 6:02
RomTibi12-Aug-06 6:02 
AnswerRe: Virtual memory allocation Pin
tanvon malik12-Aug-06 6:31
tanvon malik12-Aug-06 6:31 
GeneralRe: Virtual memory allocation Pin
RomTibi12-Aug-06 9:04
RomTibi12-Aug-06 9:04 
AnswerRe: Virtual memory allocation Pin
Mike Dimmick13-Aug-06 5:43
Mike Dimmick13-Aug-06 5:43 
GeneralRe: Virtual memory allocation Pin
RomTibi13-Aug-06 8:01
RomTibi13-Aug-06 8:01 
Questionlinked list Pin
jon-8012-Aug-06 5:29
professionaljon-8012-Aug-06 5:29 
AnswerRe: linked list Pin
Chris Losinger12-Aug-06 5:42
professionalChris Losinger12-Aug-06 5:42 
QuestionHow to control the behaviour of a toolbar button? Pin
Vinod Sankaranarayanan12-Aug-06 1:52
Vinod Sankaranarayanan12-Aug-06 1:52 
AnswerRe: How to control the behaviour of a toolbar button? Pin
Monty212-Aug-06 2:20
Monty212-Aug-06 2:20 
GeneralRe: How to control the behaviour of a toolbar button? Pin
Vinod Sankaranarayanan12-Aug-06 3:55
Vinod Sankaranarayanan12-Aug-06 3:55 
AnswerRe: How to control the behaviour of a toolbar button? Pin
ovidiucucu12-Aug-06 4:23
ovidiucucu12-Aug-06 4:23 
GeneralRe: How to control the behaviour of a toolbar button? Pin
Vinod Sankaranarayanan12-Aug-06 5:44
Vinod Sankaranarayanan12-Aug-06 5:44 
GeneralRe: How to control the behaviour of a toolbar button? [modified] Pin
ovidiucucu13-Aug-06 1:54
ovidiucucu13-Aug-06 1:54 
AnswerRe: How to control the behaviour of a toolbar button? Pin
Hamid_RT14-Aug-06 7:09
Hamid_RT14-Aug-06 7:09 
QuestionHost ActiveX control and draw to memory context? Pin
Andrew Altham12-Aug-06 0:22
Andrew Altham12-Aug-06 0:22 
AnswerRe: Host ActiveX control and draw to memory context? Pin
bob1697212-Aug-06 6:45
bob1697212-Aug-06 6:45 
QuestionRe: Host ActiveX control and draw to memory context? Pin
Andrew Altham12-Aug-06 23:08
Andrew Altham12-Aug-06 23:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.