CN103092461A - Method and system of title bar button achieving - Google Patents

Method and system of title bar button achieving Download PDF

Info

Publication number
CN103092461A
CN103092461A CN2012105572440A CN201210557244A CN103092461A CN 103092461 A CN103092461 A CN 103092461A CN 2012105572440 A CN2012105572440 A CN 2012105572440A CN 201210557244 A CN201210557244 A CN 201210557244A CN 103092461 A CN103092461 A CN 103092461A
Authority
CN
China
Prior art keywords
button
function program
function
multifunctional
default
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.)
Pending
Application number
CN2012105572440A
Other languages
Chinese (zh)
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.)
GCI Science and Technology Co Ltd
Original Assignee
GCI Science and Technology Co Ltd
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 GCI Science and Technology Co Ltd filed Critical GCI Science and Technology Co Ltd
Priority to CN2012105572440A priority Critical patent/CN103092461A/en
Publication of CN103092461A publication Critical patent/CN103092461A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a method and a system of title bar button achieving, wherein the method includes the following steps: creating multifunctional buttons in default button positions of a graphical user interface (GUI) window title bar; respectively building the interlinking relation between the multifunctional buttons and a first function program and a second function program which correspond to default buttons; and when the multifunctional buttons are clicked, executing the first function program and starting the second function program. According to the technology, on the condition that the button functions of current GUI window title bar are retained, multi-functionalization of title bar buttons is achieved, the multifunctional buttons are arranged on the title bar and used for broadening second functions of the title bar buttons, mouse instruction input times for starting the second program are reduced, therefore operation complexity of a user is reduced, and operation efficiency is improved.

Description

The implementation method of title block button and system
Technical field
The present invention relates to the GUI technical field, particularly relate to a kind of implementation method and system of title block button.
Background technology
In existing GUI window design, owing to being all separate between the GUI window, so the design of GUI title bar window is also separate, button on title block is merely able to realize the operating function on this window, for example, in the windows system, the maximization on title bar window, minimize and X button, generally be merely able to realize this window is carried out the simple function that maximizes, minimizes and close.
But in the middle of practical application, the user often need to be after clicking the button on title block, carry out other operation, for example, close the operation that starts some other application programs after current window, so the user must first carry out clicking operation to the button on title block, and then go to start one by one other application program, when needs repeat aforesaid operations, each user needs to carry out multi-pass operations, this has just brought great inconvenience to the user, has increased operation complexity, has reduced operating efficiency.
Summary of the invention
Based on this, be necessary for the problems referred to above, a kind of implementation method and system that reduces operation complexity, improves the title block button of operating efficiency is provided.
A kind of implementation method of title block button comprises the steps:
Create multifunctional button on the default button position of GUI title bar window;
Set up respectively described multifunctional button first function program corresponding with described default button and and the second function program between linking relationship;
When described multifunctional button is clicked, carries out described the first function program and start described the second function program.
A kind of system that realizes of title block button comprises:
The button creation module is used for creating multifunctional button on the default button position of GUI title bar window;
The function setting module, be used for setting up respectively described multifunctional button first function program corresponding with described default button and and the second function program between linking relationship;
The instruction respond module is used for carrying out described the first function program and starting described the second function program when described multifunctional button is clicked.
The implementation method of above-mentioned title block button and system, in the push button function situation that keeps current GUI title bar window, realized the multifunction of title block button, multifunctional button is set on title block, the second function that is used for extension header hurdle button, reduce the mouse instructions input number of times that the user starts the second function program, thereby reduce user's operation complexity, improved operating efficiency.
Description of drawings
Fig. 1 is the implementation method process flow diagram of the title block button of an embodiment;
Fig. 2 be an embodiment the title block button realize the system architecture schematic diagram.
Embodiment
Be described in detail below in conjunction with the embodiment of accompanying drawing to the implementation method of title block button of the present invention.
Fig. 1 shows the implementation method process flow diagram of the title block button of an embodiment, mainly comprises the steps:
Step S10: create multifunctional button on the default button position of GUI title bar window.
In this step, mainly to create self-defining multifunctional button on the default button position of current GUI title bar window, be used for response mouse click commands, the second function of expansion button, owing to being the button that creates, kept original default button use-pattern on original default button position.
In one embodiment, the implementation procedure of step S10 comprises as follows:
Step S101 intercepts the picture of the default button of current GUI title bar window; Particularly, the picture of default button is intercepted the original picture that obtains default button, be used for button and reply to the topic.
Step S102 hides described default button; Particularly, the original button of title block is hidden, on the title block after hiding, without any button, hiding mode can be by controlling the parameter setting of window when creating window according to different shape library exploitations.
For example, if use the function AG_WindowNew (flags) of AGAR shape library to create window.For comprising X button, minimizing the title block of button and maximize button, can hide the X button on title block when flags=AG_WINDOW_NOCLOSE; Can hide the button that minimizes on title block when flags=AG_WINDOW_NOMINIMIZE; Can hide the maximize button on title block when flags=AG_WINDOW_NOMAXIMIZE; Can hide simultaneously when flags=AG_WINDOW_NOBUTTONS and minimize button, maximize button and X button on title block.
Step S103 creates multifunctional button on described default button position; Particularly, creating three on the above-mentioned title block that there is no a button can self-defined multi-functional button.
For example, for comprising X button, minimizing the title block of button and maximize button, take the AGAR shape library as example, create button and can use function AG_ButtonNewFn (); Then the position of these three buttons is put into respectively original minimize, on the position of maximization and X button.Concrete position of placing can use function AG_FixedMove () to determine.Write in the parameter of function AG_FixedMove () former title block X button, minimize horizontal ordinate and the ordinate of button and maximize button position, can be set to button on assigned address, this button is independent of current GUI window.Preferably, in order to meet user's operating habit, increase again the function of other application program that the user need to carry out on the basis of retention system default feature.
Step S104 is placed on described picture in the zone of described multifunctional button; Particularly, the picture of above-mentioned steps S101 intercepting is carried out pinup picture on the position on the multifunctional button that creates, kept creating after new button title block consistent with the outward appearance of the title block of system default button.
For example, for comprising X button, minimizing the title block of button and maximize button, the multifunctional button outward appearance is the same with the button of former title block, but different on function.Due to title block on three buttons button that is not system default but the new multifunctional button that is independent of current GUI window that creates.After button is clicked, can carries out other operation that is independent of current GUI window, thereby realize the multi-functional of title block button.
Need to prove, for the process that creates multifunctional button, except the mode of above-mentioned sectional drawing, the picture that pastes also can adopt other self-defining picture.
By above-mentioned steps, simple function corresponding to each button that the change system carries can carry out other self-defining Function Extension, realizes the diversity of title block push button function by the mode of autonomous establishment button.
Step S20: set up respectively described multifunctional button first function program corresponding with described default button and and the second function program between linking relationship.
In this step, be mainly that the default feature that newly-built button has the default button of former title block is set, further increase simultaneously the function of carrying out the second function program.
In one embodiment, the implementation procedure of step S20 comprises as follows:
Step S201 sets up the linking relationship between the described multifunctional button function corresponding with described the first function program.
Particularly, set up linking between the default button institute call function of newly-built multifunctional button and former title block; For example, for comprising X button, minimizing the title block of button and maximize button, when newly-built multifunctional button is clicked by mouse, call close window, the related function of minimized window and maximized window carries out and processes.
Step S202 according to the path of the second function program of dialog box input, sets up linking relationship between described multifunctional button and described the second function program according to this path.
Particularly, the path of inputting by dialog box according to the user is linked to related application, when multifunctional button is clicked by mouse, calls the related function of these application programs or starts application program and carry out flow process; Wherein, the second function program can comprise at least one application program.
Step S30: when described multifunctional button is clicked, carries out described the first function program and start described the second function program.
In this step, be mainly the process of multifunctional button response mouse instructions, as an embodiment, specifically comprise as follows:
Step S301 when described multifunctional button is clicked, carries out described the first function program; Particularly, when multifunctional button is clicked by mouse, call and carry out function corresponding to the first function program, carry out the function of the default button of former title block.
For example, for comprising X button, minimizing the title block of button and maximize button, when multifunctional button is clicked by mouse, close window, minimized window or maximized window.
Step S302 after carrying out described the first function program success, starts described the second function program.
For example, for comprising X button, minimize the title block of button and maximize button, when closing window, after minimized window or maximized window, starting the second function program.
wherein, the second function program can comprise a plurality of programs, for example in a repetitive operation, after execution minimizes current window repeatedly, open a plurality of other windows or start a plurality of other application programs, when adopting existing method of operating, need to first minimize current window, then open one by one other window and/or start other application program, the mouse instructions that this just needs the repeated multiple times input of user to repeat, this has just brought great inconvenience to the user, increased operation complexity, operating efficiency is low, and adopt technology of the present invention, in above-mentioned processing procedure, the user only need to click the multi-functional button that minimizes on title block one time, at first system minimizes window, then automatically open other window and/or start other application program, this has just greatly reduced the complexity of user's operation, reduced the number of times of mouse input instruction, improved operating efficiency.
Be described in detail below in conjunction with the embodiment of accompanying drawing to the system that realizes of title block button of the present invention.
Fig. 2 show an embodiment the title block button realize the system architecture schematic diagram, mainly comprise: button creation module, function setting module and instruction respond module.
The button creation module is used for creating multifunctional button on the default button position of GUI title bar window;
The function setting module, be used for setting up respectively described multifunctional button first function program corresponding with described default button and and the second function program between linking relationship;
The instruction respond module is used for carrying out described the first function program and starting described the second function program when described multifunctional button is clicked.
In one embodiment, described button creation module comprises:
The picture interception unit is for the picture of the default button that intercepts current GUI title bar window;
The button hidden unit is used for described default button is hidden;
The button creating unit is used for creating multifunctional button on described default button position;
Picture is pasted the unit, is used for described picture is placed on the zone of described multifunctional button.
In one embodiment, described function setting module comprises:
The first function setting unit is used for setting up the linking relationship between the described multifunctional button function corresponding with described the first function program;
The second function setting unit is used for the path according to the second function program of dialog box input, sets up linking relationship between described multifunctional button and described the second function program according to this path.
In one embodiment, described instruction respond module comprises:
The first functional response unit is used for carrying out described the first function program when described multifunctional button is clicked;
The second functional response unit is used for starting described the second function program after carrying out described the first function program success.
In one embodiment, described the second function program can comprise at least one application program.
Implementation method and the system of the title block button of above-described embodiment have broken away from the simple function restriction of default button on the GUI title bar window.Can practical function and style on expansion, can provide more utility function for the user, with user friendly operation, improve operating efficiency.
The system that realizes of title block button of the present invention is corresponding one by one with the implementation method of title block button of the present invention, in the embodiment of the system that realizes that technical characterictic that the embodiment of the implementation method of above-mentioned title block button sets forth and beneficial effect thereof all are applicable to the title block button, do not repeat them here.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.Should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. the implementation method of a title block button, is characterized in that, comprises the steps:
Create multifunctional button on the default button position of GUI title bar window;
Set up respectively described multifunctional button first function program corresponding with described default button and and the second function program between linking relationship;
When described multifunctional button is clicked, carries out described the first function program and start described the second function program.
2. the implementation method of title block button according to claim 1, is characterized in that, the described step that creates multifunctional button on the default button position of GUI title bar window comprises:
Intercept the picture of the default button of current GUI title bar window;
Described default button is hidden;
Create multifunctional button on described default button position;
Described picture is placed on the zone of described multifunctional button.
3. the implementation method of title block button according to claim 1, is characterized in that, described set up respectively described multifunctional button first function program corresponding with described default button and and the second function program between the step of linking relationship comprise:
Set up the linking relationship between the described multifunctional button function corresponding with described the first function program;
According to the path of the second function program of dialog box input, set up linking relationship between described multifunctional button and described the second function program according to this path.
4. the implementation method of title block button according to claim 1, is characterized in that, and is described when described multifunctional button is clicked, and the step of carrying out described the first function program and starting described the second function program comprises:
When described multifunctional button is clicked, carry out described the first function program;
After carrying out described the first function program success, start described the second function program.
5. the implementation method of the described title block button of according to claim 1 to 4 any one, is characterized in that, described the second function program comprises at least one application program.
6. the system that realizes of a title block button, is characterized in that, comprising:
The button creation module is used for creating multifunctional button on the default button position of GUI title bar window;
The function setting module, be used for setting up respectively described multifunctional button first function program corresponding with described default button and and the second function program between linking relationship;
The instruction respond module is used for carrying out described the first function program and starting described the second function program when described multifunctional button is clicked.
7. the system that realizes of title block button according to claim 6, is characterized in that, described button creation module comprises:
The picture interception unit is for the picture of the default button that intercepts current GUI title bar window;
The button hidden unit is used for described default button is hidden;
The button creating unit is used for creating multifunctional button on described default button position;
Picture is pasted the unit, is used for described picture is placed on the zone of described multifunctional button.
8. the system that realizes of title block button according to claim 6, is characterized in that, described function setting module comprises:
The first function setting unit is used for setting up the linking relationship between the described multifunctional button function corresponding with described the first function program;
The second function setting unit is used for the path according to the second function program of dialog box input, sets up linking relationship between described multifunctional button and described the second function program according to this path.
9. the system that realizes of title block button according to claim 6, is characterized in that, described instruction respond module comprises:
The first functional response unit is used for carrying out described the first function program when described multifunctional button is clicked;
The second functional response unit is used for starting described the second function program after carrying out described the first function program success.
10. the system that realizes of the described title block button of according to claim 6 to 9 any one, is characterized in that, described the second function program comprises at least one application program.
CN2012105572440A 2012-12-19 2012-12-19 Method and system of title bar button achieving Pending CN103092461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105572440A CN103092461A (en) 2012-12-19 2012-12-19 Method and system of title bar button achieving

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105572440A CN103092461A (en) 2012-12-19 2012-12-19 Method and system of title bar button achieving

Publications (1)

Publication Number Publication Date
CN103092461A true CN103092461A (en) 2013-05-08

Family

ID=48205103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105572440A Pending CN103092461A (en) 2012-12-19 2012-12-19 Method and system of title bar button achieving

Country Status (1)

Country Link
CN (1) CN103092461A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607821A (en) * 2015-12-16 2016-05-25 福州瑞芯微电子股份有限公司 Android based window control bar display method and apparatus
CN106293360A (en) * 2015-05-11 2017-01-04 阿里巴巴集团控股有限公司 Page folding panel method of deploying and device
CN110347458A (en) * 2019-06-04 2019-10-18 广州视源电子科技股份有限公司 A kind of button control methods of exhibiting, device, storage medium and interactive intelligent tablet computer
CN112416224A (en) * 2020-11-17 2021-02-26 珠海格力电器股份有限公司 Function extension method and storage medium for configuration software button control

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU9582798A (en) * 1997-09-26 1999-04-12 Timothy John Cogger Integrated interface for web based customer care and trouble management
CN1239239A (en) * 1998-05-27 1999-12-22 国际商业机器公司 Associative interaction between unrelated windows
CN101727315A (en) * 2008-10-14 2010-06-09 上海科泰世纪科技有限公司 Method for realizing operation and display of button type panel control

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU9582798A (en) * 1997-09-26 1999-04-12 Timothy John Cogger Integrated interface for web based customer care and trouble management
CN1239239A (en) * 1998-05-27 1999-12-22 国际商业机器公司 Associative interaction between unrelated windows
CN101727315A (en) * 2008-10-14 2010-06-09 上海科泰世纪科技有限公司 Method for realizing operation and display of button type panel control

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
FOREVER_WML: "自定义最大化最小化和关闭按钮", 《百度文库》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293360A (en) * 2015-05-11 2017-01-04 阿里巴巴集团控股有限公司 Page folding panel method of deploying and device
CN106293360B (en) * 2015-05-11 2020-07-10 阿里巴巴集团控股有限公司 Page folding panel unfolding method and device
CN105607821A (en) * 2015-12-16 2016-05-25 福州瑞芯微电子股份有限公司 Android based window control bar display method and apparatus
CN110347458A (en) * 2019-06-04 2019-10-18 广州视源电子科技股份有限公司 A kind of button control methods of exhibiting, device, storage medium and interactive intelligent tablet computer
CN112416224A (en) * 2020-11-17 2021-02-26 珠海格力电器股份有限公司 Function extension method and storage medium for configuration software button control
CN112416224B (en) * 2020-11-17 2022-03-18 珠海格力电器股份有限公司 Function extension method and storage medium for configuration software button control

Similar Documents

Publication Publication Date Title
CN102662664B (en) Interface animation realization method and system
CN102754063B (en) For performing equipment and the method for multitask
CN103067569B (en) Method and device of multi-window displaying of smart phone
CN103475784A (en) Mobile phone application program window mode displaying and operating method
CN102999358A (en) Intelligent program starting method
CN103092461A (en) Method and system of title bar button achieving
CN105224322A (en) A kind of attend to anything else method and terminal of application program
CN103076973A (en) Window switching method and system and intelligent terminal
CN103167154B (en) A kind of method that quick managing mobile phone runs application
CN103793151B (en) Method and device for tailoring wallpaper
CN104461287B (en) A kind of processing method of levitated object, device and terminal
CN103558979B (en) The display packing at operation interface and terminal
CN104298419B (en) The aligning method of mobile terminal and its icon
CN103763433A (en) Method and system for controlling operation of terminal applications
CN103809852A (en) Method and device for displaying multiple application programs on same screen at same time
CN104536641A (en) Mobile terminal and screen operation method thereof
CN106850719A (en) A kind of data transmission method and device
CN110404252A (en) Information displaying method and device, electronic equipment, storage medium
WO2022068814A1 (en) Menu display method and apparatus, electronic device, and storage medium
CN104750498A (en) Method for controlling mouse module and electronic device
CN103927083A (en) Interaction method for adding desktop menu icons to preview screen
CN102566930B (en) Method and device for accessing of application platform
CN104571801A (en) Information processing method and electronic equipment
CN103023736B (en) Show method and the mobile terminal of DLNA equipment
CN103634640A (en) Method and system for controlling voice input of smart television terminal by using mobile terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130508