CreateParams does not work on Win32
Original Reporter info from Mantis: tk
-
Reporter name: TK
Original Reporter info from Mantis: tk
- Reporter name: TK
Description:
In TWin32WSWinControl.CreateHandle, AParams:TCreateParams previously filled in CreateParams chain is passed as a parameter but not used to create the window handle at all. Instead of this a custom TCreateWindowExParams record is filled in PrepareCreateWindow. At least AParams.Style and AParams.ExStyle must be used to create the window handle. A patch for this:
TWin32WSWinControl.CreateHandle..
...
with Params do
begin
Flags := AParams.Style;
FlagsEx := AParams.ExStyle;
....
(these parameters filled in PrepareCreateWindows are not used)
Mantis conversion info:
- Mantis ID: 14288
- Version: 0.9.26.2
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 25149 (#0cc6be30)
- Monitored by: » tk (TK)
- Target version: 0.9.30