OnDockingPaneNotify |
Post Reply |
Author | |
coldjoke
Newbie Joined: 07 June 2007 Status: Offline Points: 8 |
Post Options
Thanks(0)
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??
|
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
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 |
|
coldjoke
Newbie Joined: 07 June 2007 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
i see~ thanks for your help~
|
|
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 |