Print Page | Close Window

XTPWM_TASKPANEL_NOTIFY is not called

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=3814
Printed Date: 27 September 2024 at 5:32pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XTPWM_TASKPANEL_NOTIFY is not called
Posted By: Raj.krishnan
Subject: XTPWM_TASKPANEL_NOTIFY is not called
Date Posted: 20 March 2006 at 12:53am

as iam trying to get the message of XTPWM_TASKPANEL_NOTIFY message in my application to trap the XTP_TPN_CLICK event but the function is not called whenever i click the some icons in the shortcutbar. Give me a solution why it is not coming to that function.




Replies:
Posted By: Oleg
Date Posted: 20 March 2006 at 9:41am

Hello,

why XTPWM_TASKPANEL_NOTIFY must be called when you click some icons in the shortcutbar?



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Raj.krishnan
Date Posted: 20 March 2006 at 10:26pm

since we need to load property page in the property sheet where the shortcut bar located. For Example if i click login icon in the shortcutbar it should load the login page in the propertysheet. 

It is Taskpanel same like shortcutbar

please help

it is very important

 



Posted By: Oleg
Date Posted: 21 March 2006 at 7:42am

Hello,

Just see our samples. For CXTPShortcutBar you have to catch XTPWM_SHORTCUTBAR_NOTIFY message.

+ wParam must be XTP_SBN_SELECTION_CHANGING



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Raj.krishnan
Date Posted: 21 March 2006 at 10:47pm

Iam not using CXTPShortcutbar iam using the CXTPTaskPanel for showing the items given in TaskPanel sample.

Our code :

CEUDPropertySheet is nothing but a derived class from CPropertySheet

LRESULT CEUDPropertySheet::OnOutbarNotify(WPARAM wParam, LPARAM lParam)
{

 switch (wParam)
 {
 case XTP_TPN_CLICK:
  {
   CXTPTaskPanelGroupItem* pItem = (CXTPTaskPanelGroupItem*)lParam;
   UINT nId = pItem->GetID( );
   int nActiveIdx = 0;
   switch ( nId )

This is how i am doing to capture the message but it is not trapping that message.

Please help to solve this issue whether iam missing anything . this is very important since it will solve a feature implementation

 

 

 

 



Posted By: Oleg
Date Posted: 22 March 2006 at 7:34am

Hello,

I lost - you say you use TaskPanel, call it shortcutbar, and call method OnOutbarNotify.

Please attach whole project, I need to see whole picture.

 



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Raj.krishnan
Date Posted: 28 March 2006 at 6:06am

Hi Oleg ,

 Thank you for taking interest on this issue . I had recreated my workspace and it is working properly now .nothing I had did other than recreating the workspace. I had anopther issue i had posted it regarding the dialog resizing issue so kindly help on that issue.

 

 




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