On Tue, 31 Jul 2007 09:39:04 -0400
"Hess, Philip J" <[EMAIL PROTECTED]> wrote:
> SetMapMode is a uniquely powerful API function. The MM_ANISOTROPIC
> mode lets you work with any logical units you want (for example, high
> resolution) and let the GDI map them to lower-res units (for example,
> screen coordinates). Of course, to be useful we would also need
> SetWindowExtEx and SetViewportExtEx.
>
> It appears as though implementing these in win32winapi.inc would only
> take one line of code each (pass through to Windows unit). I don't
> have any idea of what implementing these functions in other
> widgetsets would take.
Of course it is a one liner in win32winapi ;).
The question is how to do it in the other default widgetset: gtk.
I see 3 possibilities:
1. Find a solution how to do it in gtk
2. Improve the qt widgetset to become better than the gtk widgetset and
implement the qt SetMapMode
3. Write a pascal unit with SetMapMode(s) for the various platforms and
add it to virtualtree. Then advice the users that vt needs
qt or win32/64.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives