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

C / C++ / MFC

 
AnswerRe: Where are my messages going? Pin
Software_Developer1-Nov-11 11:57
Software_Developer1-Nov-11 11:57 
GeneralRe: Where are my messages going? Pin
Kyudos1-Nov-11 12:19
Kyudos1-Nov-11 12:19 
AnswerRe: Where are my messages going? Pin
Chuck O'Toole1-Nov-11 12:56
Chuck O'Toole1-Nov-11 12:56 
GeneralRe: Where are my messages going? Pin
Kyudos1-Nov-11 13:17
Kyudos1-Nov-11 13:17 
GeneralRe: Where are my messages going? Pin
Chuck O'Toole1-Nov-11 13:32
Chuck O'Toole1-Nov-11 13:32 
GeneralRe: Where are my messages going? Pin
Kyudos1-Nov-11 13:55
Kyudos1-Nov-11 13:55 
GeneralRe: Where are my messages going? Pin
Chuck O'Toole1-Nov-11 14:01
Chuck O'Toole1-Nov-11 14:01 
GeneralRe: Where are my messages going? Pin
Chuck O'Toole1-Nov-11 15:21
Chuck O'Toole1-Nov-11 15:21 
The documentation on processing message maps seems to support your concept of "virtual action routines" passing from derived window to parent/base class. So, I'd verify your hierarchy is correct first, then ask Microsoft if it's broken but I wouldn't hold up my application for a fix.

http://msdn.microsoft.com/en-us/library/6kc2tzde(v=VS.100).aspx[^]

SQL
The first argument names the class to which the message map belongs. The second argument provides a connection with the immediate base class — CView here — so the framework can search its message map, too.

The message handlers provided in a base class are thus inherited by the derived class. This is very similar to normal virtual member functions without needing to make all handler member functions virtual.

If no handler is found in any of the base-class message maps, default processing of the message is performed. If the message is a command, the framework routes it to the next command target. If it is a standard Windows message, the message is passed to the appropriate default window procedure.

GeneralRe: Where are my messages going? Pin
Kyudos1-Nov-11 15:36
Kyudos1-Nov-11 15:36 
GeneralRe: Where are my messages going? Pin
Kyudos1-Nov-11 16:25
Kyudos1-Nov-11 16:25 
AnswerRe: Where are my messages going? Pin
Albert Holguin2-Nov-11 5:31
professionalAlbert Holguin2-Nov-11 5:31 
AnswerRe: Where are my messages going? - *#@!ing MS! Pin
Kyudos1-Nov-11 17:08
Kyudos1-Nov-11 17:08 
GeneralRe: Where are my messages going? - *#@!ing MS! Pin
Chuck O'Toole1-Nov-11 18:36
Chuck O'Toole1-Nov-11 18:36 
AnswerRe: Where are my messages going? Pin
Roger Allen2-Nov-11 3:10
Roger Allen2-Nov-11 3:10 
AnswerRe: Where are my messages going? Mea culpa! Pin
Kyudos3-Nov-11 9:44
Kyudos3-Nov-11 9:44 
GeneralRe: Where are my messages going? Mea culpa! Pin
Chuck O'Toole4-Nov-11 4:18
Chuck O'Toole4-Nov-11 4:18 
GeneralRe: Where are my messages going? Mea culpa! Pin
Kyudos4-Nov-11 10:44
Kyudos4-Nov-11 10:44 
GeneralRe: Where are my messages going? Mea culpa! Pin
Roger Allen7-Nov-11 6:24
Roger Allen7-Nov-11 6:24 
QuestionHow to copy One XMLdocument to another? Pin
002comp31-Oct-11 23:03
002comp31-Oct-11 23:03 
AnswerRe: XmlDocument::ImportNode Pin
App_1-Nov-11 7:58
App_1-Nov-11 7:58 
QuestionEmbedded Systems, Asembly and C/C++ Pin
CodingLover31-Oct-11 21:04
CodingLover31-Oct-11 21:04 
AnswerRe: Embedded Systems, Asembly and C/C++ Pin
Erudite_Eric31-Oct-11 21:16
Erudite_Eric31-Oct-11 21:16 
GeneralRe: Embedded Systems, Asembly and C/C++ Pin
CodingLover31-Oct-11 21:32
CodingLover31-Oct-11 21:32 
GeneralRe: Embedded Systems, Asembly and C/C++ Pin
Erudite_Eric31-Oct-11 22:34
Erudite_Eric31-Oct-11 22:34 
GeneralRe: Embedded Systems, Asembly and C/C++ Pin
CodingLover31-Oct-11 22:58
CodingLover31-Oct-11 22:58 

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.