Print Page | Close Window

Can't make a pane the active one

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


Topic: Can't make a pane the active one
Posted By: Aaron Koolen
Subject: Can't make a pane the active one
Date Posted: 15 October 2009 at 6:09pm
Hi all. I have some docking panes, with another window inside each.

Some controls elsewhere outside the panes will work on panemanager->GetActivePane()when clicked.


When I click inside a window that's attached to a pane, I try SetFocus() and Select() to make the pane active so that the buttons know which one to use. This doesn't seem to work.

How can I set which pane is the active one such that when I call paneManager->GetActivePane() I will get that pane returned to me?

Thanks
Aaron

-------------
Product: Xtreme ToolkitPro v13.3.0 (MFC)
Platform: Windows XP (32bit) - SP 3
Language: Visual C++ 6



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