![]() |
GetWindowRect units |
Post Reply
|
| Author | |
Marek
Groupie
Joined: 02 February 2005 Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Topic: GetWindowRect unitsPosted: 15 July 2005 at 6:32pm |
|
Does anyone know what kind of units the values are in when you call GetWindowRect() on the ActiveMenuBar? They seem weird. -m |
|
![]() |
|
blazej
Groupie
Joined: 09 February 2005 Location: Canada Status: Offline Points: 53 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 July 2005 at 2:06pm |
|
Hi
Take a look at ScaleMode property of the CommandBars control. If you want the unit to be pixels, you need to do something like this in your form's constructor or OnLoad event handler: _commandBars.ScaleMode = XtremeCommandBars.XTPScaleMode.xtpScalePixel
Michal |
|
![]() |
|
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 |