[Mono-dev] How to access XplatUI for custom controls?
Miguel de Icaza
miguel at novell.com
Fri Oct 15 11:31:34 EDT 2010
Hello,
Right now, I'm using only a very limited subset:
> GetFocus,
> ResetMouseHover
> ScrollWindow
>
> 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.
Miguel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20101015/d0a763af/attachment.html
More information about the Mono-devel-list
mailing list