开发者论坛

 找回密码
 注册 (请使用非IE浏览器)
查看: 4312|回复: 0

BCGcontrolbar发布v23.1了,快来看看都有哪些新功能

[复制链接]

0

精华

0

贡献

13

赞扬

帖子
38
软币
312
在线时间
26 小时
注册时间
2014-1-9
发表于 2014-9-11 14:38:39 | 显示全部楼层 |阅读模式
1、新增支持AnimationWindows IUIAnimationManager界面新增类 CBCGPAnimationManager 封装功能。开发者只需几行代码就可以添加动画功能。
目前支持以下几种动画类型:
  • Legacy
  • Accelerate/Decelerate
  • Cubic
  • Linear
  • Smooth Stop
  • Parabolic from Acceleration
动画功能已添加到BCG的以下几个组件中:
  • Chart control (序列外观)
  • Gauges (平滑的指针移动)
  • Page transition manager (用于属性表、Ribbon后台视图)
  • WinUI Tiles
2、Visualization改进支持 high-DPI:
  • 新增对125 and 150 DPI大小的内置图标
  • CBCGPGlobalUtils类新增'ScaleByDPI'扩展助手
  • CBCGPListBox::SetImageList新增一个新的可选参数'BOOL bAutoScale = FALSE'将它设置为TRUE时会自动扩展列表框图像。
  • 以下控件的high-DPI得到改进:        
    • Analog clock
    • Breadcrumb control
    • Date/time picker
    • Drop-down toolbar button
    • Duration control
    • Advanced edit control
    • Font combo box
    • Grid control
    • Outlook Bar
    • Radial Menu
    • Ribbon Gallery
    • Rotation Control
  • CBCGPVisualManager class新增以下三种方法:        
    • OnDrawProgressMarqueeDot: draws progress bar marquee dot.
    • GetProgressMarqueeColor: gets progress bar marquee fill color.
    • OnDrawTabDot: draws tab control page marker (slider mode).
            
3、Grid Control
  • 改进支持网格缩放。新增了一个虚拟方法——CBCGPGridCtrl::OnScaleChanged,可以根据当前尺寸去自定义网格外观。
  • CBCGPGridView处理Visual管理器的变化,并自动更新网格颜色主题。
  • 新增CBCGPGridCheckItem::Toggle方法。
  • CBCGPGridCtrl::SetColumnAlign新增支持HDF_BITMAP_ON_RIGHT flag。
4、Ribbon BarCBCGPRibbonComboBox: 新方法EnablePopupDialog允许Ribbon combo box和弹出对话框结合,如下图:


PS:这里只是贴了一部分,原文出自慧都控件网


回复

使用道具 举报

Archiver|手机版|小黑屋|开发者网 ( 苏ICP备08004430号-2 )
版权所有:南京韵文教育信息咨询有限公司

GMT+8, 2024-5-2 07:32

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表