Method for embedding widget toolbar in application program and rapid widget accessing method

An application and toolbar technology, applied in the computer field, can solve problems such as inability to send messages through widget windows and inability to call JS scripts across processes.

Active Publication Date: 2011-07-20
CHINA TELECOM CORP LTD
View PDF3 Cites 47 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The premise of using the windows message mechanism to send messages to the window is to be able to obtain the window handle. Since the widget window is a logical window drawn by the widget engine on the desktop without a window handle

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for embedding widget toolbar in application program and rapid widget accessing method
  • Method for embedding widget toolbar in application program and rapid widget accessing method
  • Method for embedding widget toolbar in application program and rapid widget accessing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present invention will be described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments of the invention are illustrated.

[0026] image 3 A flowchart showing an embodiment of the method for embedding a widget toolbar in an application program according to the present invention.

[0027] Such as image 3 As shown, the method flow 300 for embedding a widget toolbar in an application program includes: step 302, the application program loads the widget plug-in, and calls the interface function of the widget plug-in. For example, an application program (host program) loads a widget plug-in, and calls an interface function of the widget plug-in, such as an OnConnection function of the IDispatch interface. The COM plug-in technology used by the widget in the present invention will be further described in detail later.

[0028] Step 304, the interface function calls the toolbar creating unit to create a toolbar object of t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for embedding a widget toolbar in an application program and a rapid widget accessing method. The method for embedding the widget toolbar comprises that: the application program loads a widget plug-in, and calls an interface function of the widget plug-in; the interface function calls a toolbar creation unit to create a toolbar object of the widget plug-in; the toolbar creation unit reads a toolbar configuration file corresponding to the widget plug-in, acquires the configuration information of a widget button and creates a corresponding button object; the widget plug-in loads an icon resource file of the widget button according to the configuration information of the widget button, and binds the icon resource file with the widget button; a widget access information object is created according to the configuration information of the widget button, and mapping relationships between the widget access information object and the widget button are written into a mapping table; and the created toolbar object of the widget plug-in is added into a toolbar container of the application program. In the methods, an application window and a widget window are not required to be switched frequently, and the needs of a user in rapid widget accessing are satisfied.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method for embedding a widget tool bar in an application program and quickly accessing the widget. Background technique [0002] In recent years, a small localized Web application called widget has become increasingly popular in the desktop environment of users. It has a simple interface, small size, fast response, and easy deployment. The browser runs on the user's desktop. The script of the widget is pre-saved locally, and is loaded, interpreted and rendered by a special browser called the widget engine, and the widget engine also provides the widget with the ability to access local resources and network resources. [0003] figure 1 A schematic structural diagram showing a widget application architecture in the prior art. Such as figure 1 As shown, the widget application conforming to the specification of World Wide Web Consortium (W3C, World Wide Web Consortium) is rea...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/44
Inventor 何震苇李慧云钟伟彬陆钢
Owner CHINA TELECOM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products