Click here to Skip to main content
15,913,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Gettin output parameters value Pin
pkfox5-Nov-13 20:00
professionalpkfox5-Nov-13 20:00 
GeneralRe: Gettin output parameters value Pin
Richard MacCutchan5-Nov-13 21:37
mveRichard MacCutchan5-Nov-13 21:37 
GeneralRe: Gettin output parameters value Pin
pkfox6-Nov-13 3:05
professionalpkfox6-Nov-13 3:05 
QuestionCaptur Audio Using WASAPI Pin
AmbiguousName3-Nov-13 2:20
AmbiguousName3-Nov-13 2:20 
AnswerRe: Captur Audio Using WASAPI Pin
Jochen Arndt4-Nov-13 2:45
professionalJochen Arndt4-Nov-13 2:45 
Question[Sovled] Win32 C++ - Child Windows Pin
lrinish2-Nov-13 9:49
lrinish2-Nov-13 9:49 
SuggestionRe: Win32 C++ - Child Windows Pin
Richard MacCutchan2-Nov-13 21:27
mveRichard MacCutchan2-Nov-13 21:27 
AnswerRe: Win32 C++ - Child Windows Pin
pasztorpisti3-Nov-13 5:25
pasztorpisti3-Nov-13 5:25 
A bit of correction: Each thread has a message queue and each window belongs to the thread that created it. When you send a message to a window then the message is (automatically) put into the message queue of the thread that owns the window. The message will be passed to the window by the owner thread when it decides to get a message from its message queue and decides to dispatch it (EDIT: a bit of correction here: sent messages and some other messages are handled specially (like WM_QUIT/WM_PAINT) and/or out of order of the queue). A child control sends most of its commands/notifications (not window messages!!!) to its parent window and these are automatically put into the owner thread of the parent window (the child window has nothing to do with the owner thread of the parent window and the message queue of the owner thread, that is handled by the system automatically). Only a few specific "messages" (commands/notifications) are passed to the parent window, the rest (most) of the messages are processed by the window proc that belongs the the class of the child control. The "notifications" and "commands" that are passed to the parent usually arrive as WM_COMMAND and WM_NOTIFY messages to the window proc of the parent window. (There are a few exceptions, like WM_CTLCOLOR...)

modified 3-Nov-13 13:06pm.

GeneralRe: Win32 C++ - Child Windows Pin
lrinish3-Nov-13 6:32
lrinish3-Nov-13 6:32 
GeneralRe: Win32 C++ - Child Windows Pin
pasztorpisti3-Nov-13 7:01
pasztorpisti3-Nov-13 7:01 
QuestionArithmetic operation in pointer using C Pin
shanmugarajaa31-Oct-13 20:20
shanmugarajaa31-Oct-13 20:20 
QuestionRe: Arithmetic operation in pointer using C Pin
Richard MacCutchan31-Oct-13 23:47
mveRichard MacCutchan31-Oct-13 23:47 
AnswerRe: Arithmetic operation in pointer using C Pin
Bill_Hallahan1-Nov-13 18:22
Bill_Hallahan1-Nov-13 18:22 
QuestionListView::LVN_EndLabelEdit problem Pin
jackheroes31-Oct-13 8:51
jackheroes31-Oct-13 8:51 
SuggestionRe: ListView::LVN_EndLabelEdit problem Pin
Richard MacCutchan31-Oct-13 15:09
mveRichard MacCutchan31-Oct-13 15:09 
GeneralRe: ListView::LVN_EndLabelEdit problem Pin
jackheroes31-Oct-13 19:52
jackheroes31-Oct-13 19:52 
GeneralRe: ListView::LVN_EndLabelEdit problem Pin
Richard MacCutchan31-Oct-13 23:37
mveRichard MacCutchan31-Oct-13 23:37 
Questiontest Pin
Member 1036994131-Oct-13 5:37
Member 1036994131-Oct-13 5:37 
AnswerRe: test Pin
jeron131-Oct-13 6:01
jeron131-Oct-13 6:01 
Questionreturn value Pin
messages28-Oct-13 4:20
messages28-Oct-13 4:20 
AnswerRe: return value Pin
Joe79428-Oct-13 5:00
Joe79428-Oct-13 5:00 
GeneralRe: return value Pin
messages28-Oct-13 5:33
messages28-Oct-13 5:33 
AnswerRe: return value Pin
Aescleal28-Oct-13 6:11
Aescleal28-Oct-13 6:11 
GeneralRe: return value Pin
messages28-Oct-13 6:28
messages28-Oct-13 6:28 
QuestionSend POSITION through wParam Pin
_Flaviu27-Oct-13 22:04
_Flaviu27-Oct-13 22:04 

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.