Results 1 to 2 of 2

Thread: stupid taskbar

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    3

    Smile

    I have my windows taskbar on autohide and "always on top", is there a way I can make a program over-ride this so the taskbar won't show up when the cursor is moved to the bottom of the screen and make it so no program can be run overtop it? Or is there a way to get rid of the cursor completely? Thanks for your suggestions

  2. #2
    Guest
    Why don't you just hide the taskbar?

    Code:
    Declare Function findwindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
    Declare Function showWindow Lib "user32" Alias "ShowWindow" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
    Public Const SW_HIDE = 0
    Public Const SW_SHOW = 5
    
    'Hide
    Dim tray&
    tray& = findwindow("Shell_TrayWnd", vbNullString)
    X = showWindow(tray&, SW_HIDE)
    
    'Show
    Dim tray&
    tray& = findwindow("Shell_TrayWnd", vbNullString)
    X = showWindow(tray&, SW_SHOW)

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