Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Best way to get a pane-like caption on main view?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

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

 Post Reply Post Reply
Author
Message
Smucker View Drop Down
Senior Member
Senior Member
Avatar

Joined: 02 February 2008
Status: Offline
Points: 156
Post Options Post Options   Thanks (0) Thanks(0)   Quote Smucker Quote  Post ReplyReply Direct Link To This Post Topic: Best way to get a pane-like caption on main view?
    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)

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: 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
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.141 seconds.