CN101021748A - Method for starting immediate communication tool chatting window - Google Patents

Method for starting immediate communication tool chatting window Download PDF

Info

Publication number
CN101021748A
CN101021748A CNA2006100077210A CN200610007721A CN101021748A CN 101021748 A CN101021748 A CN 101021748A CN A2006100077210 A CNA2006100077210 A CN A2006100077210A CN 200610007721 A CN200610007721 A CN 200610007721A CN 101021748 A CN101021748 A CN 101021748A
Authority
CN
China
Prior art keywords
contact person
chat window
hotkey
window
key assignments
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
CNA2006100077210A
Other languages
Chinese (zh)
Other versions
CN100456218C (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CNB2006100077210A priority Critical patent/CN100456218C/en
Publication of CN101021748A publication Critical patent/CN101021748A/en
Application granted granted Critical
Publication of CN100456218C publication Critical patent/CN100456218C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses one kind of method to open the chat window by the IM tool. This method includes the following steps: A, preinstall the hotkey key assignments of the chat window which is corresponding to contact person and its type is open. B. In the course of the IM tool operation, when receiving the key assignments of the hotkey, judge whether the chat window of contact person already has been opened, and the window is corresponding to the key assignments of the hotkey. If the window was open, then the chat window should be demonstrated, otherwise this contact person chat window can generate and demonstrate. The users do not need each time to open the main panels and locate contact person and other operations; and this invention enormously facilitates user s ' operating process, simplifies the original operation steps to start the chat window of the contact person, and saves users' time. Additionally, this invention also improves the IM tool usability and the convenience, and this fast start the chat window mode also adapts to user s ' operating custom, reducing the study cost, and further saving the massive time for the users.

Description

Start the method for immediate communication tool chatting window
Technical field
The present invention relates to field of computer technology, particularly start the method for immediate communication tool chatting window.
Background technology
Network instant communication (IM) instrument develops into today, is accepted by most of network user.No matter in user's amusement and recreation at ordinary times, still in user's work, the IM instrument all is widely used, and has become the requisite Software tool of many users.Therefore the user has proposed higher requirement to aspects such as the ease for use of IM instrument, stability, securities.
In all IM instruments, usually all comprise the chat window that the main panel that loads contacts list and user and contact person chat, the user is by main panel Administrative Contact tabulation effectively, and by chat window can realize and the contact person between exchanges and communication.Current IM software pattern all is the patterns that adopt main panel to separate with chat window.In use, the user can place hidden state to the main panel of IM instrument, when needs carry out communication with certain contact person, open main panel by double-clicking taskbar icon, navigate to corresponding contact person then, double-click this contact person again and open chat window and carry out exchanges and communication.Along with the continuous development of technology, the user has proposed further requirement to the IM instrument, wishes that the IM instrument can provide the mode of more convenient startup chat window.
In current IM instrument, for example Tencent QQ and TM or the PoPo of Netease, MSN etc., all be mouse-click or double click operation by the user navigate to certain contact person's correspondence in main panel individuality (Item) object, start with this contact number by the chat window administration module and identify corresponding chat window.Though the method for various quickly positioning contact persons is provided in order to allow the user start chat window fast at present, still need at first to open main panel, navigate to the contact person by the operation main panel again, double-click the contact person then to start chat window.But these methods thoroughly do not change whole process, have just shortened the time that navigates to the contact person.In general, user's startup is still too complicated with the process of certain contact person's chat window, and this has brought great inconvenience to the user, has wasted user's time.
Summary of the invention
In view of this, the present invention proposes a kind of method of the IM of startup tool chatting window, in order to simplify the operation steps that the user starts chat window.
According to above-mentioned purpose, the invention provides a kind of method of the IM of startup tool chatting window, this method comprises:
A. set in advance corresponding and type is to open the hotkey key assignments of contact person's chat window with the contact person;
B. in IM instrument operational process, when receiving hotkey key assignments, judge whether the contact person's corresponding with this hotkey key assignments chat window is opened,, otherwise generate and show this contact person's chat window if then show this chat window.
Described steps A can comprise: A11. creates the setting operation interface that comprises contacts list, hot key type and hotkey key assignments at least; A12. after having selected the contact person the user, opening the hot key type and hotkey key assignments of contact person's chat window, judge whether user-selected hotkey key assignments is registered, if then point out the user to reselect hotkey key assignments and rejudge, otherwise register this hot key.
Described steps A also can comprise: A21. creates the setting operation interface that comprises contacts list, hot key type and hotkey key assignments at least; A22. after having selected the contact person the user, opening the hot key type of contact person's chat window, the hotkey key assignments of acquiescence is provided and registers this hot key.
Whether further comprised before whether the described judgement contact person's corresponding with this hotkey key assignments chat window has been opened: whether the type of judging this hot key is the chat window that starts the contact person, open at the judge contact person's corresponding with this hotkey key assignments chat window of the situation that is.
Further comprise the chat window handle data of obtaining the contact person who answers with this key-value pair after in step B, receiving described hotkey key assignments; And, whether open to judge the chat window corresponding with this contact person by judging whether these window handle data are the handle data of effectively opening window.
From such scheme as can be seen, because the present invention is by utilizing the hot key in the operating system, make the user press hot key input hotkey key assignments and just can start corresponding chat window, do not need each execution of user to open operations such as main panel, positioning contact, and only need in advance by the shirtsleeve operation interface hot key different for the contact person is provided with, greatly convenient user's operating process has been simplified the operation steps of original startup contact person chat window, and has been saved user's time.In addition, the present invention has also improved the ease for use and the convenience of IM instrument, and this quick startup chat window mode has also adapted to user's operating habit simultaneously, has reduced user's learning cost, has further saved a large amount of time for the user.
Description of drawings
Fig. 1 is the process flow diagram according to the embodiment of the invention.
The synoptic diagram of the operation interface that hot key is set that provided in the embodiment of the invention is provided Fig. 2.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in more detail by the following examples.
On the whole, a kind of technical scheme that starts user's chat window based on shortcut is provided among the present invention, the user is provided with hot key at the contact person, so only need just can start chat window by corresponding key in the lower keyboard according to hot key, and whole process is very simple and convenient.
Below with reference to Fig. 1, the performing step of the embodiment of the invention is described.Following description is an example with Windows operating system, but it will be appreciated by those skilled in the art that the present invention is not limited thereto.
Step 110, by deriving from an overall window is set, in the Create of window application DLL (dynamic link library) (API) function (create and handle) realizes, calls the api function GlobalAddAtom of Windows system and obtain overall hot key sign HotKeyID in the current Windows system in the overall window class of CWnd class (being used for the class that management window encapsulates).The hot key type that the hot key for operating type is set to start contact person's chat window is set, utilizes the relevant api function establishment of the Windows window operation interface that hot key is set as shown in Figure 2.
In operation interface as shown in Figure 2, comprise hot key type, hotkey key assignments and contacts list at least.Wherein the hot key type promptly starts contact person's chat window for opening good friend's chat window; Hotkey key assignments can provide the key assignments of acquiescence, also can key assignments be set by User Defined, below to be set to the example explanation by User Defined.
Step 120, travel through contact person's grouping and the following All Contacts of each grouping in the local memory module, obtain contact person's essential information, list control in the Stowage Plane 2, the current Windows click message of user is caught and responded to the setting operation window, promptly prepares to receive the contact person that the user selects.
Step 130, after the user selects the contact person, response WM_SelChanged message (item of representing current selection changes) in list control, extract number mark that should the contact person, utilize the api function GlobalAddAtom of Windows system, it is the contact number sign that input parameter is set, and obtains corresponding hot key sign HotKeyID.
Step 140, extract the hotkey key assignments that the user is provided with, and the window that specify to receive hot key WM_HOTKEY message (representing that current hot key item changes) is the overall window handle of the generation in the step 110, utilizes api function RegisterHotKey relevant with hot key among the Windows to carry out the registration of this contact person's hot key.
Step 150, return results according to the function R egisterHotKey of the corresponding hot key of registration contact person in the step 140, judge whether the corresponding hot key of contact person that the active user is provided with is registered, if be registered, then the prompting user is provided with again in step 160, and after the user resets, extract the hotkey key assignments of user's setting and judge once more whether it is registered; Otherwise in step 170, RegisterHotKey successfully registers this hot key.
Step 180, in the IM program operation process, if there be the key combination corresponding to be pressed with hot key, Windows operating system can detect this hotkey key assignments of user's input, the current active state that whether is in of IM program no matter, Windows operating system sends a message WM_HOTKEY all can for automatically corresponding IM application window overall situation handle.
Realize the function of response WM_HOTKEY message in the overall window that is provided with in step 110, its message parameter is respectively:
idHotKey=(int)wParam;
fuModifiers=(UINT)LOWORD(lParam);
uVirtKey=(UINT)HIWORD(lParam);
Wherein, idHotKey is useful when system-level hot key is set, and does not generally use; FuModifiers is the modifier key of hot key; UVirtKey is the key assignments of hot key.
Step 190, message parameter according to the wParam in the WM HOTKEY message, obtain the type of this hot key, judge whether it is the hot key type that starts contact person's chat window, if not, then the mode according to other is handled in step 200, promptly handles according to the type of this hotkey key assignments correspondence, is not described in detail here; If start the type of contact person's chat window, then execution in step 210.
Step 210, corresponding lParam message parameter in the extraction step 180, utilize local memory module and chat window administration module to acquire to the chat window handle data in should the dynamic data of contact person's user ID, utilize Windows Window state api function to judge whether these window handle data are handle data of effectively opening window, if effective window handle data, explanation is opened chat window that should the contact person, then in step 220, minimized window is shown, promptly call the window api function ShowWindows of Windows, and its parameter is set is SW_RESTORE (recover show); If system is judged as invalid window handle data, explanation is not opened chat window that should the contact person, then in step 230, utilize the chat window administration module to generate to chat window that should the contact person, and show the chat window that is generated, so that the user can carry out exchanges and communication with the contact person.
Further, can hot key be set a contact person in the present embodiment at normal contact, can avoid like this because hot key causes the problem of conflict too much easily, can also avoid hot key too many and make the user does not remember corresponding which contact person's of which hot key situation clearly, therefore for the user, hot key is set and be of practical significance more at the contact person of normal contact.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1, a kind of method that starts instant messaging IM tool chatting window is characterized in that, this method comprises:
A. set in advance corresponding and type is to open the hotkey key assignments of contact person's chat window with the contact person;
B. in IM instrument operational process, when receiving hotkey key assignments, judge whether the contact person's corresponding with this hotkey key assignments chat window is opened,, otherwise generate and show this contact person's chat window if then show this chat window.
2, method according to claim 1 is characterized in that, described steps A comprises:
A11. create the setting operation interface that comprises contacts list, hot key type and hotkey key assignments at least;
A12. after having selected the contact person the user, opening the hot key type and hotkey key assignments of contact person's chat window, judge whether user-selected hotkey key assignments is registered, if then point out the user to reselect hotkey key assignments and rejudge, otherwise register this hot key.
3, method according to claim 1 is characterized in that, described steps A comprises:
A21. create the setting operation interface that comprises contacts list, hot key type and hotkey key assignments at least;
A22. after having selected the contact person the user, opening the hot key type of contact person's chat window, the hotkey key assignments of acquiescence is provided and registers this hot key.
4, method according to claim 1 is characterized in that, further comprises before whether the described judgement contact person's corresponding with this hotkey key assignments chat window has been opened:
Whether whether the type of judging this hot key is the chat window that starts the contact person, open at the judge contact person's corresponding with this hotkey key assignments chat window of the situation that is.
5, method according to claim 1 is characterized in that,
Further comprise the chat window handle data of obtaining the contact person who answers with this key-value pair after in step B, receiving described hotkey key assignments;
And, whether open to judge the chat window corresponding with this contact person by judging whether these window handle data are the handle data of effectively opening window.
CNB2006100077210A 2006-02-14 2006-02-14 Method for starting immediate communication tool chatting window Active CN100456218C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100077210A CN100456218C (en) 2006-02-14 2006-02-14 Method for starting immediate communication tool chatting window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100077210A CN100456218C (en) 2006-02-14 2006-02-14 Method for starting immediate communication tool chatting window

Publications (2)

Publication Number Publication Date
CN101021748A true CN101021748A (en) 2007-08-22
CN100456218C CN100456218C (en) 2009-01-28

Family

ID=38709536

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100077210A Active CN100456218C (en) 2006-02-14 2006-02-14 Method for starting immediate communication tool chatting window

Country Status (1)

Country Link
CN (1) CN100456218C (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010015175A1 (en) * 2008-08-04 2010-02-11 腾讯科技(深圳)有限公司 Method, device and system for creating window of instant messaging system
CN102255824A (en) * 2011-01-10 2011-11-23 北京开心人信息技术有限公司 Instant messaging method and system
CN102437970A (en) * 2011-09-05 2012-05-02 上海量明科技发展有限公司 Method and client for data collection in instant messaging
CN102520853A (en) * 2011-11-29 2012-06-27 上海量明科技发展有限公司 Method, terminal and system for triggering instant messaging interaction interface
CN102594734A (en) * 2012-03-24 2012-07-18 上海量明科技发展有限公司 Method, terminal and system for starting instant communication interactive interface
CN102662704A (en) * 2012-03-31 2012-09-12 上海量明科技发展有限公司 Method, terminal and system for starting instant messaging interaction interface
CN102810059A (en) * 2011-06-01 2012-12-05 鸿富锦精密工业(深圳)有限公司 Computer false crash phenomenon processing system and method
CN102833185A (en) * 2012-08-22 2012-12-19 青岛飞鸽软件有限公司 Tool and method for instant messaging by text dragging
CN105407029A (en) * 2014-08-06 2016-03-16 阿里巴巴集团控股有限公司 Account number shunting method and communication terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1197002C (en) * 2000-02-22 2005-04-13 美商·惠普公司 Method for programming to thermal keys
US20050055412A1 (en) * 2003-09-04 2005-03-10 International Business Machines Corporation Policy-based management of instant message windows
CN100588181C (en) * 2004-01-10 2010-02-03 腾讯科技(深圳)有限公司 Communication method and system facing multiple users in immediate communication
CN100442787C (en) * 2004-01-16 2008-12-10 腾讯科技(深圳)有限公司 Quick positioning method for contacting person in immediate communication
US7552177B2 (en) * 2004-07-29 2009-06-23 International Business Machines Corporation Method for determining availability of participation in instant messaging

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010015175A1 (en) * 2008-08-04 2010-02-11 腾讯科技(深圳)有限公司 Method, device and system for creating window of instant messaging system
CN102255824A (en) * 2011-01-10 2011-11-23 北京开心人信息技术有限公司 Instant messaging method and system
CN102255824B (en) * 2011-01-10 2014-01-29 北京开心人信息技术有限公司 Instant messaging method and system
CN102810059A (en) * 2011-06-01 2012-12-05 鸿富锦精密工业(深圳)有限公司 Computer false crash phenomenon processing system and method
CN102437970A (en) * 2011-09-05 2012-05-02 上海量明科技发展有限公司 Method and client for data collection in instant messaging
CN102437970B (en) * 2011-09-05 2016-04-13 上海量明科技发展有限公司 The method of data acquisition in a kind of instant messaging and client
CN102520853A (en) * 2011-11-29 2012-06-27 上海量明科技发展有限公司 Method, terminal and system for triggering instant messaging interaction interface
CN102594734A (en) * 2012-03-24 2012-07-18 上海量明科技发展有限公司 Method, terminal and system for starting instant communication interactive interface
CN102662704A (en) * 2012-03-31 2012-09-12 上海量明科技发展有限公司 Method, terminal and system for starting instant messaging interaction interface
CN102833185A (en) * 2012-08-22 2012-12-19 青岛飞鸽软件有限公司 Tool and method for instant messaging by text dragging
CN102833185B (en) * 2012-08-22 2016-05-25 青岛飞鸽软件有限公司 Pull the method that word starts immediate communication tool chatting window
CN105407029A (en) * 2014-08-06 2016-03-16 阿里巴巴集团控股有限公司 Account number shunting method and communication terminal

Also Published As

Publication number Publication date
CN100456218C (en) 2009-01-28

Similar Documents

Publication Publication Date Title
CN100456218C (en) Method for starting immediate communication tool chatting window
US9223464B2 (en) Instant messaging activity notification
US6928619B2 (en) Method and apparatus for managing input focus and z-order
US6992656B2 (en) Computer mouse with data retrieval and input functionalities
CN100553238C (en) A kind of associated user display system and method
JP3968614B2 (en) Information transfer device and recording medium recording information transfer program
US20040230912A1 (en) Multiple input language selection
US7559083B2 (en) Method and apparatus for generating secured attention sequence
CN106373570A (en) Voice control method and terminal
US20070288850A1 (en) Application sharing
CN112306325B (en) Interaction control method and device
CN108241464A (en) A kind of method, terminal and computer readable storage medium for showing chat message
CN102138122A (en) Combining interfaces of shell applications and sub-applications
CN101493750A (en) Application program control input method and device based on touch screen input
CN103838375B (en) Terminal input method and terminal
WO2022111394A1 (en) Information processing method and apparatus, and electronic devices
CN106383721A (en) Display control method of electronic equipment, device and electronic equipment
US20050179647A1 (en) Automatic detection and switching between input modes
CN113518026A (en) Message processing method and device and electronic equipment
CN113127432A (en) Operation execution method, device, electronic equipment and medium
US20040181776A1 (en) Apparatus and method for enabling unicode input in legacy operating systems
WO2023165421A1 (en) Chat window information input method and apparatus, and electronic device
CN106406666A (en) A processing method and device for application program icons
CN105988992A (en) Icon pushing method and device
CN104220976B (en) The soft keyboard implementation method and terminal of terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant