Click here to Skip to main content
15,888,984 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Catching WM_POWERBROADCAST message Pin
Still learning how to code11-Dec-09 10:20
Still learning how to code11-Dec-09 10:20 
AnswerRe: Catching WM_POWERBROADCAST message ---------------- *** SOLVED *** Pin
Still learning how to code13-Dec-09 12:01
Still learning how to code13-Dec-09 12:01 
QuestionMultithreading in vc++ Pin
mathy10-Dec-09 20:41
mathy10-Dec-09 20:41 
AnswerRe: Multithreading in vc++ Pin
Cedric Moonen10-Dec-09 20:47
Cedric Moonen10-Dec-09 20:47 
AnswerRe: Multithreading in vc++ Pin
CPallini10-Dec-09 21:04
mveCPallini10-Dec-09 21:04 
AnswerRe: Multithreading in vc++ Pin
Rajesh R Subramanian10-Dec-09 21:06
professionalRajesh R Subramanian10-Dec-09 21:06 
QuestionDiff Between ShowWindow and End Dialog Pin
002comp10-Dec-09 20:36
002comp10-Dec-09 20:36 
AnswerRe: Diff Between ShowWindow and End Dialog Pin
Cedric Moonen10-Dec-09 20:44
Cedric Moonen10-Dec-09 20:44 
ShowWindow(hwndDlg,SW_HIDE) only hides the window (but the window still exists) and furthermore, it can be applied to any type of window (even a control for instance). EndDialog destroys a modal dialog, so the dialog doesn't exist anymore afterwards. And it can only be used for a modal dialog (it would be a bit similar as calling OnOk or OnCancel).


yogeshs wrote:
Which One we need to use?


That really depends on what you want to do Big Grin | :-D . If you need to use only one of the functions, why would both of them exist ? They are there for a purpose and both of them can be used depending on the purpose.

Cédric Moonen
Software developer

Charting control [v2.0]
OpenGL game tutorial in C++

AnswerRe: Diff Between ShowWindow and End Dialog Pin
CPallini10-Dec-09 20:55
mveCPallini10-Dec-09 20:55 
GeneralRe: Diff Between ShowWindow and End Dialog Pin
002comp10-Dec-09 21:39
002comp10-Dec-09 21:39 
Questionprogarm code of c++ Pin
moinsheikh10-Dec-09 19:10
moinsheikh10-Dec-09 19:10 
AnswerRe: progarm code of c++ Pin
Tim Craig10-Dec-09 19:16
Tim Craig10-Dec-09 19:16 
AnswerRe: progarm code of c++ [modified] Pin
Adam Roderick J10-Dec-09 19:17
Adam Roderick J10-Dec-09 19:17 
AnswerRe: progarm code of c++ Pin
Stephen Hewitt10-Dec-09 19:55
Stephen Hewitt10-Dec-09 19:55 
AnswerRe: progarm code of c++ Pin
Michael Schubert10-Dec-09 23:43
Michael Schubert10-Dec-09 23:43 
Questionprogram c++ Pin
moinsheikh10-Dec-09 18:37
moinsheikh10-Dec-09 18:37 
AnswerRe: program c++ Pin
Adam Roderick J10-Dec-09 19:05
Adam Roderick J10-Dec-09 19:05 
AnswerRe: program c++ Pin
Sauce!10-Dec-09 19:27
Sauce!10-Dec-09 19:27 
AnswerRe: program c++ Pin
Rajesh R Subramanian10-Dec-09 21:08
professionalRajesh R Subramanian10-Dec-09 21:08 
Questionwhy the function GetMethodID in JNI always return 0? Pin
heavensquare10-Dec-09 14:41
heavensquare10-Dec-09 14:41 
AnswerRe: why the function GetMethodID in JNI always return 0? Pin
Richard MacCutchan11-Dec-09 6:19
mveRichard MacCutchan11-Dec-09 6:19 
QuestionDrawing in a PDF file with HPDF Pin
softwaremonkey10-Dec-09 11:20
softwaremonkey10-Dec-09 11:20 
AnswerRe: Drawing in a PDF file with HPDF Pin
Adam Roderick J10-Dec-09 17:11
Adam Roderick J10-Dec-09 17:11 
GeneralRe: Drawing in a PDF file with HPDF Pin
softwaremonkey11-Dec-09 3:39
softwaremonkey11-Dec-09 3:39 
QuestionCalling third party dll Canadidate function not accessible Pin
shivels10-Dec-09 10:30
shivels10-Dec-09 10:30 

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.