Click here to Skip to main content
15,909,503 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Console Application Pin
Cedric Moonen14-Apr-06 2:02
Cedric Moonen14-Apr-06 2:02 
GeneralRe: Console Application Pin
Aqueel14-Apr-06 2:07
Aqueel14-Apr-06 2:07 
AnswerRe: Console Application Pin
Maxwell Chen14-Apr-06 3:12
Maxwell Chen14-Apr-06 3:12 
GeneralRe: Console Application Pin
parichaybp16-Apr-06 19:28
parichaybp16-Apr-06 19:28 
Questiondiff between Send message and Post message Pin
Krishnatv14-Apr-06 0:59
Krishnatv14-Apr-06 0:59 
AnswerRe: diff between Send message and Post message Pin
HakunaMatada14-Apr-06 1:33
HakunaMatada14-Apr-06 1:33 
AnswerRe: diff between Send message and Post message Pin
Amar Sutar14-Apr-06 2:55
Amar Sutar14-Apr-06 2:55 
AnswerRe: diff between Send message and Post message Pin
Russell'14-Apr-06 3:26
Russell'14-Apr-06 3:26 
I can give you an example to understand when use the functions:
If you want that an object (CWnd) close itself without problems, probally the best solution is Postmessage(WM_CLOSE). Elseway if in a member (of this object) function you use Sendmessage the object will be destroyed before that the function ends, and it is probable that after Sendmessage some operations will be done on the members of this object. So this is a cause of a crash.




Have a nice code day
Wink | ;)



-- modified at 9:27 Friday 14th April, 2006
QuestionTree View Right Click Problem. Pin
harshandu14-Apr-06 0:57
harshandu14-Apr-06 0:57 
AnswerRe: Tree View Right Click Problem. Pin
Amar Sutar14-Apr-06 2:48
Amar Sutar14-Apr-06 2:48 
Questionhow to read .PST file using VC++ Pin
K. narasimharao14-Apr-06 0:40
K. narasimharao14-Apr-06 0:40 
AnswerRe: how to read .PST file using VC++ Pin
HakunaMatada14-Apr-06 1:35
HakunaMatada14-Apr-06 1:35 
Questionplease read: its importent Pin
baldha rakesh14-Apr-06 0:30
baldha rakesh14-Apr-06 0:30 
AnswerRe: please read: its importent Pin
David Crow14-Apr-06 2:54
David Crow14-Apr-06 2:54 
GeneralRe: please read: its importent Pin
Gary R. Wheeler14-Apr-06 3:15
Gary R. Wheeler14-Apr-06 3:15 
GeneralRe: please read: its importent Pin
David Crow14-Apr-06 3:34
David Crow14-Apr-06 3:34 
GeneralRe: please read: its importent Pin
toxcct14-Apr-06 4:16
toxcct14-Apr-06 4:16 
GeneralRe: please read: its importent Pin
David Crow14-Apr-06 4:21
David Crow14-Apr-06 4:21 
GeneralRe: please read: its importent Pin
toxcct14-Apr-06 4:27
toxcct14-Apr-06 4:27 
QuestionWorking with C and C++ together in one application Pin
George_George14-Apr-06 0:13
George_George14-Apr-06 0:13 
AnswerRe: Working with C and C++ together in one application Pin
Chris Losinger14-Apr-06 2:21
professionalChris Losinger14-Apr-06 2:21 
GeneralRe: Working with C and C++ together in one application Pin
George_George15-Apr-06 23:12
George_George15-Apr-06 23:12 
GeneralRe: Working with C and C++ together in one application Pin
Chris Losinger16-Apr-06 5:34
professionalChris Losinger16-Apr-06 5:34 
GeneralRe: Working with C and C++ together in one application Pin
George_George16-Apr-06 19:38
George_George16-Apr-06 19:38 
GeneralRe: Working with C and C++ together in one application Pin
Chris Losinger17-Apr-06 1:03
professionalChris Losinger17-Apr-06 1:03 

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.