it seems a handle have to be the first argument, but which one?
I used handle I get with GetForegroundWindow(). It works but about a sec. Also I tried to get it with GetDesktopWindow() function, it doesn’t work
Yes, this method should be invoked on a window object or the sdk version requires first arugment to be a window handle, which I am sure you will be having.
Since it’s a screensaver, the moment you move your mouse or press any key it disappears.
it seems a handle have to be the first argument, but which one?
I used handle I get with GetForegroundWindow(). It works but about a sec. Also I tried to get it with GetDesktopWindow() function, it doesn’t work
Yes, this method should be invoked on a window object or the sdk version requires first arugment to be a window handle, which I am sure you will be having.
Since it’s a screensaver, the moment you move your mouse or press any key it disappears.