Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to get correct notification events ??
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to get correct notification events ??

 Post Reply Post Reply
Author
Message
jigarmehtamscit View Drop Down
Groupie
Groupie
Avatar

Joined: 29 October 2005
Location: India
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote jigarmehtamscit Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.