BCG MFC suite improves editing, listbox, and analog clock controls

释放双眼,带上耳机,听听看~!

  BCG MFC suite improves editing, listbox, and analog clock controls

  Instrument control device

  CBCGPAnalogClock has the following additions and improvements:

  The EnableSecondHand method has a new optional parameter bSmoothMovement. When this parameter is TRUE and the second needle is enabled, the needle moves smoothly between the second tick marks.

  A new virtual method, OnGetClockTime, has been added, allowing you to specify a custom time.

  CBCGPGaugeImpl: Add fillet support for multiple instruments. The SetCornerRadius and GetCornerRadus methods have been added to this class. You can specify the fillet shape in the following instrument types:

  CBCGP color indicator implementation.

  CBCGP linear instrument implementation.

  CBCGP digital indicator implementation.

  CBCGPNumericIndicatorImpl: Number type added:

  BCGP_ NUMERIC_ DIGIT_ SEGMENTS_ 7。

  BCGP_ NUMERIC_ DIGIT_ SEGMENTS_ 7_ DOTS。

  BCGP_ NUMERIC_ DIGIT_ SEGMENTS_ 16。

  Call the newly added SetDigitType method to specify this type, and call the GetDigit type to get it.

  New CBCGPNumericDateTimeIndicatorImpl and CBCGPDigitalClock instruments have been added, which implement digital date/time indicators and digital clocks.

  CBCGPNumericIndicatorImpl: added a new indicator state BCGP_ NUMERIC_ indicator_ state_ NOTREADY。

  Visual Manager and Themes

  CBCGPMenuButton: Improved the appearance of separators in various visual themes (split mode). In previous versions, the partition was always drawn as an etched line.

  Improved appearance of expand/collapse buttons in various visual themes (OnDrawExpandingBox method).

  The colors returned by the CBCGPVisualManager:: GetNumericIndicatorColors method are now more contrasting.

  control

  CBCGPInfoBoxRenderer: added information box printing.

  CBCGPButton: added a new global flag m_ BDontSetCapture (FALSE by default). When this flag is TRUE, SetCapture/ReleaseCapture is never called, but is tracked with the mouse. This flag is useful for applications that are sensitive to mouse/keyboard capture changes.

  CBCGPListBox: added new properties AutoToolTips (SetAutoToolTip and GetAutoToolTips access methods). When this property is TRUE, tooltips are automatically displayed near the items in the list box, and the text is not fully displayed (too wide).

  MSAA and CodedUI tests

  CBCGPGroup with check box or radio button now has correct default operation and description.

  CBCGPCalculator: The control name is now “Calculator”, and the control value is the same as the displayed formatted text.

  CBCGPInfoBoxCtrl returns the information box text as the accessibility name.

  Improved accessibility support for calendar (Planner) controls.

  Edit Control

  Added the ability to switch comments around selected text using single type characters, such as “/” in the C++language. In addition, the following new methods have been added to the CBCGPEditCtrl class:

  IsCommentingSelectedTextEnabled。

  Notes the selected text.

  Note text.

  Gets the comment character.

  A new method HasSelection has been added: this method tells whether certain text has been selected.

给TA打赏
共{{data.count}}人
人已打赏
other

Add Android demo and real-time spelling suggestions to the TRICH view

2022-11-6 21:28:03

other

Sublime merge generation, edit three pages of code and text box at the same time

2022-11-11 21:52:15

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索