How to make a mouse cursor to point to a window?
02:29 19 Jun 2021

Is there a way to automatically/by default set the mouse cursor to point inside a newly created window (using for e.g. the CreateWindow function)? I know that for keyboard input there is a SetFocus() function, but haven't found a similar function for a mouse.

c++ windows winapi visual-c++