![]() |
How to get correct notification events ?? |
Post Reply
|
| Author | |
jigarmehtamscit
Groupie
Joined: 29 October 2005 Location: India Status: Offline Points: 64 |
Post Options
Thanks(0)
Quote Reply
Topic: How to get correct notification events ??Posted: 29 October 2005 at 4:56pm |
|
Hi,
I am trying to get Task Panel integrated with a dialog based application. I have done that through a sample application. Used most of the code given there.. I am able to see the task panel on the left side of my application. But now, I want to get the notification for the click event on any of the items. For this, i added following code between BEGIN_MESSAGE_MAP(CTaskPanelDlg, CDialog) and END_MESSAGE_MAP() as follows, ON_MESSAGE(XTPWM_TASKPANEL_NOTIFY, OnTaskPanelNotify) Now, with this, I am also able to get my function OnTaskPanelNotify called everytime I click on any item of the task panel.. But wParam in that always comes.. XTP_TPN_FOCUSEDITEMCHANGED. And getting, CXTPTaskPanelItem* pItem in that gives me NULL everytime.. So, whats the problem ?? Please help me.. |
|
|
Regards,
Jigar Mehta |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 31 October 2005 at 1:30am |
|
Hello, Please, show all OnTaskPanelNotify code, or if possible attach project to see.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |