When I send a message :
----
NMHDR nmhdr;
nmhdr.hwndFrom = GetSafeHwnd();
nmhdr.code = WM_RBUTTONDOWN;
GetParent()->PostMessage(WM_RBUTTONDOWN,(WPARAM)m_dwFaceColor,(LPARAM)&nmhdr);
---
and catch it with
-----
ON_MESSAGE(WM_RBUTTONDOWN,OnRBGet)
-----
it works. But when I send message with
-----------
NMHDR nmhdr;
nmhdr.hwndFrom = GetSafeHwnd();
nmhdr.code = WM_RBUTTONDOWN;
GetParent()->PostMessage(WM_NOTIFY,(WPARAM)m_dwFaceColor,(LPARAM)&nmhdr);
-------
and catch it with:
-------------------
ON_NOTIFY_RANGE(WM_RBUTTONDOWN,IDW_DAYSCHEDULE_CB1,IDW_DAYSCHEDULE_CB6,OnNotifyGet)
--------------
it doesn't. Do anyone of U see an error there? Where is the problem?
thx
bubak
----
NMHDR nmhdr;
nmhdr.hwndFrom = GetSafeHwnd();
nmhdr.code = WM_RBUTTONDOWN;
GetParent()->PostMessage(WM_RBUTTONDOWN,(WPARAM)m_dwFaceColor,(LPARAM)&nmhdr);
---
and catch it with
-----
ON_MESSAGE(WM_RBUTTONDOWN,OnRBGet)
-----
it works. But when I send message with
-----------
NMHDR nmhdr;
nmhdr.hwndFrom = GetSafeHwnd();
nmhdr.code = WM_RBUTTONDOWN;
GetParent()->PostMessage(WM_NOTIFY,(WPARAM)m_dwFaceColor,(LPARAM)&nmhdr);
-------
and catch it with:
-------------------
ON_NOTIFY_RANGE(WM_RBUTTONDOWN,IDW_DAYSCHEDULE_CB1,IDW_DAYSCHEDULE_CB6,OnNotifyGet)
--------------
it doesn't. Do anyone of U see an error there? Where is the problem?
thx
bubak