Screen word snatching realization method with word dragging function
A technology of screen word extraction and implementation method, which is applied in the direction of program control devices, etc., can solve problems such as loss of screen word extraction function, inconvenient use for users, immature word segmentation technology, etc., and achieve the effect of saving copying
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0036] Such as figure 1 and figure 2 As shown, the present invention has a method for realizing word extraction from the screen with word marking function, and its specific implementation includes the following steps:
[0037] Step 1: Install the global mouse hook
[0038] Use the SetWindowsHookEx API function to load the global mouse hook in the dll program of the Windows operating system of the computer equipment. Regarding the specific usage of the SetWindowsHookEx function, many books have mentioned it, and this is not the focus of the present invention, so it will not be repeated here.
[0039] Set the preprocessing function after the mouse message is captured to GetMsgProc. The following messages of the mouse need to be processed in GetMsgProc:
[0040] WINAPI GetMsgProc(MSG*msg)
[0041] {
[0042] if(msg->message==WM_MOUSEMOVE){
[0043] g_ptCurrentPoint.x = msg->pt.x;
[0044] g_ptCurrentPoint.y=msg->pt.y; / / Get the current coordinate...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com