![]()  | 
 
How to handle pane re-sizing event? | 
 
    Post Reply  
   | 
  
| Author | |
   
   marik  
   
   Newbie  
   Joined: 04 January 2008 Status: Offline Points: 6  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: How to handle pane re-sizing event?Posted: 23 January 2008 at 11:14am  | 
 
| 
   
    How to handle a pane re-sizing event within OnDockingPaneNotify? Thanks in advance  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 23 January 2008 at 1:45pm | 
 
| 
   
    Hi, There is no notification. You have to catch WM_SIZE in your windows attached to panes.  | 
 |
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |
![]()  | 
 |
   
   marik  
   
   Newbie  
   Joined: 04 January 2008 Status: Offline Points: 6  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 29 January 2008 at 11:46am | 
 
   
   ![]() Thanks Oleg 
However, I see that messages are pumping into OnDockingPaneNotify when splitter is moving. Any idea what kind of message I can to handle in order to trace dock splitter movement? Or, do you have CEdit-dervied control that handles WM_SIZE? Thanks in advance  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 29 January 2008 at 11:57am | 
 
| 
   
    
   Hi,
 
   
  Any CEdit derived control can handle WM_SIZE. 
    | 
 |
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |
![]()  | 
 |
   
   marik  
   
   Newbie  
   Joined: 04 January 2008 Status: Offline Points: 6  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 29 January 2008 at 12:01pm | 
 
| 
   
    However, I see that messages are pumping into OnDockingPaneNotify when splitter is moving. Any idea what kind of messages I need to handle in order to trace dock splitter movement? And are you planning to add this functionality in the future?  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 29 January 2008 at 1:04pm | 
 
| 
   
    Hello, It sends XTP_DPN_SHOWWINDOW. But DockingPane sends it in another situations too. 
I don't see situations when you need such message... Can you describe me what do you want add in handler ? 
    | 
 |
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |
![]()  | 
 |
   
   marik  
   
   Newbie  
   Joined: 04 January 2008 Status: Offline Points: 6  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 29 January 2008 at 1:10pm | 
 
| 
   
    Hello, hello 
I need to adjust size of a view embedded to a pane by SendMessage(WM_SIZE) to parent view when size of the embedded view changed by moving splitter, which causes neighbor edit controls got resized. 
Does it make sense?  | 
 |
![]()  | 
 |
    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  |