Print Page | Close Window

double click on docking pane

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=11302
Printed Date: 20 April 2024 at 9:13am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: double click on docking pane
Posted By: tataxin
Subject: double click on docking pane
Date Posted: 03 July 2008 at 8:56pm
Hi,
I have a dockingpane manager CXTPDockingPaneManager m_paneManager. Then I create a pane CXTPDockingPane, like this:
m_pPaneAlarmCauseMsg = m_paneManager.CreatePane(IDR_PANE_ID, rec,xtpPaneDockLeft);

The pane have a title, given by codejock (title bar property on dialog is false)

Now what I want is catch the event mouse double click on that title bar. But I don't know how to implement this.

Can you show me the way? It's great if you can give me an example.
Thank you in advance!



Replies:
Posted By: tataxin
Date Posted: 06 July 2008 at 8:57pm
helppppp, please!!!
does anyone has any way to catch the event double click on XCTPDockingPane??


Posted By: Oleg
Date Posted: 07 July 2008 at 3:50am
Hi,
 
Its not very easy. :(

Start from Samples\DockingPane\DockingContainers  sample - it shows how to create custom container. You need custom TabbedContainer and catch WM_LBUTTONDBLCLK.


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


Posted By: tataxin
Date Posted: 08 July 2008 at 1:09am
thank you, oleg.
I will try it and report here.


Posted By: znakeeye
Date Posted: 08 July 2008 at 6:37am
You probably need to override the click-behavior in DockingMiniWnd-class too.



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