CN1310383A - Dynamic menu andtool bar monitoring and expanding method - Google Patents

Dynamic menu andtool bar monitoring and expanding method Download PDF

Info

Publication number
CN1310383A
CN1310383A CN 00102290 CN00102290A CN1310383A CN 1310383 A CN1310383 A CN 1310383A CN 00102290 CN00102290 CN 00102290 CN 00102290 A CN00102290 A CN 00102290A CN 1310383 A CN1310383 A CN 1310383A
Authority
CN
China
Prior art keywords
toolbar
menu
command bar
title
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 00102290
Other languages
Chinese (zh)
Other versions
CN1117317C (en
Inventor
林光信
宋建福
魏永杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to CN 00102290 priority Critical patent/CN1117317C/en
Publication of CN1310383A publication Critical patent/CN1310383A/en
Application granted granted Critical
Publication of CN1117317C publication Critical patent/CN1117317C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

Through establishing original menu and tool bar data, utilizing intercepting program to obtain user's action data from the message queue of job system, comparison and judgment, the operation performed to new dynamic menu and tool bar by the user in monitored to perform function expansion of application program and increase additional functions.

Description

The supervision of dynamic menu and toolbar and extending method
The invention relates to the supervision and the extending method of a kind of dynamic menu and toolbar, the invention provides the supervision and the extending method of a kind of dynamic menu and toolbar, can monitor immediately and understand the user, and can make plug-in application program that novel dynamic menu and toolbar are carried out the function expansion immediately, increase auxiliary function the operation that novel dynamic menu and toolbar carried out.
In general application program commonly used, all have menu (menu) and toolbar (tool bar) and choose for the user, operate to make things convenient for the user, improve operating efficiency.Application program commonly used, as: (word 95 for Office95 series document application program, exel 95, powerpoint 95 ...), the content of its menu and toolbar is to immobilize, the storing position of menu and toolbar also is to change, and lacks in response to user's demands of individuals the dynamically design of change.
In order to make menu and toolbar more can meet user's demand, performance assists the user to improve the purpose of operating efficiency, application program of new generation at present, as: Office 2000 serial document application programs, VC++v5.0, VC+v6.0 ... Deng, its menu and toolbar promptly have the design that can dynamically change.This type of novel menu and toolbar can be defined the content of menu and toolbar by the user voluntarily, and newly-increased menu content or toolbar content can be drawn out storing, become another independently new window.
The content of this type of novel menu and toolbar and storing position make menu and toolbar can more meet user's operational requirements because have the design that can dynamically change.But, novel menu and toolbar that this class can dynamically change, and can't utilize that employed method and technology obtain user's operating information in conventional fixed menu and the toolbar, and do not have any technology can realize supervision and control at present as yet to this type of menu that can dynamically change and toolbar.Owing to can't monitor and control novel menu of this kind and toolbar, some need the plug-in HELPER APPLICATIONS of user's operating information, just can't carry out in the application program with this type of novel menu and toolbar.
Fundamental purpose of the present invention, provide the supervision and the extending method of a kind of dynamic menu and toolbar, under windowing environment to having the application program of dynamic menu and toolbar, as: Office 2000 serial document application programs, supervision is understood the user to the operation that menu and toolbar carried out with instant, as: the shift in position that the modification of the increase and decrease of menu item and toolbar item, menu item and toolbar item, menu item and toolbar item are put ... Deng.
Another object of the present invention, provide the supervision and the extending method of a kind of dynamic menu and toolbar, make the change of plug-in application program energy immediately monitoring menu and toolbar, and novel dynamic menu and toolbar are carried out the function expansion immediately, increase auxiliary function, as: the menu at slide-mouse vernier place or Chinesizing, the show label of toolbar title, menu or toolbar content read in voice ... Deng.
The supervision and the extending method of a kind of dynamic menu provided by the invention and toolbar, in order to expand the content and the function of menu and toolbar, this method includes: produce the distribution of current goal link and embedded servo end, this distribution is generated by this current Object linking and embedded servo end with Object linking and embedding robotization mode; Obtain menu and toolbar data before expanding; Put this menu and toolbar data in an original menu and toolbar data structure table; Start hook procedure, move data with message formation interception user from operating system; Obtain the user and move data; Search this original menu and toolbar data structure table, and user's action data is compared, to obtain the menu or the toolbar data at current slide-mouse vernier place; Judge whether the menu at current slide-mouse vernier place or toolbar are menu or the toolbar that needs function to expand,, call out original function when menu and toolbar do not need function to expand; Expand when menu and toolbar need function, then carry out next step; And the expansion of carrying out function.
Relevant detailed technology content of the present invention, will be in conjunction with the embodiments with reference to the accompanying drawings explanation as after.
Brief Description Of Drawings
Fig. 1 is flow chart of steps of the present invention;
Fig. 2 produces the detailed step process flow diagram of distributing and obtaining menu and toolbar data for the present invention;
Fig. 3 starts hook procedure with interception and obtain the user and move the detailed step process flow diagram of data for the present invention;
Fig. 4 searches and relatively with the menu that obtains current slide-mouse vernier place or the detailed step process flow diagram of toolbar data for the present invention.
The invention provides the supervision and the extending method of a kind of dynamic menu and toolbar, its functional module sees also shown in Figure 1.Detailed step of the present invention includes:
At first by Object linking and embedding (Object linking ﹠amp; Embedding is called for short OLE) initialization of server-side obtains the menu before expanding and the content and the position of toolbar, the steps include:
1. produce the distribution of current goal link and embedded servo end, its be with Object linking with embed robotization (OLE Automation) mode and generate that current goal links and a client (Client) of embedded servo end is distribution (Dispatch);
2. obtain menu and toolbar data before expanding, by to distribution via the rapid gained of previous step, according to command bar group (Command Bars), command bar (Command Bar), command bar control item group (Command Bar Controls) and command bar control item (Command Bar Control) (this command bar control item is divided into again: command bar button (Command Bar Button) ejects form (Command Bar Popup) with command bar) are successively handled one by one, meaning promptly, obtain the command bar group of menu and the command bar control item group of toolbar earlier, obtain each command bar of command bar group and each command bar control item of command bar control item group more one by one, and can obtain menu and the toolbar data of current application program before expansion;
3. menu and toolbar data before the obtained expansion, insert in an original menu and the toolbar data structure table, for the index of further handling procedure;
4. then start interception (Hook) program, move data with the message formation (Messagequeue) from operating system interception user, this message queuing is a systemic circulation, all event handlings all drive by message in operating system (windows workspace system), after all messages all need enter the message circulation, be distributed to follow-up program again, when the slide-mouse vernier was positioned on menu or the toolbar, hook procedure can intercept corresponding user from message queue and move data;
5. obtain the user and move data, these user's action data include: the title on the title of the handle of current popup menu (Handle), current popup menu, the handle on current tool hurdle, current tool hurdle and the position of slide-mouse vernier ... or the like, be to be that command bar of menu or that command bar control item of toolbar with the position of learning current slide-mouse vernier place;
6. searching this original menu and toolbar data structure table, and user's action data is compared, is that of that or that toolbar of that menu to learn current menu that is flicked or current tool hurdle;
7. judge whether the menu at current slide-mouse vernier place or toolbar are menu or the toolbar that needs function to expand,, call out original function when menu and toolbar do not need function to expand; Expand when menu and toolbar need function, then carry out next step; And
8. expand the function of menu and toolbar, expand by the relative function of handling procedure execution and handle, also can be aided with and show that on display picture one carries out the sign prompting user that function expands, finish the expansion of menu and tool bar function.
See also shown in Figure 2ly again, it is that the present invention produces distribution and obtains the detailed step process flow diagram of menu and toolbar data.The present invention obtains expansion preceding menu and the content of toolbar and the detailed step of position by the initialization of Object linking and embedded servo end, includes:
1. judge whether the current goal link supports distribution with the embedded servo end, that is to say, judge whether this current Object linking and embedded servo end can be carried out Object linking and the robotization of embedded servo end, whether can produce a client, when this Object linking and embedded servo end support distribution, carry out next step; When this Object linking and embedded servo end are not supported distribution, then finish distribution;
2. produce a distribution, when this Object linking and embedded servo end support distribution, a corresponding application object of instantiation (Application) then, can ask the client of visiting this Object linking and embedded servo end and generate one, this client is the distribution of this Object linking and embedded servo end;
3. connect this and be distributed to this Object linking and embedded servo end, ask the visit interface, this distribution is connected to this Object linking and embedded servo end by generating one;
4. obtain the command bar group of menu and the command bar control item group of toolbar, with the command bar group and the command bar control item group of the distribution that obtains the monitoring of current desire;
5. obtain each command bar among this command bar group and each command bar control item of this command bar control item group one by one, behind the command bar control item group of command bar group who obtains menu and toolbar, to each command bar control item of each command bar among the command bar group and command bar control item group successively according to the taking-up that puts in order; And
6. take out the data of this command bar and this command bar control item one by one, after obtaining command bar and command bar control item, visit interface by the inquiry of Object linking and embedded servo end and ask this Object linking of visit and embedded servo end, read the title and the sign data such as (ID) of each command bar and command bar control item, obtain the data of command bar and command bar control item, for example: what menus are current application program include, what toolbars, what subitems each menu has, what subitems each toolbar has, the title and the sign of the title of each menu item and sign (ID) and each toolbar item ... or the like, to deposit in original menu and the toolbar data structure table.
See also shown in Figure 3ly, it is to start hook procedure with interception and obtain the user and move the detailed step process flow diagram of data for the present invention.The present invention starts hook procedure with from message formation interception and obtain the user and move the detailed step of data, includes:
1. startup hook procedure;
2. the user in the message formation of interception operating system moves data;
3. judge whether Object linking and embedded servo end start, when this Object linking and embedded servo end do not start, (step 4) also carry out step 5 to start this Object linking and embedded servo end; When this Object linking and embedded servo end start, then carry out step 5;
5. judge whether Object linking and embedded servo end finish, when this Object linking and embedded servo end finish, return the interception user and move the step 2 of data; When this Object linking and embedded servo end do not finish, then carry out step 6;
6. judge then whether the slide-mouse vernier is positioned on menu or the toolbar, when this slide-mouse vernier is not positioned on menu or the toolbar, returns the interception user and move the step 2 of data; When this slide-mouse vernier is positioned on menu or the toolbar, then obtains the user and move data from the message formation; And
7. obtain the popup menu at slide-mouse vernier place or the title of toolbar, with the position (step 8) that obtains slide-mouse vernier place.
See also shown in Figure 4ly again, it is to search and relatively with the menu that obtains current slide-mouse vernier place or the detailed step process flow diagram of toolbar data for the present invention.The present invention searches this original menu and toolbar data structure table, and user's action data is compared, and with the menu that obtains current slide-mouse vernier place or the detailed step of toolbar data, includes:
1. obtain the title and the index entry of the command bar control item of the command bar of menu in this original menu and the toolbar data structure table and toolbar one by one;
2. judge obtained command bar title or command bar control item title whether with the title identical (step 2) of the menu or the toolbar of hook procedure gained, when the title of the menu of hook procedure gained or toolbar is different with obtained command bar title or command bar control item title, take off an order field name or a command bar control item; When the title of the menu of hook procedure gained or toolbar is identical with obtained command bar title or command bar control item title, then carry out step 3;
3. judge whether the slide-mouse vernier is positioned at obtained command bar or command bar control item, when the slide-mouse vernier is not positioned at obtained command bar or command bar control item, it is rapid to return previous step; When the slide-mouse vernier is to be positioned at obtained command bar or command bar control item, then carry out step 4;
4. whether the index entry of judging the popup menu at slide-mouse vernier place or toolbar is identical with the index entry of obtained command bar or command bar control item, different when the index entry of the popup menu at slide-mouse vernier place or toolbar with the index entry of obtained command bar or command bar control item, return the title of command fetch hurdle and command bar control item and the step 1 of index entry; When the index entry of the popup menu at slide-mouse vernier place or toolbar is identical with the index entry of obtained command bar or command bar control item, then carry out step 5; And
5. obtain the menu at current slide-mouse vernier place or the title and the index entry of toolbar.
The invention provides the supervision and the extending method of a kind of dynamic menu and toolbar, can monitor immediately and understand the user operation that novel dynamic menu and toolbar carried out, as current at that or that toolbar that is positioned at that menu that of: user's slide-mouse, the user is to the increase and decrease of menu or toolbar, menu that the user defines voluntarily or toolbar, the change of menu or toolbar position ... Deng, and can make plug-in application program that novel dynamic menu and toolbar are carried out the function expansion immediately, increase auxiliary function, as: the menu or the toolbar title at slide-mouse vernier place read in voice, the Chinesizing of menu or toolbar content, show label ... Deng.

Claims (8)

1. the supervision and the extending method of dynamic menu and toolbar in order to expand the content and the function of menu and toolbar, is characterized in that this method includes:
Produce the distribution of current goal link and embedded servo end, this distribution is generated by this current Object linking and embedded servo end with Object linking and embedding robotization mode;
Obtain menu and toolbar data before expanding;
Put this menu and toolbar data in an original menu and toolbar data structure table;
Start hook procedure, move data with message formation interception user from operating system;
Obtain the user and move data;
Search this original menu and toolbar data structure table, and user's action data is compared, to obtain the menu or the toolbar data at current slide-mouse vernier place;
Judge whether the menu at current slide-mouse vernier place or toolbar are menu or the toolbar that needs function to expand,, call out original function when menu and toolbar do not need function to expand; Expand when menu and toolbar need function, then carry out next step; And the expansion of carrying out function.
2. the supervision and the extending method of dynamic menu as claimed in claim 1 and toolbar is characterized in that this menu and toolbar data include: current application program has what menus, current application program to have what toolbars, each menu to have what subitems, each toolbar that the title of what subitems, each menu item and the title and the sign of sign and each toolbar item are arranged.
3. the supervision and the extending method of dynamic menu as claimed in claim 1 and toolbar is characterized in that this user's action data includes: the position of the handle on the handle of current popup menu, the title of current popup menu, current tool hurdle, the title on current tool hurdle and slide-mouse vernier.
4. the supervision and the extending method of dynamic menu as claimed in claim 1 and toolbar is characterized in that the step that produces this distribution further comprises the following steps:
Judge whether the current goal link supports distribution with the embedded servo end,, carry out next step when this Object linking and embedded servo end support distribution;
When this Object linking and embedded servo end are not supported distribution, then finish distribution;
Produce a distribution, it is the client for this Object linking and embedded servo end; And
Connect this and be distributed to this Object linking and embedded servo end.
5. the supervision and the extending method of dynamic menu as claimed in claim 1 and toolbar is characterized in that obtaining and expand the preceding menu and the step of toolbar data, further comprise the following steps:
Obtain the command bar group of menu and the command bar control item group of toolbar;
Obtain each command bar among this command bar group and each command bar control item of this command bar control item group one by one; And
Take out the data of this command bar and this command bar control item one by one.
6. the supervision and the extending method of dynamic menu as claimed in claim 1 and toolbar is characterized in that starting hook procedure to move the step of data from message formation interception user, further comprise the following steps:
Start hook procedure;
User in the message formation of interception operating system moves data;
Judge whether Object linking and embedded servo end start,, start this Object linking and embedded servo end and carry out next step when this Object linking and embedded servo end do not start; When this Object linking and embedded servo end start, then carry out next step;
Judge whether Object linking and embedded servo end finish, when this Object linking and embedded servo end finish, return the interception user and move the step of data; When this Object linking and embedded servo end do not finish, then carry out next step; And
Judge whether the slide-mouse vernier is positioned on menu or the toolbar, when this slide-mouse vernier is not positioned on menu or the toolbar, returns the interception user and move the step of data; When this slide-mouse vernier is positioned on menu or the toolbar, then obtains the user and move the step of data.
7. the supervision and the extending method of dynamic menu as claimed in claim 1 and toolbar is characterized in that obtaining the user and move the step of data, further comprise the following steps:
Obtain the popup menu at slide-mouse vernier place or the title of toolbar; And the position of obtaining slide-mouse vernier place.
8. the supervision and the extending method of dynamic menu as claimed in claim 1 and toolbar, it is characterized in that searching this original menu and toolbar data structure table, and user's action data compared, with the menu that obtains current slide-mouse vernier place or the step of toolbar data, further comprise the following steps:
Obtain the title and the index entry of the command bar control item of the command bar of menu in this original menu and the toolbar data structure table and toolbar one by one, and the title with the menu of hook procedure gained or toolbar is identical to judge obtained command bar title or command bar control item title, the title of cutting the menu of program gained or toolbar when the hurdle is different with obtained command bar title or command bar control item title, takes off a command bar title or command bar control item; When the title of the menu of hook procedure gained or toolbar is identical with obtained command bar title or command bar control item title, then carry out next step;
Judge whether the slide-mouse vernier is positioned at obtained command bar or command bar control item, when the slide-mouse vernier is not positioned at obtained command bar or command bar control item, it is rapid to return previous step; When the slide-mouse vernier is to be positioned at obtained command bar or command bar control item, then carry out next step;
Whether the index entry of judging the popup menu at slide-mouse vernier place or toolbar is identical with the index entry of obtained command bar or command bar control item, different when the index entry of the popup menu at slide-mouse vernier place or toolbar with the index entry of obtained command bar or command bar control item, return the title of command fetch hurdle and command bar control item and the step of index entry; When the index entry of the popup menu at slide-mouse vernier place or toolbar is identical with the index entry of obtained command bar or command bar control item, then carry out next step; And
Obtain the menu at current slide-mouse vernier place or the title and the index entry of toolbar.
CN 00102290 2000-02-22 2000-02-22 Dynamic menu andtool bar monitoring and expanding method Expired - Fee Related CN1117317C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 00102290 CN1117317C (en) 2000-02-22 2000-02-22 Dynamic menu andtool bar monitoring and expanding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 00102290 CN1117317C (en) 2000-02-22 2000-02-22 Dynamic menu andtool bar monitoring and expanding method

Publications (2)

Publication Number Publication Date
CN1310383A true CN1310383A (en) 2001-08-29
CN1117317C CN1117317C (en) 2003-08-06

Family

ID=4576354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 00102290 Expired - Fee Related CN1117317C (en) 2000-02-22 2000-02-22 Dynamic menu andtool bar monitoring and expanding method

Country Status (1)

Country Link
CN (1) CN1117317C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101512513B (en) * 2006-09-14 2011-01-26 Nhn公司 Method and apparatus for editing service of tool bar
CN101706732B (en) * 2009-12-09 2013-04-17 金蝶软件(中国)有限公司 Method and device for dynamically loading common list
CN106648710A (en) * 2017-01-12 2017-05-10 郑州云海信息技术有限公司 Display method and system for interface status bar

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101512513B (en) * 2006-09-14 2011-01-26 Nhn公司 Method and apparatus for editing service of tool bar
CN101706732B (en) * 2009-12-09 2013-04-17 金蝶软件(中国)有限公司 Method and device for dynamically loading common list
CN106648710A (en) * 2017-01-12 2017-05-10 郑州云海信息技术有限公司 Display method and system for interface status bar

Also Published As

Publication number Publication date
CN1117317C (en) 2003-08-06

Similar Documents

Publication Publication Date Title
EP1011043B1 (en) Method and apparatus for loading a java application program
EP0388148B1 (en) A multi-language conversion system
CN1786907A (en) Method and system for producing GUI format
CN1447942A (en) System and method for communication between mobile data processing device and stationary data processing device
EP0463252B1 (en) Message handling in data processing apparatus
CN1353372A (en) Job management system and job management method
CN1117317C (en) Dynamic menu andtool bar monitoring and expanding method
US6490520B2 (en) Vehicle-mounted information processing device and storage medium
CN1555014A (en) Human-machine order testing method
CN1248016A (en) Method of realizing graphic interface simulation in single task system
EP1284453A2 (en) Method, device, dynamic linker, and program for retrieving a library for an executing program
EP0522683B1 (en) Routing of messages in a data processing system
CN113642610B (en) Distributed asynchronous active labeling method
US20080181254A1 (en) Data transmission method
JP2836541B2 (en) Database update processing method
CN1223939C (en) Design method for IE browse window
JPS63138425A (en) Automatic conversion system for jcl by profile
JPH0793185A (en) Automatic software test system
JP2590872B2 (en) Task scheduling method
CN1108576C (en) Auxiliary system on-line multimedia
EP3514681A1 (en) Method, host device and system for providing applications
CN1794221A (en) Method of inserting/opening application document in electron list
JPS62113237A (en) Control system for composition and edition of message text
CN117032524A (en) Page interaction method, device, electronic equipment and storage medium
CN113505175A (en) Method for realizing MySQL incremental data synchronization based on message queue

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20030806

Termination date: 20110222