[Mono-winforms-list] Dock Panels?

Miguel de Icaza miguel at ximian.com
Sun Nov 12 08:09:56 EST 2006


Hello,

> anyone already checked if its possible to use or adept Weifen Luo's DockPanel Suite 
> with mono winforms? would be great if this could be possibe. :)
> 
> here's a link to the suite:
> http://sourceforge.net/projects/dockpanelsuite

Chris is correct, the code does a fair amount of P/Invoke into User32.

Luckly there are only 32 places where this happens, I went ahead and
ifdefed out all the pieces, and added warning messages for all the
missing routines, and packaged it as a tarball.

It does not currently work, the tarball am posting starts up, does not
paint what I believe is the area where the dock is, and I believe the
Makefile generated is incorrect as it is unable to find the string
resources (the names on the resources is wrong).

All my changes are attached as a patch, or available in a ready-to-use
tarball here:

	http://tirania.org/dockpanel-port.tar.gz

This could be used as a starting point;  Maybe we could provide a
Managed.Helper.Winforms.dll that would provide similar functionality to
the one this library depends on, and eventually we could have a
"Guidelines to port you winforms app with lots of pinvokes".

Miguel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dockpanel.patch
Type: text/x-patch
Size: 27547 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20061112/f0a2e243/attachment-0001.bin 


More information about the Mono-winforms-list mailing list