Print Page | Close Window

OnDockingPaneNotify

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=7559
Printed Date: 12 December 2024 at 12:30pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: OnDockingPaneNotify
Posted By: coldjoke
Subject: OnDockingPaneNotify
Date Posted: 09 July 2007 at 5:16am
when wParam == XTP_DPN_ACTION
lParam carries XTP_DOCKINGPANE_ACTION
now, how do I know which pane is notifying me??



Replies:
Posted By: mgampi
Date Posted: 09 July 2007 at 6:49am
Hi;
 
LPARAM actually contains a pointer to a XTP_DOCKINGPANE_ACTION structure. To get the pane check its pPane member like this:
 
if (wp==XTP_DPN_ACTION)
{
  
XTP_DOCKINGPANE_ACTION* pAction = (XTP_DOCKINGPANE_ACTION*)lp;
   if (pAction->pPane->GetID()==IDR_MYPANE)
   ...
 


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022


Posted By: coldjoke
Date Posted: 09 July 2007 at 11:32pm

i see~

thanks for your help~   



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