Print Page | Close Window

Icon Size using TrackPopupMenu

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=23875
Printed Date: 11 December 2024 at 6:27pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Icon Size using TrackPopupMenu
Posted By: cpede
Subject: Icon Size using TrackPopupMenu
Date 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++)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net