Skip to content

Latest commit

 

History

History
66 lines (51 loc) · 3.81 KB

README.md

File metadata and controls

66 lines (51 loc) · 3.81 KB

VisualWindowsController (with GUI)

Visual capture window information and control window

Based on Win32 API.

Select a window to start

  • Use Dynamic
    • Select the characteristics of the window and automatically update the currently selected window at regular intervals
    • The default time is 20 milliseconds
    • Change the value of "Hwnd-UpdateInterval" to change this refresh rate
  • Use Static
    • If you already know the handle of the window, you can directly enter it in the "Current HWND" bar
    • If you enter an invalid window handle, VWC will not be able to obtain the correct window information
    • To avoid the above issues, you can directly select this current window by clicking in the window list

Button: Lock refresh of current information (hotkey Ctrl+L Non-global)
Button: Lock refresh of current hwnd (hotkey Ctrl+W Non-global)
Button: Save all information to clipboard (hotkey Ctrl+S Non-global)

pageSelect

Display and change the basic information of the window

  • When editing window information, this information will not be refreshed, and the refresh will resume when the input focus of the widget is canceled
  • In the "Style" bar, you can click to change whether the style property is enabled. 1 is enabled, 0 is not enabled
    • If it is a predefined style attribute, hovering over the mouse will display the corresponding description (description from MSDN document)
    • For system widget, additional styles will be used (e.g. class of window is "Button")
    • Undefined styles are used by window developers

Warning: Please do not use the slider in "RECT" to change the size and position of your own window

Because the width of the slider adapts to the window size

pageWindow

Displays basic information about the process to which the current window belongs

  • Use the "Open Explorer" button to open the explorer and select this file

pageProcess

Display cursor and window images

  • Window Image
    • The image comes from current window and will not be obscured by other windows
    • This method can only obtain images of ordinary windows, and windows rendered using D3D will display a black screen
  • Screen Image
    • In order to solve the above problems, a method of screen image is provided
    • The window image obtained by this method will be blocked by other windows
    • Note: Using this method will perform more processing on the image
  • Color Circle
    • The color circle consists of four parts
    • The innermost circle uses the color of the current cursor point
    • The remaining three rectangles are RGB, the color depth is alpha
    • Use the "Save Image" button to save the image of the current frame

pageCursor

Author: YangHuanhuan
Created on 2023/3/19, 22:12:00

Copyright (c) 2023 YangHuanhuan 3347484963@qq.com. All rights reserved.

--The end--