Skip to content
⌘ NSIS Forum Archive

help..windows to refresh

3 posts

slo#

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#
Not sure why you'd need to do this.

GetActiveWindow is a start anyway. Could try calling RedrawWindow on the handle.

Stu
Anders#
GetActiveWindow is the active window in your process, for the real window the user is "working in", use GetForegroundWindow