Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Icon Size using TrackPopupMenu
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Icon Size using TrackPopupMenu

 Post Reply Post Reply
Author
Message
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 668
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: Icon Size using TrackPopupMenu
    Posted: 10 July 2019 at 4:13am
I can get my Tool Bar to scale according to the current DPI by setting
pCommandBars->GetPaintManager()->m_bAutoResizeIcons = TRUE;
pCommandBars->GetCommandBarsOptions()->SetDPIScallingOptions(TRUE);
However when I call a context menu using
CXTPCommandBars::TrackPopupMenu
the icons are not scaled.

What should I do go get the icons in the popup context menu to scale with the DPI?

-cpede
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.