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

C / C++ / MFC

 
QuestionChange caption on CDialog. Pin
sportygal147-Dec-05 5:45
sportygal147-Dec-05 5:45 
AnswerRe: Change caption on CDialog. Pin
toxcct7-Dec-05 5:56
toxcct7-Dec-05 5:56 
GeneralRe: Change caption on CDialog. Pin
sportygal147-Dec-05 6:23
sportygal147-Dec-05 6:23 
GeneralRe: Change caption on CDialog. Pin
toxcct7-Dec-05 6:28
toxcct7-Dec-05 6:28 
GeneralRe: Change caption on CDialog. Pin
sportygal147-Dec-05 6:42
sportygal147-Dec-05 6:42 
GeneralRe: Change caption on CDialog. Pin
toxcct7-Dec-05 6:45
toxcct7-Dec-05 6:45 
GeneralRe: Change caption on CDialog. Pin
sportygal147-Dec-05 6:54
sportygal147-Dec-05 6:54 
QuestionWindows Message Confusion! Gurus come and help! Pin
jinzhecheng7-Dec-05 5:33
jinzhecheng7-Dec-05 5:33 
I have a windows message problem that has haunted me for a long time.

Suppose one application has two thread. Thread A "sends" and "posts" message
to a window handle in thread B.
Thread A
{
LOOP{
...
SendMessage(m_hwnd, msg1);
...
PostMessage(m_hwnd, msg2);
...
}
}

in winproc of Thread B:
Winproc
{
case (msg1): do something
...
case (msg2): do something
...
}
my question is: if Thread B is processing msg2, and Thread A are going to
send msg1 , Thread A will wait until Thread B finishes processing msg2??



AnswerRe: Windows Message Confusion! Gurus come and help! Pin
David Crow7-Dec-05 5:40
David Crow7-Dec-05 5:40 
GeneralRe: Windows Message Confusion! Gurus come and help! Pin
jinzhecheng7-Dec-05 5:51
jinzhecheng7-Dec-05 5:51 
AnswerRe: Windows Message Confusion! Gurus come and help! Pin
Phil J Pearson7-Dec-05 7:45
Phil J Pearson7-Dec-05 7:45 
AnswerRe: Windows Message Confusion! Gurus come and help! Pin
ThatsAlok7-Dec-05 19:29
ThatsAlok7-Dec-05 19:29 
QuestionSir, Can any One tell me what Message is Fired When We Press Atl+Ctrl+Del Pin
CodeVarma7-Dec-05 4:21
CodeVarma7-Dec-05 4:21 
AnswerRe: Sir, Can any One tell me what Message is Fired When We Press Atl+Ctrl+Del Pin
David Crow7-Dec-05 5:32
David Crow7-Dec-05 5:32 
GeneralRe: Sir, Can any One tell me what Message is Fired When We Press Atl+Ctrl+Del Pin
PJ Arends7-Dec-05 7:34
professionalPJ Arends7-Dec-05 7:34 
GeneralRe: Sir, Can any One tell me what Message is Fired When We Press Atl+Ctrl+Del Pin
David Crow7-Dec-05 7:45
David Crow7-Dec-05 7:45 
QuestionPrinting from an alternate paper tray Pin
rcraigadams7-Dec-05 4:08
rcraigadams7-Dec-05 4:08 
AnswerRe: Printing from an alternate paper tray Pin
ThatsAlok7-Dec-05 23:10
ThatsAlok7-Dec-05 23:10 
QuestionProblem With Message Handling in Modeless Dialog Pin
Doug Knudson7-Dec-05 3:35
Doug Knudson7-Dec-05 3:35 
QuestionSir , will any help me .i want menu with CheckBox . Pin
CodeVarma7-Dec-05 2:50
CodeVarma7-Dec-05 2:50 
GeneralRe: Sir , will any help me .i want menu with CheckBox . Pin
khan++7-Dec-05 3:59
khan++7-Dec-05 3:59 
QuestionHelp. Create a bmp file in C++ Pin
Ming Luo7-Dec-05 2:39
Ming Luo7-Dec-05 2:39 
AnswerRe: Help. Create a bmp file in C++ Pin
jinzhecheng7-Dec-05 5:19
jinzhecheng7-Dec-05 5:19 
AnswerRe: Help. Create a bmp file in C++ Pin
Chris Losinger7-Dec-05 6:24
professionalChris Losinger7-Dec-05 6:24 
Questionhelp me to read serial number Pin
yasa2947-Dec-05 2:25
yasa2947-Dec-05 2:25 

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.