[Mono-winforms-list] Re: How to know the rect associated with a handle ?
Dasnois Benjamin <email@example.com>
Sat, 9 Oct 2004 23:45:34 +0200
Ok I just figured out that there's a XplatUI instance which allow
access to the good driver. I replied just for it to be in the archives
if someone cares ;-)
On Sat, 9 Oct 2004 23:36:13 +0200, Dasnois Benjamin
> I'm working on a CommonDialog implementation but I need to know the
> rectangle associated with a handle (IntPtr)
> I saw two functions to do this: the first one is Win32GetClientRect
> in XplatUIWin32 and the second one is GetWindowPos in XplatUI
> So I suppose one is for linux (X server) and the other one is for
> windows but I would like to know how I can know which one to use, in
> other words: how can I know if I'm under windows or linux ? Or maybe
> there's a simpler solution ?
> DASNOIS Benjamin