-
Notifications
You must be signed in to change notification settings - Fork 887
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Icon: Switch to LoadIconWithScaleDown()
Legacy LoadImage() picks a smaller icon variant and scales it up when the desired size is not available. LoadIconWithScaleDown() introduced in Windows Vista picks a larger icon variant and scales it down producing slightly better results. Signed-off-by: Simon Rozman <[email protected]>
- Loading branch information
Showing
1 changed file
with
5 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c0bb82a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this changes can not work on window server 2003 r3 SP2, LoadIconWithScaleDown failed.
c0bb82a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See you have provided a fallback to
LoadImage()
in #657. Thanks.