Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Is it possible to hide the Windows Task Bar?
I am using VBA in Excel XP with Windows 2000.
Is it possible to hide the Windows Task Bar using VBA (perhaps with an API)? If so, could someone please post a function that can be used to hide/unhide it? Thanks much in advance. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Is it possible to hide the Windows Task Bar?
Hi quartz,
Private Declare Function FindWindowEx& Lib "user32" Alias "FindWindowExA" _ (ByVal hWnd1&, ByVal hWnd2&, ByVal lpsz1$, ByVal lpsz2$) Private Declare Function ShowWindow& Lib "user32" (ByVal hwnd&, ByVal nCmdShow&) Sub TaskBar_Hide() ShowWindow FindWindowEx(0, 0, "Shell_TrayWnd", vbNullString), 0 End Sub Sub TaskBar_Show() ShowWindow FindWindowEx(0, 0, "Shell_TrayWnd", vbNullString), 5 End Sub MP "quartz" a écrit dans le message de ... I am using VBA in Excel XP with Windows 2000. Is it possible to hide the Windows Task Bar using VBA (perhaps with an API)? If so, could someone please post a function that can be used to hide/unhide it? Thanks much in advance. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Is it possible to hide the Windows Task Bar?
Just what I needed, thanks a lot!
"Michel Pierron" wrote: Hi quartz, Private Declare Function FindWindowEx& Lib "user32" Alias "FindWindowExA" _ (ByVal hWnd1&, ByVal hWnd2&, ByVal lpsz1$, ByVal lpsz2$) Private Declare Function ShowWindow& Lib "user32" (ByVal hwnd&, ByVal nCmdShow&) Sub TaskBar_Hide() ShowWindow FindWindowEx(0, 0, "Shell_TrayWnd", vbNullString), 0 End Sub Sub TaskBar_Show() ShowWindow FindWindowEx(0, 0, "Shell_TrayWnd", vbNullString), 5 End Sub MP "quartz" a écrit dans le message de ... I am using VBA in Excel XP with Windows 2000. Is it possible to hide the Windows Task Bar using VBA (perhaps with an API)? If so, could someone please post a function that can be used to hide/unhide it? Thanks much in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Windows in task bar in MS EXCEL 2007 | New Users to Excel | |||
Windows in Task bar in 2007 | Excel Discussion (Misc queries) | |||
Problem with Windows in Task Bar command | Excel Discussion (Misc queries) | |||
Task Bar & Windows Title changes | Excel Programming | |||
Checking for a Task on windows? | Excel Programming |