[Lazarus] Docking Support

Martin lazarus at mfriebe.de
Sat Jul 9 13:19:40 CEST 2011


On 09/07/2011 07:04, Martin Schreiber wrote:
> On Friday 08 July 2011 19:46:41 Hans-Peter Diettrich wrote:
>
>> Right. On all other platforms the widgetsets sit on top of an window
>> manager, which influences dragging and docking entire windows (forms).
>> The current (platform independent) workaround is a dock header, added to
>> all dockable forms.
> MSEgui does the same. There probably is no other robust cross platform
> solution than a window manager independent dock grip. In MSEgui the dock grip
> is an element of the widget frame. The dock grips of children can be hidden
> by clicking the small circle button, see attachment.

Create a window, without border, and without title bar; and draw them 
yourself?
Ok, yes that's ugly, because those windows will then look and behave 
different (depending on how well you emulate the windowmanager (or how 
bad you emulate it).

I don't know if Microsoft does this, but in visual studio floating 
windows have a different border color, different looking icons, and no 
shadow....




More information about the Lazarus mailing list