Problem:
On Win Termenal Server the Excel spreadsheet will not execute a macro until a user will click anywhere on a spreeadsheet.
I could send a WM_LBUTTONDOWN message but how would I figure hwnd?
Is there a message for repaint?
Thank you!
Alex.
Printable View
Problem:
On Win Termenal Server the Excel spreadsheet will not execute a macro until a user will click anywhere on a spreeadsheet.
I could send a WM_LBUTTONDOWN message but how would I figure hwnd?
Is there a message for repaint?
Thank you!
Alex.
>I could send a WM_LBUTTONDOWN message but how would I figure hwnd?
I'd rather use mouse_event API or SendInput instead.
get the hwnd by calling FindWindow API.
>Is there a message for repaint?
repainting is usually enforced via InvalidateWindow/UpdateWindow
No you are the genius!
Thanks!