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
Status: Offline
Points: 553
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 (18.0.1)
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



This page was generated in 0.109 seconds.