Setting bp on the message map
- From: "Jack" <jl@xxxxxxxxxx>
- Date: Sat, 31 Jan 2009 18:03:27 +0800
I'd want to intercept all messages going thru the map of my application
(MFC)...
BEGIN_MESSAGE_MAP(CMainFrame, CMDIFrameWnd)
//{{AFX_MSG_MAP(CMainFrame)
* ON_WM_CREATE()
* ON_COMMAND(ID_FORMVIEW, OnFormView)
* meaning a bp on it.
like WM_CREATE, WM_DBLCLICK.... etc
When running the application and seeing the effect of this, I found out that
all bps were disabled and the pointer was pointing to END_MESSAGE()
I have tried to recompile the project, but the same thing going on as
usual... Does anyone have any clue?
.
- Follow-Ups:
- Re: Setting bp on the message map
- From: Scott McPhillips [MVP]
- Re: Setting bp on the message map
- Prev by Date: Re: std::pair
- Next by Date: Re: timestamp
- Previous by thread: measure application memory usage
- Next by thread: Re: Setting bp on the message map
- Index(es):
Relevant Pages
|