Click here to Skip to main content
15,919,121 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: problem with cmenu Pin
Hamid_RT20-Apr-07 19:29
Hamid_RT20-Apr-07 19:29 
Questionproblem with cmenu Pin
Vishal Lakhanpal18-Apr-07 5:06
Vishal Lakhanpal18-Apr-07 5:06 
AnswerRe: problem with cmenu Pin
Arman S.18-Apr-07 20:06
Arman S.18-Apr-07 20:06 
AnswerRe: problem with cmenu Pin
Atul2318-Apr-07 23:25
Atul2318-Apr-07 23:25 
GeneralRe: problem with cmenu Pin
Vishal Lakhanpal20-Apr-07 0:14
Vishal Lakhanpal20-Apr-07 0:14 
QuestionHow to use OnNotify() function? Pin
bosfan18-Apr-07 5:04
bosfan18-Apr-07 5:04 
QuestionRe: How to use OnNotify() function? Pin
David Crow18-Apr-07 5:30
David Crow18-Apr-07 5:30 
AnswerRe: How to use OnNotify() function? Pin
bosfan18-Apr-07 6:03
bosfan18-Apr-07 6:03 
Hello,
i try to use
BOOL CDemoDlg::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
function and i dont know how to do this!

I recive an error in line with message map:
ON_NOTIFY(WM_NOTIFY, IDC_LIST, OnNotify)
Error is:
error C2440: 'type cast' : cannot convert from 'int (__thiscall CTabAll::*)(unsigned int,long,long *)' to 'void (__thiscall CCmdTarget::*)(struct tagNMHDR *,long *)'
Pointers to members have different representations; cannot cast between them

ok, i see i have different parameters, but how to do right!

thanks
termal
QuestionRe: How to use OnNotify() function? Pin
David Crow18-Apr-07 6:08
David Crow18-Apr-07 6:08 
AnswerRe: How to use OnNotify() function? Pin
bosfan18-Apr-07 21:11
bosfan18-Apr-07 21:11 
GeneralRe: How to use OnNotify() function? Pin
Michael Dunn18-Apr-07 7:04
sitebuilderMichael Dunn18-Apr-07 7:04 
QuestionRe: How to use OnNotify() function? Pin
David Crow18-Apr-07 7:17
David Crow18-Apr-07 7:17 
AnswerRe: How to use OnNotify() function? Pin
Michael Dunn18-Apr-07 7:39
sitebuilderMichael Dunn18-Apr-07 7:39 
AnswerRe: How to use OnNotify() function? Pin
Mark Salsbery18-Apr-07 8:01
Mark Salsbery18-Apr-07 8:01 
GeneralRe: How to use OnNotify() function? Pin
David Crow18-Apr-07 8:10
David Crow18-Apr-07 8:10 
GeneralRe: How to use OnNotify() function? Pin
Mark Salsbery18-Apr-07 8:15
Mark Salsbery18-Apr-07 8:15 
GeneralRe: How to use OnNotify() function? Pin
Mark Salsbery18-Apr-07 8:20
Mark Salsbery18-Apr-07 8:20 
GeneralRe: How to use OnNotify() function? Pin
bosfan18-Apr-07 21:09
bosfan18-Apr-07 21:09 
GeneralRe: How to use OnNotify() function? Pin
Mark Salsbery19-Apr-07 7:55
Mark Salsbery19-Apr-07 7:55 
GeneralRe: How to use OnNotify() function? Pin
bosfan19-Apr-07 21:17
bosfan19-Apr-07 21:17 
GeneralRe: How to use OnNotify() function? Pin
Mark Salsbery20-Apr-07 7:03
Mark Salsbery20-Apr-07 7:03 
GeneralRe: How to use OnNotify() function? Pin
bosfan19-Apr-07 22:43
bosfan19-Apr-07 22:43 
GeneralRe: How to use OnNotify() function? Pin
Mark Salsbery20-Apr-07 7:04
Mark Salsbery20-Apr-07 7:04 
QuestionHow to change the size and position of the controls after the dailog is resized? [modified] Pin
kingliub18-Apr-07 3:53
kingliub18-Apr-07 3:53 
QuestionRe: How to change the size and position of the controls after the dailog is resized? Pin
David Crow18-Apr-07 4:51
David Crow18-Apr-07 4:51 

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.