![]()  | 
 
Best way to get a pane-like caption on main view? | 
 
    Post Reply  
   | 
  
| Author | |
   
   Smucker  
   
   Senior Member  
   Joined: 02 February 2008 Status: Offline Points: 156  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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)  | 
 |
![]()  | 
 |
   
   znakeeye  
   
   Senior Member  
   Joined: 26 July 2006 Status: Offline Points: 1672  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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 
    | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |