Click here to Skip to main content
15,889,096 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: Diff Between ShowWindow and End Dialog Pin
CPallini10-Dec-09 20:55
mveCPallini10-Dec-09 20:55 
Usually documentation helps.

For instance MSDN on EndDialog [^]:
The EndDialog function destroys a modal dialog box, causing the system to end any processing for the dialog box.

MSDN on ShowWindow [^]:
The ShowWindow function sets the specified window's show state.


Hence, roughly speaking, the former destroys the window, the latter just hides it.

Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

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 
AnswerRe: Calling third party dll Canadidate function not accessible Pin
Nemanja Trifunovic10-Dec-09 11:34
Nemanja Trifunovic10-Dec-09 11:34 

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.