VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Shows the desktop on computers on which that feature has been disabled by an administrator.

by Martin James (1 Submission)
Category: Windows System Services
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Mon 20th August 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Shows the desktop on computers on which that feature has been disabled by an administrator.

API Declarations


Public Declare Function ShowWindow Lib "user32" (ByVal hWnd As Long, ByVal nCmdShow As Long) As Long


Rate Shows the desktop on computers on which that feature has been disabled by an administrator.



Dim hWnd As Long
hWnd = FindWindowEx(0&, 0&, "Progman", vbNullString)
ShowWindow hWnd, 5
End Sub

Private Sub CmdDeskhide_Click()
Dim hWnd As Long
hWnd = FindWindowEx(0&, 0&, "Progman", vbNullString)
ShowWindow hWnd, 0
End Sub

Download this snippet    Add to My Saved Code

Shows the desktop on computers on which that feature has been disabled by an administrator. Comments

No comments have been posted about Shows the desktop on computers on which that feature has been disabled by an administrator.. Why not be the first to post a comment about Shows the desktop on computers on which that feature has been disabled by an administrator..

Post your comment

Subject:
Message:
0/1000 characters