I want to write a tool software, when I click on the status bar icon of this tool software, it displays the coordinates and color values of the mouse cursor position, I have already realized the specific function, but I want to set the mouse cursor style to cross cursor style in the process of capturing the desktop coordinates, because at this time, the mouse cursor is not in my program window, so I simply change the form control. Cursor style to cross doesn't work, I checked the solution on stackoverflow, by modifying the custom default cursor style file on the registry, and then refreshing the system's cursor settings, but it doesn't work, the program will still revert to the default arrow cursor on other windows, how should I achieve my purpose, can someone tell me?
Below is a solution I found on stackoverflow, however it doesn't solve the problem.
I want to add the action of changing the mouse cursor in the following event:
Below is a solution I found on stackoverflow, however it doesn't solve the problem.
I want to add the action of changing the mouse cursor in the following event: