Behavior of LCL Client Area (was: win32 development)

Karl Brandt pascalive at bol.com.br
Wed Sep 25 00:51:10 EDT 2002


Andrew Johnson wrote:

>
>> I deleted the files and made new update again: the files are without 
>> the patch :-(
>
> [..]
>
>> Do you guess what's wrong?
>
>
> At the moment my laptop is disconnected from the internet so I cannot 
> test..(its the only computer with windows) I will look into it tomorrow.

I checked the CVSWeb and it's not applied.

>
> Just in case its a bad patch on my system, why don't you send the 
> patch again(gzipped to be on the safe side) direct to my E-Mail address.

Did

>> So in win32 would be diferent of gtk?
>
>
> unfortunatly yes. in this area, and a few others. esp in regars to 
> forms (border, system buttons, etc)

Let me understand: are you saying that the correct/objective is when set 
Height/Width property in LCL/win32 the window size would be set, and 
under LCL/gtk the client size would be set?
There are some problems with making diferent behaviors for each platform.
One example: the ide *.lfm sets the same size for both client and window 
sizes.
In win32 what would be the correct value?

>
>> In other words: there's no way to make client area work as i 
>> mentioned before in gtk/lazarus :-\
>
>
> Correct.. this is an area where Win32 should be as compatible as 
> possible with Delphi for porting to lazarus reasons, but for new 
> projects and projects ported to *nix ClienttArea should be used for 
> cross-compiling reasons. If I find a way to make semi-compatibiity 
> I'll implement it, but given what I have read in the X headers and in 
> the X Specs, it doesn't look like







More information about the Lazarus mailing list