VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Refresh Desktop

F2  (1 Submission)   Miscellaneous   Visual Basic 3.0   Beginner   Wed 3rd February 2021

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.

Inputs
Nothing.

Returns
Nothing.

Side Effects
Nothing.

API Declarations
Private Declare Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Declare Function FindWindowEx Lib "user32" _
Alias "FindWindowExA" (ByVal hWnd1 As Long, _
ByVal hWnd2 As Long, ByVal lpsz1 As String, _
ByVal lpsz2 As String) As Long
Const WM_KEYDOWN = &H100

Rate Refresh Desktop (3(3 Vote))
Refresh Desktop.bas

Refresh Desktop Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters