Re: [lazarus] setcolor dot'w work

2005-11-13 Thread Mattias Gaertner
On Sun, 13 Nov 2005 13:28:08 +0100 darekM [EMAIL PROTECTED] wrote: Mattias Gaertner napisa?(a): Ok, I change it but whats about GetPixelsPerInch It should not force to create the Handle. If there is no Handle it should return a default value. Mattias Darek On Sun, 13 Nov 2005

[lazarus] patch for TWinControl.GetHandle

2005-11-13 Thread darekm
Index: lcl/include/wincontrol.inc === --- lcl/include/wincontrol.inc(wersja 8136) +++ lcl/include/wincontrol.inc(kopia robocza) @@ -3993,7 +3993,7 @@ begin if not HandleAllocated then //Assert(False,

Re: [lazarus] patch for TWinControl.GetHandle

2005-11-13 Thread Micha Nelissen
On Sun, 13 Nov 2005 17:37:18 +0100 darekm [EMAIL PROTECTED] wrote: Index: lcl/include/wincontrol.inc === --- lcl/include/wincontrol.inc(wersja 8136) +++ lcl/include/wincontrol.inc(kopia robocza) @@ -3993,7 +3993,7 @@

Re: [lazarus] Re: Big size of W32 *.exe files

2005-11-13 Thread Alex Smirnov
1)How can I build Lazarus from command promt to make all ints units Smart Linkable? Also, is it possible to add somewhere thouse optimization switches: -S2cgi -CX -Og3ru -gl -XX in fpc.cfg Darek Thank you, Darek! I try to add my switches. This is the result: Free Pascal

Re: [lazarus] patch for setPixelPerInch

2005-11-13 Thread darekM
Micha Nelissen napisa(a): On Sun, 13 Nov 2005 17:49:17 +0100 darekm [EMAIL PROTECTED] wrote: New patch (setColor not work yet, but I think with this patch we don't lost time to setup PixelPerInch ) What does this fix ? Maybe PixelsPerInch and Scaled should be

Re: [lazarus] patch for setPixelPerInch

2005-11-13 Thread Micha Nelissen
On Sun, 13 Nov 2005 18:54:18 +0100 darekM [EMAIL PROTECTED] wrote: Micha Nelissen napisa?(a): Till now fPixelsPerInch is setup during initializations of forms (in CreateWND) I want to remove it from this place, when I create many Forms that is waste of time (not all form will be visible)

Re: [lazarus] patch for TWinControl.GetHandle

2005-11-13 Thread darekM
Micha Nelissen napisa(a): On Sun, 13 Nov 2005 17:37:18 +0100 darekm [EMAIL PROTECTED] wrote: Index: lcl/include/wincontrol.inc === --- lcl/include/wincontrol.inc(wersja 8136) +++ lcl/include/wincontrol.inc

Re: [lazarus] patch for setPixelPerInch

2005-11-13 Thread darekM
Micha Nelissen napisał(a): What does PixelsPerInch have to do with sizes of fonts ? Maybe not from Forms, but I use PixelsPerInch for calculate size of printing elements, I don't remember exactly, Why You want to remove it. It's not disturb. Darek

Re: [lazarus] patch for setPixelPerInch

2005-11-13 Thread Micha Nelissen
On Sun, 13 Nov 2005 21:10:28 +0100 darekM [EMAIL PROTECTED] wrote: Micha Nelissen napisał(a): What does PixelsPerInch have to do with sizes of fonts ? Maybe not from Forms, but I use PixelsPerInch for calculate size of printing elements, I don't remember exactly, Measuring your

Re: [lazarus] patch for setPixelPerInch

2005-11-13 Thread darekM
Measuring your text using PixelsPerInch is very unreliable, almost meaningless. Why You want to remove it. It's not disturb. Because it does not have much meaning, and it changes often from one user to the next. Ok, I can live without it. But please, remove it

[lazarus] Substitute for WinAPI BitBlt

2005-11-13 Thread Felipe Monteiro de Carvalho
Hi, I am converting a Visual Studio .NET program to Laarus, but the program uses BitBlt from the Windows API extensively and for nearly everything it does on graphics: Copy part of a bitmap from a place to another, inverting the bitmap colors, etc. I'd like to make the program

Re: [lazarus] patch for TWinControl.GetHandle

2005-11-13 Thread Marc Weustink
darekM wrote: Micha Nelissen napisał(a): On Sun, 13 Nov 2005 17:37:18 +0100 darekm [EMAIL PROTECTED] wrote: Index: lcl/include/wincontrol.inc === --- lcl/include/wincontrol.inc(wersja 8136) +++ lcl/include/wincontrol.inc

Re: [lazarus] Re: Big size of W32 *.exe files

2005-11-13 Thread Peter Vreman
May be it is impossible to compilate Lazarus wit Smart Linking? No, it is not. Acctually I never tryed to recompile lazarus IDE with smart linking, but the LCL, the code that is acctually put inside your program surely can be compiled with smart linking. I bet this will bring the exe size

Re: [lazarus] patch for TWinControl.GetHandle

2005-11-13 Thread darekM
Marc Weustink napisał(a): darekM wrote: Micha Nelissen napisał(a): On Sun, 13 Nov 2005 17:37:18 +0100 darekm [EMAIL PROTECTED] wrote: Index: lcl/include/wincontrol.inc === --- lcl/include/wincontrol.inc(wersja 8136)