Watch, Follow, &
Connect with Us

ID: 25646, Control resize bugfix unit for the WH_CALLWNDPROC issue; V 1.1

by Andreas Hausladen Email: Anonymous

Unit that fixes the control resize bug for stacked controls that is caused by WH_CALLWNDPROC window hooks.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 5.0  to 11.0 1580 downloads
Copyright: No significant restrictions

Size: 3,849 bytes
Updated on Mon, 26 May 2008 09:51:26 GMT
Originally uploaded on Sat, 24 May 2008 11:42:35 GMT
SHA1 Hash: A098AA5695F82EBC43C2A52B487AF903E3514350
MD5 Hash: B9A31F83D7E8977E59A0522B005EA258

    Explore the files in this upload

VCL applications (and others) can forget to align stacked controls if a WH_CALLWNDPROC window hook is installed. This is due to a kernel stack overflow that is caused by calling SetWindowPos recursively while aligning the controls.

The fix unit changes the control alignment of the VCL by transforming the recursive SetWindowPos calls into iterative calls.

Add the unit to the .dpr file's uses-list.

- Added code to detect endless resizing controls.
- Added experimental OPTIMIZED_RESIZE_REDRAW option for faster form resizing. Disabled by default.
- Initial release

Detailed information about the Windows bug by Jordan Russell:

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03