Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Can't get pane to open by click only
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Can't get pane to open by click only

 Post Reply Post Reply
Author
Message
MichaelN View Drop Down
Senior Member
Senior Member


Joined: 19 September 2006
Status: Offline
Points: 112
Post Options Post Options   Thanks (0) Thanks(0)   Quote MichaelN Quote  Post ReplyReply Direct Link To This Post Topic: Can't get pane to open by click only
    Posted: 26 January 2011 at 1:57pm
Where do I set the following option so the pane never opens by hovering?

SetOptions( xtpPaneNoHoverShow );

I've tried setting it in the XTP_DPN_SHOWWINDOW notification but the pane still opens the first time by hovering. After that it works correctly, requiring a click to open. I don't want it to open the first time by hovering.
 
Michael
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: 27 January 2011 at 4:44am
Hi,

best way in CMainFrame::OnCreate - call
m_paneManager.SetDefaultPaneOptions(xtpPaneNoHoverShow ); - it will apply for all panes.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
MichaelN View Drop Down
Senior Member
Senior Member


Joined: 19 September 2006
Status: Offline
Points: 112
Post Options Post Options   Thanks (0) Thanks(0)   Quote MichaelN Quote  Post ReplyReply Direct Link To This Post Posted: 04 February 2011 at 6:10pm
Hi Oleg,
 
Yes, that worked. Thank you!
 
Michael
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.172 seconds.