![]() |
Get CXTPToolbar rect |
Post Reply
|
| Author | |
yoavo
Senior Member
Joined: 29 February 2004 Location: Israel Status: Offline Points: 140 |
Post Options
Thanks(0)
Quote Reply
Topic: Get CXTPToolbar rectPosted: 28 December 2005 at 2:48am |
|
Hi, I need to get the dimensions of a CXTPToolbar just after it has been created. I use: GetWindowRect method on the toolbar. The problem is that I get an empty rect (bottom equals top, right equal left). I tried to add RecalcLayout() before calling the method, but it works only for toolbars that are docked, and I need the dimensions for a floating toolbar. Yoav. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 December 2005 at 1:49am |
|
Hello, Call pToolBar->OnRecalcLayout(); |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |