Fehlermeldung !!!



  • Hi!

    Ich hab im folgenden Programmcode:

    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)'

    kann mir wer sagen was da falsch ist?

    Danke !!!


Anmelden zum Antworten