Advertisement
3_2004-2005 Miscellaneous #135240

Refresh Desktop

Refresh / Redraw / Repaint the users desktop. Used when you have changed something on the desktop and you want the user to see it :) - Comments and Rates will be appreciated.

AI

Podsumowanie AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Kod źródłowy
original-source
Public Sub RefreshDesktop()
 Dim DeskWin As Long
 DeskWin = FindWindowEx(0&, 0&, "Progman", vbNullString)
 DeskWin = FindWindowEx(DeskWin, 0&, "SHELLDLL_DefView", vbNullString)
 DeskWin = FindWindowEx(DeskWin, 0&, "SysListView32", vbNullString)
 PostMessage DeskWin, WM_KEYDOWN, &H74, &H3F0001
End Sub
Oryginalne komentarze (3)
Odzyskane z Wayback Machine