Results 1 to 2 of 2

Thread: Need help

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2001
    Location
    belguim
    Posts
    61

    Need help

    how can i hide everything on my desktop
    even the status bar (where the button start is)

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    This will hide the icons:
    VB Code:
    1. Public 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
    2. Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
    3. Public Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
    4.  
    5. Private Sub Command1_Click()
    6. Dim h, h1, h2 As Long
    7. h = FindWindow("progman", vbNullString)
    8. h1 = FindWindowEx(h, 0&, "SHELLDLL_DefView", vbNullString)
    9. ShowWindow h1, 0
    10. End Sub
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width