Print Page | Close Window

CXTResizeRect question

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=216
Printed Date: 21 December 2024 at 9:05pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTResizeRect question
Posted By: Karnize
Subject: CXTResizeRect question
Date Posted: 06 November 2003 at 9:06am

Hello,

I have some problems with resizing in my program (I use it very hard) so I try to understand how it works and have one question.

You have CXTResizeRect, it is just a cover around XT_RESIZERECT structure. All members of this structure is XT_RESIZE type. XT_RESIZE is a typedef for double. WHY? Why you use doubles to  store window rect coordinates? I look to all your code and do not find any places which use this rect members as doubles. I change this typedef to int ("typedef int XT_RESIZE") and nothing changes in library work but library became a little bit smaller and resizing works really faster (it very visibly at busy PC with "Display window content while resizing" Windows options enabled).




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