Click here to Skip to main content
15,923,087 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListView problems... Pin
funbag20-Feb-02 7:18
funbag20-Feb-02 7:18 
GeneralOnCmdMsg Question Pin
yellowine20-Feb-02 4:15
yellowine20-Feb-02 4:15 
GeneralRe: OnCmdMsg Question Pin
Ravi Bhavnani20-Feb-02 4:28
professionalRavi Bhavnani20-Feb-02 4:28 
GeneralRe: OnCmdMsg Question Pin
yellowine20-Feb-02 4:50
yellowine20-Feb-02 4:50 
GeneralRe: OnCmdMsg Question Pin
Ravi Bhavnani20-Feb-02 4:55
professionalRavi Bhavnani20-Feb-02 4:55 
GeneralRe: OnCmdMsg Question Pin
yellowine20-Feb-02 5:11
yellowine20-Feb-02 5:11 
GeneralRe: OnCmdMsg Question Pin
Steen Krogsgaard21-Feb-02 5:11
Steen Krogsgaard21-Feb-02 5:11 
GeneralRe: OnCmdMsg Question Pin
yellowine21-Feb-02 6:08
yellowine21-Feb-02 6:08 
Steen Krogsgaard wrote:
So your SendMessage and your menu selection should all be routed through OnCommand first and then to OnCmdMsg. You could put a breakpoint in OnCmdMsg and check on the call stack that OnCmdMsg is called from OnCommand in both instances.

I did exactly what you described above but I did not see the command got routed to OnCmdMsg. However, it did get routed to OnCommand function. Odd, huh.

Is there any difference between menu sent message and message sent by SentMessage or PostMessage?
GeneralRe: OnCmdMsg Question Pin
Steen Krogsgaard22-Feb-02 0:23
Steen Krogsgaard22-Feb-02 0:23 
GeneralA Test Program? Pin
yellowine22-Feb-02 3:15
yellowine22-Feb-02 3:15 
GeneralRe: A Test Program? Pin
Steen Krogsgaard22-Feb-02 5:19
Steen Krogsgaard22-Feb-02 5:19 
GeneralRe: A Test Program? Pin
yellowine22-Feb-02 6:04
yellowine22-Feb-02 6:04 
QuestionVC7 support for 64-bit targets? Pin
Ravi Bhavnani20-Feb-02 4:10
professionalRavi Bhavnani20-Feb-02 4:10 
AnswerVC6 & Intel C++ 64bit compiler Pin
Ravi Bhavnani20-Feb-02 4:53
professionalRavi Bhavnani20-Feb-02 4:53 
GeneralMyAtlCtrlInstace->PassMetafile(hMyMetafile) ( VT_METAFILE) Pin
Braulio Dez20-Feb-02 3:48
Braulio Dez20-Feb-02 3:48 
GeneralRe: MyAtlCtrlInstace->PassMetafile(hMyMetafile) ( VT_METAFILE) Pin
Mazdak20-Feb-02 4:02
Mazdak20-Feb-02 4:02 
GeneralRe: MyAtlCtrlInstace->PassMetafile(hMyMetafile) ( VT_METAFILE) Pin
Braulio Dez20-Feb-02 4:09
Braulio Dez20-Feb-02 4:09 
GeneralRe: MyAtlCtrlInstace->PassMetafile(hMyMetafile) ( VT_METAFILE) Pin
Mazdak20-Feb-02 4:32
Mazdak20-Feb-02 4:32 
GeneralProblems with inheritance Pin
20-Feb-02 3:22
suss20-Feb-02 3:22 
GeneralRe: Problems with inheritance Pin
Joaquín M López Muñoz20-Feb-02 3:25
Joaquín M López Muñoz20-Feb-02 3:25 
GeneralRe: Problems with inheritance Pin
Stan Shannon20-Feb-02 4:10
Stan Shannon20-Feb-02 4:10 
GeneralMDI application Pin
20-Feb-02 1:51
suss20-Feb-02 1:51 
GeneralRe: MDI application Pin
Jonathan Craig20-Feb-02 3:12
Jonathan Craig20-Feb-02 3:12 
General24 errors Pin
-Dy20-Feb-02 0:48
-Dy20-Feb-02 0:48 
GeneralRe: 24 errors Pin
Roger Allen20-Feb-02 1:22
Roger Allen20-Feb-02 1:22 

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.