DuiVision development tutorial (13)-DUI base class, duivision-dui

Source: Internet
Author: User

DuiVision development tutorial (13)-DUI base class, duivision-dui

The basic classes of all DuiVision objects are cduiobjects, including control classes, dialogs, menus, and so on. There is no corresponding control name for this class. The main functions are described as follows:

Function Virtual function? Description
IsClass Yes Determine whether or not
GetObjectClass Yes Get class name
BaseObjectClassName Yes Get base class name
GetID No Get Object ID
GetName No Get Object Name
IsThisObject No Determine whether this object is based on the ID or name. You can match either the ID or name.
RegisterHandler No Register event processing objects
GetDuiHandler No Get event processing object pointer
GetRect No Obtains the coordinates of the upper left corner and lower right corner of the control.
ParseDuiString No Parses the string and replaces the replacement content (defined by []). The replacement content is the string content defined in the resource. xml or string definition file.
ParseKeyCode No Obtain the corresponding keyboard code based on the input string. For example, CTRL + F1 is converted to 0x11, 0x70.

DuiVision open source code (github): https://github.com/blueantst/DuiVision
Ant financial studio home page: http://www.blueantstudio.net
DuiVision QQ group: 325880743
Public Account: blueantstudio or search for blue ant Studio

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.