Print Page | Close Window

pop-up menu causes pane to close

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=17757
Printed Date: 19 April 2024 at 7:11pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: pop-up menu causes pane to close
Posted By: MichaelN
Subject: pop-up menu causes pane to close
Date Posted: 06 January 2011 at 2:54pm
I open a docking pane, then right click inside it to open a context menu. When I move the mouse on the menu but outside the pane, the pane closes. The parent CWnd of the menu is set to the pane. Is it possible to force the pane to stay open while its menu is open?
 
Thanks,
Michael



Replies:
Posted By: Oleg
Date Posted: 06 January 2011 at 4:23pm
Hi,

Guess its something in your code...


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


Posted By: MichaelN
Date Posted: 06 January 2011 at 4:57pm
Cute reply. Such as what?


Posted By: Oleg
Date Posted: 07 January 2011 at 2:34am
ok, seems I see now - "open pane" means it was hidden and you expand it ?
When you open it do you click on its tab and it become active ? if not, try manually call SetFocus to your pane.


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



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