slo
10th July 2009 07:22 UTC
help..windows to refresh
Hello,
Just want to ask if there is a way in refreshing the active windows in desktop.
Currently, i've seen this script " SendMessage 65535 26 0 0 " to refresh the desktop. But I need to know if for active windows can also be refreshed.
Thanks in advance.
Afrow UK
10th July 2009 12:23 UTC
Not sure why you'd need to do this.
GetActiveWindow is a start anyway. Could try calling RedrawWindow on the handle.
Stu
Anders
10th July 2009 17:37 UTC
GetActiveWindow is the active window in your process, for the real window the user is "working in", use GetForegroundWindow