VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



hide desktop

by d.mallett (1 Submission)
Category: Encryption
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 23rd December 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

hide desktop

Rate hide desktop



Private Declare Function ShowWindow Lib "user32" (ByVal hWnd As Long, ByVal nCmdShow As Long) As Long
Option Explicit

Private Sub Command1_Click()
'To Show Desktop
Dim hWnd As Long
hWnd = FindWindowEx(0&, 0&, "Progman", vbNullString)
ShowWindow hWnd, 1
End Sub

Private Sub Command2_Click()
'To Hide Desktop
Dim hWnd As Long
hWnd = FindWindowEx(0&, 0&, "Progman", vbNullString)
ShowWindow hWnd, 0
End Sub


Download this snippet    Add to My Saved Code

hide desktop Comments

No comments have been posted about hide desktop. Why not be the first to post a comment about hide desktop.

Post your comment

Subject:
Message:
0/1000 characters