Click here to Skip to main content
16,005,094 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMFC Generated message map functions //{{AFX_MSG limits?? Pin
Vaclav_4-Oct-06 18:40
Vaclav_4-Oct-06 18:40 
AnswerRe: MFC Generated message map functions //{{AFX_MSG limits?? Pin
ShilpiP4-Oct-06 19:19
ShilpiP4-Oct-06 19:19 
GeneralRe: MFC Generated message map functions //{{AFX_MSG limits?? Pin
Rajesh R Subramanian4-Oct-06 22:33
professionalRajesh R Subramanian4-Oct-06 22:33 
GeneralRe: MFC Generated message map functions //{{AFX_MSG limits?? Pin
ShilpiP4-Oct-06 22:55
ShilpiP4-Oct-06 22:55 
GeneralRe: MFC Generated message map functions //{{AFX_MSG limits?? Pin
Rajesh R Subramanian5-Oct-06 1:12
professionalRajesh R Subramanian5-Oct-06 1:12 
GeneralRe: MFC Generated message map functions //{{AFX_MSG limits?? Pin
ShilpiP5-Oct-06 1:53
ShilpiP5-Oct-06 1:53 
GeneralRe: MFC Generated message map functions //{{AFX_MSG limits?? Pin
Rajesh R Subramanian5-Oct-06 2:17
professionalRajesh R Subramanian5-Oct-06 2:17 
AnswerRe: MFC Generated message map functions //{{AFX_MSG limits?? Pin
krmed5-Oct-06 1:59
krmed5-Oct-06 1:59 
If you are manually adding items to the message map, you should add them outside of the //{{AFX_MSG block:
BEGIN_MESSAGE_MAP(CMyView, CFormView)<br />
	//{{AFX_MSG_MAP(CMyView)<br />
	ON_BN_CLICKED(IDC_START, OnStart)<br />
	ON_BN_CLICKED(IDC_CANCEL, OnCancel)<br />
	ON_COMMAND(IDHELP, OnHelp)<br />
	ON_COMMAND(ID_HELP, OnHelp)<br />
	//}}AFX_MSG_MAP<br />
        // Add your other handlers here<br />
END_MESSAGE_MAP()

because inside the block is updated by the wizard and it will remove functions it didn't add (or at least most of them).

Hope that helps.




Karl - WK5M
PP-ASEL-IA (N43CS)
<kmedcalf@ev1.net>
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

GeneralRe: MFC Generated message map functions //{{AFX_MSG limits?? Pin
Vaclav_5-Oct-06 6:29
Vaclav_5-Oct-06 6:29 
QuestionCListView problem with editing items Pin
Mohammad A Gdeisat4-Oct-06 17:35
Mohammad A Gdeisat4-Oct-06 17:35 
AnswerRe: CListView problem with editing items Pin
Mark Salsbery4-Oct-06 18:12
Mark Salsbery4-Oct-06 18:12 
GeneralRe: CListView problem with editing items Pin
Mohammad A Gdeisat4-Oct-06 23:46
Mohammad A Gdeisat4-Oct-06 23:46 
GeneralRe: CListView problem with editing items Pin
Mark Salsbery5-Oct-06 7:05
Mark Salsbery5-Oct-06 7:05 
GeneralRe: CListView problem with editing items Pin
Mark Salsbery5-Oct-06 7:10
Mark Salsbery5-Oct-06 7:10 
QuestionBorland C++ Pin
seec00024-Oct-06 17:27
seec00024-Oct-06 17:27 
AnswerRe: Borland C++ Pin
Christian Graus4-Oct-06 18:56
protectorChristian Graus4-Oct-06 18:56 
GeneralRe: Borland C++ Pin
seec00024-Oct-06 19:17
seec00024-Oct-06 19:17 
AnswerRe: Borland C++ Pin
Monty24-Oct-06 20:44
Monty24-Oct-06 20:44 
QuestionOperator overloading Pin
Waldermort4-Oct-06 16:00
Waldermort4-Oct-06 16:00 
AnswerRe: Operator overloading Pin
Stephen Hewitt4-Oct-06 16:21
Stephen Hewitt4-Oct-06 16:21 
AnswerRe: Operator overloading Pin
Mark Salsbery4-Oct-06 16:29
Mark Salsbery4-Oct-06 16:29 
GeneralRe: Operator overloading Pin
Waldermort4-Oct-06 16:55
Waldermort4-Oct-06 16:55 
GeneralRe: Operator overloading Pin
Mark Salsbery4-Oct-06 17:04
Mark Salsbery4-Oct-06 17:04 
AnswerRe: Operator overloading Pin
Nibu babu thomas4-Oct-06 17:34
Nibu babu thomas4-Oct-06 17:34 
GeneralRe: Operator overloading Pin
Waldermort4-Oct-06 18:17
Waldermort4-Oct-06 18:17 

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.