Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default hide or decrease taskbar

Is there a method to hide or decrease the taskbar from 2 to 1 line(s)
(autohide?) using a visual basic command?

thanks
roland
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 214
Default hide or decrease taskbar

Hi Roland,
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

"Roland" a écrit dans le message de
...
Is there a method to hide or decrease the taskbar from 2 to 1 line(s)
(autohide?) using a visual basic command?

thanks
roland


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
decrease integers to zero Andi Excel Worksheet Functions 7 May 9th 09 02:35 AM
decrease formula bar reginaj Excel Discussion (Misc queries) 2 December 8th 08 04:14 PM
How do I decrease the gap width of the Up/down bar? Xcel08 Excel Discussion (Misc queries) 3 April 20th 08 09:28 PM
Automatic % decrease tdw Excel Discussion (Misc queries) 1 May 26th 05 11:23 AM
hide TASKBAR in Sub Workbook_open() Dago Excel Programming 4 April 28th 04 02:32 PM


All times are GMT +1. The time now is 10:06 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"