Author |
Topic: Wnndows 7 Display query (Read 1176 times) |
|
JFS
New Member
member is offline


Posts: 11
|
 |
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 » |
Logged
|
Best Wishes,
Howard
|
|
|
rtr
Guest
|
 |
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.
|
|
Logged
|
|
|
|
JFS
New Member
member is offline


Posts: 11
|
 |
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,
|
|
Logged
|
Best Wishes,
Howard
|
|
|
rtr
Guest
|
 |
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.
|
|
Logged
|
|
|
|
JFS
New Member
member is offline


Posts: 11
|
 |
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.
|
|
Logged
|
Best Wishes,
Howard
|
|
|
|