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. -----Original Message----- From: Mattias Gaertner [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 31, 2007 6:28 AM To: lazarus@miraclec.com Subject: Re: [lazarus] Roadmap "Status of features" On Tue, 31 Jul 2007 12:12:00 +0200 zeljko <[EMAIL PROTECTED]> wrote: > On Tuesday 31 July 2007 11:47, Mattias Gaertner wrote: > > On Tue, 31 Jul 2007 09:03:23 +0200 > > > > zeljko <[EMAIL PROTECTED]> wrote: > > > On Friday 20 July 2007 22:06, Hess, Philip J wrote: > > > > > > please, back SetMapMode() into api, it's needed by virtualtree ... > > > > Why? > > It didn't do anything. > > not at that time, but it was written, by my mistake commented, > because I haven't seen any call to this routine until I've seen it in > TVirtualTree :) So it's useable, I'll back it and test. is it ok ? I only found a start in the QT interface. Why does virtualtree need a SetMapMode under QT and nowhere else? Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives