-
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
-
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)