Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-06

Patch: application terminate

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Micha Nelissen

Hi,

Upon closing the main form I always notice a 'glitch', it shows itself again for a short time. The attached :) patch fixes this. When a window is closed by the user, it is destroyed, ie. windows sends a WM_DESTROY. The removed lines therefore recreated the window again, to destroy it immediately. Not very useful. It would be destroyed anyway when it's corresponding TCustomForm object is freed.

Regards,

Micha.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00040.bin
Type: application/octet-stream
Size: 617 bytes
Desc: "appterminate.patch"
Url : http://localhost/pipermail/lazarus/attachments/20030628/2f56cbe5/bin00040.bin

Reply by email

Mattias Gaertner
to Micha Nelissen
Show quoted text 8 lines
Hi, Upon closing the main form I always notice a 'glitch', it shows itself again for a short time. The attached :) patch fixes this. When a window is closed by the user, it is destroyed, ie. windows sends a WM_DESTROY. The removed lines therefore recreated the window again, to destroy it immediately. Not very useful. It would be destroyed anyway when it's corresponding TCustomForm object is freed.

Applied.

Mattias

Reply by email