Because of the easy software, most software design uses the dual-screen expansion technology, and the built-in PPT display and other multi-process technology. The design of shortcut keys cannot be used in general design methods.
Design ideas are as follows:
1. When the interface focus is on the control software interface, the design shortcut keys will work. If the control software interface loses focus, the design shortcut keys do not work. So you can use advanced technology: hook technology, use it to catch keyboard information.
2. Software built-in PPT display using Microsoft 2003PPT Technology, display PPT document will be full screen software ppt software. And this Microsoft PPT software and control software belong to different process, but the focus is in PPT display document, control software to catch keyboard information, can only use global hooks, Instead of the process hooks.
3. While editing the PPT document, if you use the same shortcut key, it may also inspire this shortcut, so, when editing the PPT document, to close this hook.
4. That is, users in the intended use of shortcut keys, must not do other similar operation shortcut key operation. Avoid triggering this shortcut, triggering an unexpected field operation.
The following "Live two-screen management system-multi-threaded lottery version" Software as an example, say its operation process, other software similar:
When intending to draw, the draw ppt control Area panel status is as follows:
When you click on the shortcut button, the Draw ppt control Area panel status is as follows ( Note: 360 sometimes mistakenly reported that the keyboard was caught, should allow the release at this time ):
Start scroll button appears [space] word, stop scrolling button appears [Enter] the word, meaning: the user can use the keyboard's SPACEBAR and enter to control the two buttons, instead of just using the mouse.
When the user clicks the [Edit] button (Note: There are two programming buttons on the interface), the software automatically cancels the use of the shortcut keys. If you plan to use it, click the [shortcut] button again to enable the [start scrolling] and [Stop scrolling] shortcut keys feature.
In order to prevent individual customers in the use of shortcut keys at the same time, and to operate other software, but also designed the [focus] button to give users a reminder, the focus is not on the control interface, to operate other software, is not appropriate. If you want to operate other software, do not press the keyboard [SPACEBAR] and [Enter].
Two-process dual-screen software shortcut key design and use instructions