Fehlermeldung !!!



  • Hallo!

    ich hab im folgenden Source-code:

    BEGIN_MESSAGE_MAP(CTrayDialog, CDialog)
    	//{{AFX_MSG_MAP(CTrayDialog)
    	ON_WM_CREATE()
    	ON_WM_DESTROY()
    	ON_WM_SYSCOMMAND()
    	//}}AFX_MSG_MAP
    	ON_MESSAGE(WM_TRAY_ICON_NOTIFY_MESSAGE,OnTrayNotify)
    END_MESSAGE_MAP()
    

    folgende Fehlermeldung:
    c:\monitor\TrayDialog.cpp(47): error C2440: 'static_cast' : cannot convert from 'void (__thiscall CTrayDialog::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'

    Fehler entstand bei ON_MESSAGE....
    was ist das falsch?

    DANKE!!!


Anmelden zum Antworten