Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTResizeRect question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTResizeRect question

 Post Reply Post Reply
Author
Message
Karnize View Drop Down
Newbie
Newbie
Avatar

Joined: 20 October 2003
Location: Italy
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote Karnize Quote  Post ReplyReply Direct Link To This Post Topic: CXTResizeRect question
    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).

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.