Application program interface style control method and device
An application program interface and style technology, applied in the direction of program control devices, etc., can solve the problems of many system resources, inability to integrate size, font and color, and messy interface style, and achieve the effect of unified style and high-efficiency interface specification.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] Referring to FIG. 1 , it shows Embodiment 1 of an application program interface style control method according to the present invention, which may specifically include the following steps:
[0050] Step 101, start the application program;
[0051] Step 102, subclassing the API window;
[0052] Step 103, subclassing all sub-windows in the window;
[0053] Step 104, drawing the form and its sub-windows according to the intercepted message and the preset interface configuration information.
[0054] When the application starts, obtain its corresponding preset interface configuration information according to the selected interface appearance scheme, and unify the size, font, foreground and background colors, etc. of all sub-windows in the form according to the window category. After the above step 104 is executed, the application program interface is started. Users can interact with the application through this interface.
[0055] In fact, a window is still technically ...
Embodiment 2
[0064] Referring to FIG. 4 , it shows Embodiment 2 of the control method of the application program interface style of the present invention, which may specifically include the following steps:
[0065] Step 401, start the application program;
[0066] Step 402, subclassing the API window and adding the front / back message to be intercepted by the window; after subclassing, the window control object can receive the message for the window;
[0067] Step 403, subclassing all sub-windows in the window and adding pre / post messages to be intercepted according to the window type; after subclassing, the window control object can receive messages for the window;
[0068] Step 404, drawing a form and its sub-windows with a preset style according to the preset interface configuration information;
[0069] Step 405, intercepting the message of the user operating the sub-window by subclassing technology; redrawing the sub-window according to the intercepted message and interface configura...
Embodiment 3
[0082] The steps added in Embodiment 3 are to adapt to the fact that in some cases, the application program interface needs to pop up a dialog box or a prompt box. Embodiments 1 and 2 cannot realize interface control for the pop-up dialog box or prompt box, while Embodiment 3 can The pop-up dialog box or prompt box is also included in the interface style control of the present invention.
[0083] Referring to FIG. 6, it shows an activity diagram with the optimization steps of this embodiment added on the basis of Embodiment 1, that is, a schematic diagram described from the perspective of an activity diagram. The two parts are completed cooperatively, the user and the application program give a trigger command or event, and the interface control of the present invention completes the corresponding interface drawing. For example, the application mainly completes the following activities: start command, interface pop-up display command, uninstall command, pop-up window, etc.; th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com