Is it possible to repaint a window when there are no active users logged on to a windows machine using c sharp? And will that window be available to screen capture program? Or is it not possible at all and a user must be logged into the machine.
I make use of the below:
SetForegroundWindow(handle);
InvalidateRect(IntPtr.Zero, IntPtr.Zero, true);
UpdateWindow(handle);
Thanks all for any help
Since there is no user logged in, there is no UI running.
So, no, you can’t repaint under such circumstances (there is no window to repaint).