bonjour
je veux savoir ou je vais trouver la fonction
::OnNotifyIcon(WPARAM wParam, LPARAM lParam)
j'ai bien chercher dans la partie ClassWizard et events mais je la trouve pas.
merci avance pour l'aide.
bonjour
je veux savoir ou je vais trouver la fonction
::OnNotifyIcon(WPARAM wParam, LPARAM lParam)
j'ai bien chercher dans la partie ClassWizard et events mais je la trouve pas.
merci avance pour l'aide.
En passant par
?CWnd::OnNotifySee Also
CWnd Overview | Class Members | Hierarchy Chart
The framework calls this member function to inform the parent window of a control that an event has occurred in the control or that the control requires some kind of information.
virtual BOOL OnNotify(
WPARAM wParam,
LPARAM lParam,
LRESULT* pResult
);
Sinon dans ClassWizard prendre PreTranslateMsg ça marche pour une CDialog ou une CView CDocument.
Avec PreTranslateMsg gérer le message adéquate
non , il faut ajouter ce ligne dans le header:
afx_msg void OnNotifyIcon(WPARAM wParam, LPARAM lParam);
mais je pige pas comment l'ajouter sans copier coller, normalement les declarations sont automatiquement fait par MFC non ?
merci d'avoir m'eclairé.
Partager