Click here to Skip to main content
15,860,972 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Old code Pin
Richard MacCutchan28-Mar-16 6:03
mveRichard MacCutchan28-Mar-16 6:03 
QuestionAlgorithm on secrete key generation Pin
Durga Prasad Chauhan25-Mar-16 23:32
Durga Prasad Chauhan25-Mar-16 23:32 
AnswerRe: Algorithm on secrete key generation Pin
Richard MacCutchan26-Mar-16 1:32
mveRichard MacCutchan26-Mar-16 1:32 
AnswerRe: Algorithm on secrete key generation Pin
Patrice T27-Mar-16 10:31
mvePatrice T27-Mar-16 10:31 
Questionvector in turbo c Pin
Ravinder Singh25-Mar-16 20:50
Ravinder Singh25-Mar-16 20:50 
AnswerRe: vector in turbo c Pin
Richard MacCutchan25-Mar-16 22:46
mveRichard MacCutchan25-Mar-16 22:46 
AnswerRe: vector in turbo c Pin
Patrice T27-Mar-16 10:18
mvePatrice T27-Mar-16 10:18 
Questiongraphics.DrawImage return generic error Pin
Le@rner22-Mar-16 19:12
Le@rner22-Mar-16 19:12 
hi all,


i draw a image when i preview it its display ok but when i print with multiple page.

on first page its drawimage correctly but after first page it return generic error.

i really dont understand what happen here.


i m using this to draw image.

Graphics graphics(pDC->GetSafeHdc());
	Image myPNG(path);
	if(myPNG.GetLastStatus()!=Ok)
	{
		return FALSE;
	}
 Gdiplus::Status stat;
	stat =  graphics.DrawImage(&myPNG, (INT)image_rect.left, (INT)image_rect.top, 300, 300);
	return TRUE;


thanks in advance.
QuestionRe: graphics.DrawImage return generic error Pin
Richard MacCutchan22-Mar-16 23:10
mveRichard MacCutchan22-Mar-16 23:10 
AnswerRe: graphics.DrawImage return generic error Pin
Le@rner24-Mar-16 18:18
Le@rner24-Mar-16 18:18 
GeneralRe: graphics.DrawImage return generic error Pin
Richard MacCutchan24-Mar-16 21:57
mveRichard MacCutchan24-Mar-16 21:57 
GeneralRe: graphics.DrawImage return generic error Pin
Le@rner25-Mar-16 20:44
Le@rner25-Mar-16 20:44 
GeneralRe: graphics.DrawImage return generic error Pin
Richard MacCutchan25-Mar-16 22:44
mveRichard MacCutchan25-Mar-16 22:44 
GeneralRe: graphics.DrawImage return generic error Pin
Brisingr Aerowing24-Mar-16 19:51
professionalBrisingr Aerowing24-Mar-16 19:51 
QuestionWaitForInputIdle parent process gets access exception Pin
ForNow20-Mar-16 16:58
ForNow20-Mar-16 16:58 
AnswerRe: WaitForInputIdle parent process gets access exception Pin
leon de boer20-Mar-16 18:02
leon de boer20-Mar-16 18:02 
GeneralRe: WaitForInputIdle parent process gets access exception Pin
ForNow20-Mar-16 21:33
ForNow20-Mar-16 21:33 
GeneralRe: WaitForInputIdle parent process gets access exception Pin
leon de boer20-Mar-16 22:16
leon de boer20-Mar-16 22:16 
GeneralRe: WaitForInputIdle parent process gets access exception Pin
ForNow21-Mar-16 2:56
ForNow21-Mar-16 2:56 
GeneralThe Exception was caused by unrelated exception which I fixed WaitForInputHandle Works Thanks for your help Pin
ForNow21-Mar-16 8:35
ForNow21-Mar-16 8:35 
Questionembed WxWidgets in MFC applications? Pin
Member 853403519-Mar-16 4:50
Member 853403519-Mar-16 4:50 
Questionxx Pin
Member 1240241718-Mar-16 12:12
Member 1240241718-Mar-16 12:12 
AnswerRe: Minesweeper Game reversing hack -ASM Pin
Richard MacCutchan18-Mar-16 23:04
mveRichard MacCutchan18-Mar-16 23:04 
QuestionHow to Mix MFC Controls and OpenGL? Pin
Member 853403517-Mar-16 23:33
Member 853403517-Mar-16 23:33 
QuestionHow to perform Expression Evaluation Pin
Member 1239950317-Mar-16 8:32
Member 1239950317-Mar-16 8:32 

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.