|  | 
| How to retrieve current pane size. | 
| Post Reply   | 
| Author | |
| steph   Newbie     Joined: 07 June 2011 Location: Canada Status: Offline Points: 7 |  Post Options  Thanks(0)  Quote  Reply  Topic: How to retrieve current pane size. Posted: 16 August 2011 at 2:43pm | 
| 
   What would be the best way to retrieve the pane size.
 I need to get the height and width of a DockingPane thanks in advance. | |
| 
     steph
     | |
|  | |
| markr   Senior Member   Joined: 01 August 2004 Status: Offline Points: 443 |  Post Options  Thanks(0)  Quote  Reply  Posted: 16 August 2011 at 10:24pm | 
| 
   I haven't tried it myself, but how about something like: Crect rcPane = CXTPDockingPaneManager::FindPane(ID_PANE)->GetPaneWindowRect(); Of course, you'd use an instance variable instead of "CXTPDockingPaneManager". | |
|  | |
| SuperMario   Senior Member     Joined: 14 February 2004 Status: Offline Points: 18057 |  Post Options  Thanks(0)  Quote  Reply  Posted: 17 August 2011 at 8:49am | 
| 
   You can check height and width of window that is attached to this pane.
    | |
|  | |
| 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 |