>Hi Christian.
>
>>Thanks, but I could not succeed making it work with the new files. I use ReportBehavior 90 and the result is the same as before. Maybe I am doing something different?
>>
>>In the meantime I found out that there is a setting in the display settings where you can set a custom text size and check "Use Windows XP style DPI scaling", which will then also work with the VFP reports.
>
>You mentioned that the VFP preview form works but not your own preview container. First, make sure the listener is using the corrected _FRXCursor.vcx; perhaps add a SET STEP ON in the CreateBandCursor method of FRXCursor. There could be several reasons why it's using a different, unchanged copy.
>
>Doug
The problem is in Windows Vista/7/8 where GetDeviceCaps() return 96 for LOGPIXELSX if display=150%
Are two ways:
- Check "Disable display scaling on high DPI settings" in exe shortcut properties on Compatibility page
- call at start application API function SetProcessDPIAware()
DECLARE INTEGER SetProcessDPIAware in WIN32API
?SetProcessDPIAware()