[lazarus] native Win32 Interface BugFix, maybe

Michal Bukovjan bukovjan at mbox.dkm.cz
Thu Aug 29 14:07:46 EDT 2002


Markus Lüdin wrote:

>>>//  if Sender is TCustomForm then
>>>//  begin
>>>//    inc(Width, 50);
>>>//    inc(Height, 50);
>>>//  end;
>>>
>>>      
>>>
>>I added this code a couple days ago because forms are always too small.
>>It's a hack until somebody can figure out why it happens.
>>    
>>
>
>This issue is also solved with the updated WM_SIZE and WM_MOVE they form
>got smaller because it got reduced to the client area...but that does not
>happen anymore
>so you can delete that....
>
>Attached is my work from today...I made the CreatePixmapIndirect work. I
>tested it with
>the bitbutton demo and the splash screen, both seem to work now....but it
>could be a bit faster,
>at least it works now :)..if someone could check and add to the
>cvs....thanks.
>
>Regards
>Markus
>  
>
Done.

Would you consider using patch files in the future?

cvs diff -u [filename...] >my_shiny_new_patch.patch

is our friend...

Michal







More information about the Lazarus mailing list