Print Page | Close Window

Determining Client Area

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=13901
Printed Date: 06 November 2025 at 11:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Determining Client Area
Posted By: RDONNAY
Subject: Determining Client Area
Date Posted: 02 April 2009 at 2:43pm
I am working with Commandbars using Xbase++.

I am trying to determined the Client Area by using the CommandBars.GetClientRect() method.

The values returned do not make sense to me.
They are much larger than my screen.
For example: 0, -608, 14605, 8305

Can someone help me understand these numbers?




Replies:
Posted By: RDONNAY
Date Posted: 02 April 2009 at 7:24pm
Nevermind. I figured it out.

oCommandBars:scaleMode := xtpScalePixel



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net