当前位置:网站首页>MFC界面库BCGControlBar v33.0 - 桌面警报窗口、网格控件升级等
MFC界面库BCGControlBar v33.0 - 桌面警报窗口、网格控件升级等
2022-06-30 20:16:00 【界面开发小八哥】
亲爱的BCGSoft用户,我们非常高兴地宣布BCGControlBar Professional for MFC和BCGSuite for MFC v33.0正式发布!此版本包括对每个显示器 DPI 感知的支持、改进的信息框和桌面警报控件、主题编辑框气球工具提示和其他新功能和改进。
BCGControlBar Pro for MFC v33.0正式版下载
其他
1. 适用于 Visual Studio 2017 - 2022 的应用程序向导:
- 添加了Per Monitor High DPI Awareness V2选项(见屏幕截图)。

- 当上面的选项被选中时(默认情况下),项目是 Dpi 感知的,并且当主应用程序窗口移动来与其他 Dpi 一起显示时,所有图标/图像都会自动重新加载。
- 停靠面板图标已替换为共享图像列表,并且每个窗格现在都有相应的图标索引。
2. 添加了新类 CBCGPWindowDC(派生自 CWindowDC)、CBCGPPaintDC(派生自 CPaintDC)和 CBCGPClientDC(派生自 CClientDC),使用这些类指定用于 DPI 特定测量的当前窗口。
3. BCGPGLOBAL_DATA 包含 DPI 特定数据的列表,例如字体、光标、图标和缓存尺寸。 所有特定于 DPI 的成员都位于新结构 BCGP_GLOBAL_DATA_DPI 中,如果您需要访问它,请调用 globalData.Get(CWnd*) 或 globalData.Get(nDPI)。
4. 添加了新的 BCGPChartLayout::LegendPosition 值:
- LP_TOPLEFT
- LP_BOTTOMRIGHT
- LP_BOTTOMLEFT
- LP_TOPRIGHT_HORZ
- LP_TOPLEFT_HORZ
- LP_BOTTOMRIGHT_HORZ
- LP_BOTTOMLEFT_HORZ
5. 添加了对 CBCGPGlobalUtils 方法的 DWM PM 支持:
- GetSystemBorders 有一个新的可选参数 nDPI。
- 一个新方法 GetDpiForWindow 返回特定的窗口 DPI。
- 所有 ScaleByDPI 方法都有一个新的可选参数 const CWnd*。
- 添加了一个新方法 GetSystemMetricsForDPI。
此外,以下新方法返回特定于 DPI 的全局成员:GetSizeAllCursor, GetMoveTabCursor, GetNoMoveTabCursor, GetSelectRowCursor, GetMagnifyCursor, GetFontRegular, GetFontTooltip, GetFontBold, GetFontUnderline, GetFontDefaultGUI, GetFontDefaultGUIUnderline, GetFontVert, GetFontVertCaption, GetFontSmall, GetFontMarlett, GetFontCaption, GetFontHeader, GetFontDefaultGUIBold, GetFontGroup, GetFontGroupBold, GetFontWingdings, GetTextHeight, GetTextWidth, GetCaptionTextWidth, GetCaptionTextHeight, GetTextMargins。
6. 新类 CBCGPWindowDpiState 允许指定将用于 DPI 特定测量的窗口。
7. CBCGPTextFormat::Scale 有一个新的可选参数 bFromOriginal,如果此参数为 FALSE,则缩放将基于当前文本大小。
8. CBCGPMessageBox:添加了新的全局标志 m_bDrawSpecialAreaOnNC(默认为 TRUE),如果您不希望使用备用背景颜色填充消息框按钮区域,请将此标志设置为 FALSE。
9. CBCGPProp:当 DPI 更改或父属性网格窗口移动到具有不同 DPI 的另一个监视器时,将调用新的虚拟方法 OnDPIChanged。 如果您需要重新计算自定义维度或重新加载 DPI 特定资源,请覆盖此方法。
10. CBCGPToolBarImages:添加了 DPI PM 支持。 调用新方法 SetDPIAwarePM(当图像列表为空时!),如果当前 DPI 不是默认值并且启用了 Per-Monitor (V2) DPI Awareness,则将使用临时缩放的图像列表进行图标渲染,此操作会自动应用于所有工具栏、功能区栏和菜单图像。
11. BCGPSVG:添加了对“baseline-shift”样式属性和相对(带有尾随 '%' 符号)“font-size”属性的支持。
12. CBCGPEditCtrl:新方法 SetTextLeftMargin 允许指定文本和左侧栏之间的距离。 默认情况下,此值为 0。
如果您对BCGSoft的产品感兴趣,也可直接咨询“在线客服”!
边栏推荐
- 1、生成对抗网络入门
- Web APIs 综合案例-Tab栏切换 丨黑马程序员
- 大神详解开源 BUFF 增益攻略丨直播
- 二叉查找树(一) - 概念与C语言实现
- Halcon knowledge: check the measurement objects [1]
- 北京大学ACM Problems 1005:I Think I Need a Houseboat
- Halcon知识:盘点一下计量对象【1】
- PHP require/include differences
- 杰理之触摸按键识别流程【篇】
- Black apple server system installation tutorial, black apple installation tutorial, teach you how to install black apple in detail [easy to understand]
猜你喜欢

Big God explains open source buff gain strategy live broadcast

Study on lumiprobe modified triphosphate biotin-11-utp

On inline function

Maya house modeling

maya房子建模

Lumiprobe细胞生物学丨DiA,亲脂性示踪剂说明书

1. Introduction to generating countermeasures network
![[1175. prime number arrangement]](/img/f2/d427db03da151786ea1dfb7a76328a.png)
[1175. prime number arrangement]

DEX file parsing - Method_ IDS resolution

树基本概念
随机推荐
maya房子建模
NLP 论文领读|文本生成模型退化怎么办?SimCTG 告诉你答案
Jerry's touch key recognition process [chapter]
Lumiprobe生物素亚磷酰胺(羟脯氨酸)说明书
Huffman tree (I) basic concept and C language implementation
C file pointer
基于开源流批一体数据同步引擎ChunJun数据还原—DDL解析模块的实战分享
What bank card do you need to open an account online? In addition, is it safe to open an account online now?
Web APIs 综合案例-Tab栏切换 丨黑马程序员
HeartBeat基于CRM使用NFS对MySQL高可用
Huffman Tree (1) Basic Concept and C - language Implementation
为什么vscode用久了电脑速度变慢?
Originpro 2021 with installation tutorial
NLP skill tree learning route - (I) route overview
AVL balanced binary tree (I) - concept and C language implementation
Halcon knowledge: check the measurement objects [1]
Study on PEGylation of lumiprobe and PEG linker - iodine-peg3-acid
DEX文件解析 - method_ids解析
Playwright - scroll bar operation
Golang应用 ━━ 安装、配置与使用hugo博客系统