Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Scaling menu check icon without autoresize
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Scaling menu check icon without autoresize

 Post Reply Post Reply
Author
Message
fleg View Drop Down
Groupie
Groupie


Joined: 11 July 2012
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote fleg Quote  Post ReplyReply Direct Link To This Post Topic: Scaling menu check icon without autoresize
    Posted: 18 September 2018 at 11:37am
Hi,

I'm facing a problem that can be reproduced with sample application "Ribbon MDI sample" with 150% DPI (or more). (using Toolkitpro v18.4.0)

When using the "autoresize icon" option, probably corresponding to CXTPPaintManager::m_bAutoResizeIcons, looking at menu with checked items, we can see the check icon is scale to fit the height of the item. Perfect.

Now, if I uncheck the option "autoresize icon", for the same menu the icon is now small.
If doing the same test with 250% DPI, we just see a tiny dot.

At first sight, it looks strange to have the check affected by this option (for me it should be always scaled) but I understand that it might be normal if someone wants to use custom icon for this.

In my application, m_bAutoResizeIcons is OFF, and I manage myself the scaling of icons.

Problem, how could I have the check image scaled keeping autoresize OFF?
Is there an option to have check image resized anyway, or eventually a way to define an alternaive icon to use as check image?

Regards,

Fabien
Back to Top
fleg View Drop Down
Groupie
Groupie


Joined: 11 July 2012
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote fleg Quote  Post ReplyReply Direct Link To This Post Posted: 26 September 2018 at 11:02am
Any tip?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.107 seconds.