VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Hide Your Desktop.

Nimesh Patel  (3 Submissions)   Windows System Services   VB 6.0   Unknown Difficulty   Sun 7th April 2002   Mon 8th February 2021

Hide Your Desktop.

API Declarations


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
Private Declare Function ShowWindow Lib "user32" (ByVal hWnd As Long, ByVal nCmdShow As Long) As Long
Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" _
(ByVal uAction As Long, ByVal uParam As Long, lpvParam As Any, ByVal fuWinIni As Long) As Long

Private Const SPI_SCREENSAVERRUNNING = 97

____________________________________________________

Module :---


Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Declare Function SetWindowPos Lib "user32" (ByVal hWnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Public Const SWP_HIDEWINDOW = &H80
Public Const SWP_SHOWWINDOW = &H40
Declare Function ShowCursor& Lib "user32" (ByVal bShow As Long)

Rate Hide Your Desktop. (2(2 Vote))
Hide Your Desktop..bas

Hide Your Desktop. Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters