Print Page | Close Window

Best way to get a pane-like caption on main view?

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=9702
Printed Date: 13 May 2025 at 5:30pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Best way to get a pane-like caption on main view?
Posted By: Smucker
Subject: Best way to get a pane-like caption on main view?
Date Posted: 25 February 2008 at 3:10pm
I like the panes showing focus by highlighting the caption bar. But when my main view has focus, there is no caption or visual indication. I would like to remain consistent with the docked panes. What's the simplest way for me to draw a caption consistent with the theme/skin in use for the panes?

Thanks!



-------------
Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)

Platform: Windows 200x/XP/Vista/Win7 (32/64 bit)

Language: Visual C++ 9.0 (Studio 2008)




Replies:
Posted By: znakeeye
Date Posted: 29 February 2008 at 7:38am
Handle WM_LBUTTONDOWN and call SetFocus().
 
Of course you have to add a caption too. http://forum.codejock.com/forum_posts.asp?TID=9682 - http://forum.codejock.com/forum_posts.asp?TID=9682



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