|
-
June 2nd, 2002, 07:19 PM
#1
Afx_pmsg???!!!
I'm declaring:
afx_msg LRESULT OnSetModifiedFlag(WPARAM wParam, LPARAM lParam);
and putting this next line into my message map:
ON_COMMAND(SET_MODIFIED_FLAG, OnSetModifiedFlag)
and I am getting this compile error. This used to compile before I switched to VC++ .NET. =(
error C2440: 'static_cast' : cannot convert from 'LRESULT (__thiscall CMyCtrl::* )(WPARAM,LPARAM)' to 'AFX_PMSG'
Any ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|