![]()  | 
 
Add wew function called SetHelpHeight() | 
 
    Post Reply  
   | 
  
| Author | |
   
   jwhagen  
   
   Groupie  
   Joined: 09 May 2003 Location: United States Status: Offline Points: 43  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Add wew function called SetHelpHeight()Posted: 11 June 2003 at 4:25pm  | 
 
| 
   
    I have implemented a function that allows me to change the height of the Help bar within the PropertyGrid class. This is useful as it allows me to preset the height as the application is initializing. Otherwise I am required to resize it each tme the application is started. The code I use is as follows: // Call this member function to set the height of the help pane when visible. // The integer value represents the height in pixels. // void SetHelpHeight(int nHeight); //////////////////////// void CXTPPropertyGrid::SetHelpHeight(int nHeight){ m_nHelpHeight = nHeight; CXTPPClientRect rc(this); Reposition(rc.Width(), rc.Height()); } Thanks.  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 12 June 2003 at 2:36pm | 
 
| 
   
    Thank you for your Suggestion Added SetHelpHeight and SetViewDivider methods. 
  | 
 |
![]()  | 
 |
    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  |