[fpc-devel] WINDRES & WS_CAPTION

Peter Vreman peter at freepascal.org
Wed Jan 12 15:32:17 CET 2005


>
> Hello!
> I used FPC 1.0.4 for a long time. Now I switched to 1.9.6.
> I have some programs which has a window without standard caption.
> The resource file defines the windows style az WS_BORDER, but the
> window (program is compiled with 1.9.6) has a caption!
>
> I opened the exe with Resource Hacker and found the resource
> dialog style is WS_BORDER | WS_CAPTION.
>
> The package 1.9.6 includes WINDRES 2.9.5, but when I replace it
> with 2.15.19 (from FPC 1.0.4) and compile the program again,
> there's no caption! :-)

1.9.6 comes with GNU windres 2.15.91 20040904






More information about the fpc-devel mailing list