Print Page | Close Window

How to get correct notification events ??

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3127
Printed Date: 09 November 2025 at 7:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to get correct notification events ??
Posted By: jigarmehtamscit
Subject: How to get correct notification events ??
Date 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



Replies:
Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net