Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - double click on docking pane
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

double click on docking pane

 Post Reply Post Reply
Author
Message
tataxin View Drop Down
Newbie
Newbie


Joined: 22 May 2008
Location: United Kingdom
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote tataxin Quote  Post ReplyReply Direct Link To This Post Topic: double click on docking pane
    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!
Back to Top
tataxin View Drop Down
Newbie
Newbie


Joined: 22 May 2008
Location: United Kingdom
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote tataxin Quote  Post ReplyReply Direct Link To This Post Posted: 06 July 2008 at 8:57pm
helppppp, please!!!
does anyone has any way to catch the event double click on XCTPDockingPane??
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 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
Back to Top
tataxin View Drop Down
Newbie
Newbie


Joined: 22 May 2008
Location: United Kingdom
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote tataxin Quote  Post ReplyReply Direct Link To This Post Posted: 08 July 2008 at 1:09am
thank you, oleg.
I will try it and report here.
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 08 July 2008 at 6:37am
You probably need to override the click-behavior in DockingMiniWnd-class too.
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.062 seconds.