[Mono-dev] How to access XplatUI for custom controls?
Miguel de Icaza
miguel at novell.com
Fri Oct 15 11:31:34 EDT 2010
Right now, I'm using only a very limited subset:
> So obviously, I could manage it manually. But I was thinking about porting
> various opensource controls, available on Internet and which uses
> GUI-related win32 calls (such as the ecellent DockPanel). As a lot of work
> has been within XplatUI and its "drivers", I was looking at reusing them. My
> first idea was to ask about making all/some XplatUI's methods public. But
> maybe the easier way is to extract what's needed from these classes (easier
> but not smarter way though).
I would support having an extra library "WinformsSupport.dll" that exposes
those methods for you. Interested in cooking the patch?
It would probably be a matter of making the [InternalsVisisbleTo:] the new
assembly, and then exposing public methods for it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list