Click here to Skip to main content
16,016,826 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: which of the buttons is clicked ? Pin
David Crow13-Nov-08 2:53
David Crow13-Nov-08 2:53 
AnswerRe: which of the buttons is clicked ? Pin
wielklem13-Nov-08 5:30
wielklem13-Nov-08 5:30 
AnswerRe: which of the buttons is clicked ? Pin
Iain Clarke, Warrior Programmer13-Nov-08 2:55
Iain Clarke, Warrior Programmer13-Nov-08 2:55 
QuestionUpdate the Window.. Pin
gothic_coder12-Nov-08 23:57
gothic_coder12-Nov-08 23:57 
AnswerRe: Update the Window.. Pin
SandipG 13-Nov-08 1:12
SandipG 13-Nov-08 1:12 
GeneralRe: Update the Window.. Pin
gothic_coder13-Nov-08 3:23
gothic_coder13-Nov-08 3:23 
QuestionRe: Update the Window.. Pin
bob1697213-Nov-08 16:35
bob1697213-Nov-08 16:35 
AnswerRe: Update the Window.. [modified] Pin
gothic_coder13-Nov-08 19:04
gothic_coder13-Nov-08 19:04 
I'm using CxImage to draw PNG.. doing something like that..

HDC hdc = BeginPaint (hWnd , &ps) ;
CxImage* image = new CxImage();
image->LoadResource(FindResource(NULL,MAKEINTRESOURCE(IDR_PNG2),"PNG"),CXIMAGE_FORMAT_PNG);
BOOL iReturn = image->Draw(hdc, 1, 1);
EndPaint (hWnd, &ps) ;


Though i'm able to paint on desktop screen also by taking Desktop DC and passing to Draw but again when any window is dragged on it the PNG get erased...

modified on Friday, November 14, 2008 1:16 AM

QuestionRe: Update the Window.. Pin
bob1697214-Nov-08 4:18
bob1697214-Nov-08 4:18 
AnswerRe: Update the Window.. Pin
gothic_coder14-Nov-08 20:32
gothic_coder14-Nov-08 20:32 
GeneralRe: Update the Window.. Pin
bob1697215-Nov-08 8:36
bob1697215-Nov-08 8:36 
GeneralRe: Update the Window.. Pin
gothic_coder16-Nov-08 20:41
gothic_coder16-Nov-08 20:41 
GeneralRe: Update the Window.. Pin
gothic_coder17-Nov-08 2:40
gothic_coder17-Nov-08 2:40 
QuestionCheckBox and Static control problem Pin
Dhiraj kumar Saini12-Nov-08 23:48
Dhiraj kumar Saini12-Nov-08 23:48 
AnswerRe: CheckBox and Static control problem Pin
gothic_coder13-Nov-08 0:02
gothic_coder13-Nov-08 0:02 
GeneralRe: CheckBox and Static control problem Pin
Dhiraj kumar Saini13-Nov-08 0:05
Dhiraj kumar Saini13-Nov-08 0:05 
GeneralRe: CheckBox and Static control problem Pin
gothic_coder13-Nov-08 0:42
gothic_coder13-Nov-08 0:42 
GeneralRe: CheckBox and Static control problem Pin
Dhiraj kumar Saini13-Nov-08 1:58
Dhiraj kumar Saini13-Nov-08 1:58 
GeneralRe: CheckBox and Static control problem Pin
Iain Clarke, Warrior Programmer13-Nov-08 2:57
Iain Clarke, Warrior Programmer13-Nov-08 2:57 
GeneralRe: CheckBox and Static control problem Pin
gothic_coder13-Nov-08 3:12
gothic_coder13-Nov-08 3:12 
AnswerRe: CheckBox and Static control problem Pin
AtomAnt13-Nov-08 0:04
AtomAnt13-Nov-08 0:04 
QuestionHow can i Get Hard Drive Modal details? Pin
Le@rner12-Nov-08 21:58
Le@rner12-Nov-08 21:58 
AnswerRe: How can i Get Hard Drive Modal details? Pin
SandipG 12-Nov-08 22:24
SandipG 12-Nov-08 22:24 
AnswerRe: How can i Get Hard Drive Modal details? Pin
_AnsHUMAN_ 12-Nov-08 22:26
_AnsHUMAN_ 12-Nov-08 22:26 
AnswerRe: How can i Get Hard Drive Modal details? [modified] Pin
User 21559712-Nov-08 22:26
User 21559712-Nov-08 22:26 

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.