[Lazarus] Win32/64 application handle

Paul Ishenin webpirat at mail.ru
Fri May 7 01:15:38 CEST 2010


07.05.2010 6:47, José Mejuto wrote:
> Does anybody know the technical reason why the application handle can
> not be the mainform handle ?
>    
1. Application must have only 1 icon on the taskbar
2. Forms need to have the same z-order (non-main forms should not be 
always on top of the main form)
3. All application windows needs to be minimized/restored on taskbar 
item mimizise/restore

All this caused the decision to add a dummy application window which is 
a parent of all the forms.

It is possible to implement all this without that window but:
1. some things will be more difficult
2. some user code can depend on Application.Handle

Somewhere in the future we will reimplement this.

Best regards,
Paul Ishenin.




More information about the Lazarus mailing list