A method and device for intercepting windows in a screen
A technology for intercepting screens and windows, applied in the field of communication, can solve the problems of low precision of intercepting windows, unable to meet the requirements of fine intercepting windows, etc., and achieve the effect of convenient window interception
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0042] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.
[0043] A method of capturing a window in the screen such as figure 1 shown. The method includes the following steps.
[0044] Step S100, when the mouse is located in the non-normal window, obtain the parent window handle of the non-normal window according to the position coordinates of the mouse.
[0045] For example, when the mouse is located in the non-common window, the WindowsAPI (Windows system application programming interface) function WindowFromPoint is applied to obtain the parent window handle of the non-common window according to the position coordinates of the mouse.
[0046] Step S200, converting the position coordinates of the mouse into window coordinates in the parent window according to the handle of the parent windo...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 