BBC BASIC for Windows
« Wnndows 7 Display query »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 11:20pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Wnndows 7 Display query  (Read 1176 times)
JFS
New Member
Image


member is offline

Avatar




PM


Posts: 11
xx Re: Wnndows 7 Display query
« Reply #4 on: Apr 23rd, 2014, 1:02pm »

Just to clarify one detail - it is not that the appearance of my app remains unchanged at different dpi settings - just that the fonts in the dialogue boxes remain the same size - until you get to about 130dpi at which point there is a discontinuity and fonts suddenly get larger.

I have discovered that "Use XP Style dpi Scaling" being unticked changes things - in that the system then has the same effect on my app as changing the screen res - and it looks dreadful for the reasons you mentioned. Setting ProcessDPIAware causes the same effect.

But now that my bitmaps are scaling correctly I can live with it - the only slight issue remaining is that when the font suddenly changes size as mentioned, the horizontal scrollbars fail to appear on the List Boxes when they should which is frustrating, but perhaps a small issue.

But all of this has shown me that my app is now extremely dated - just writing in this forum, I can zoom using ctrl+Scrollwheel - would that my app was that clever...

Many thanks again,
« Last Edit: Apr 23rd, 2014, 1:03pm by JFS » User IP Logged

Best Wishes,

Howard
rtr
Guest
xx Re: Wnndows 7 Display query
« Reply #5 on: Apr 23rd, 2014, 2:56pm »

on Apr 23rd, 2014, 1:02pm, JFS wrote:
just writing in this forum, I can zoom using ctrl+Scrollwheel - would that my app was that clever...

As you are probably aware, support for Ctrl+Scrollwheel zooming in the BB4W IDE's editing pane was one of the features added in v5.95a (although you must have selected a scalable font for it to work, not FixedSys!).

Supporting it in your own program is another matter of course, although not necessarily all that difficult depending on the nature of your application.

Richard.
User IP Logged

JFS
New Member
Image


member is offline

Avatar




PM


Posts: 11
xx Re: Wnndows 7 Display query
« Reply #6 on: Apr 24th, 2014, 10:09am »

Indeed yes, and thanks for that - though I confess I discovered the feature by accident rather than from reading the notes...
My app basically creates a large bitmap which the users currently scroll or drag. Zoom is by creating a new bitmap with bigger images.
Has any one written up a ctrl+scroll implementation before I go to try to re-invent a new wheel?

Many thanks,

User IP Logged

Best Wishes,

Howard
rtr
Guest
xx Re: Wnndows 7 Display query
« Reply #7 on: Apr 24th, 2014, 10:37am »

on Apr 24th, 2014, 10:09am, JFS wrote:
Has any one written up a ctrl+scroll implementation before I go to try to re-invent a new wheel?

Could you use StretchBlt or SetWorldTransform?

Richard.
User IP Logged

JFS
New Member
Image


member is offline

Avatar




PM


Posts: 11
xx Re: Wnndows 7 Display query
« Reply #8 on: Apr 24th, 2014, 5:22pm »

on Apr 24th, 2014, 10:37am, Richard Russell wrote:
Could you use StretchBlt or SetWorldTransform?



I will look into the suggestions - many thanks Richard.

User IP Logged

Best Wishes,

Howard
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls