View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
keepITcool keepITcool is offline
external usenet poster
 
Posts: 2,253
Default API for TaskBar options


http://vbnet.mvps.org/index.html?cod...barmessage.htm

keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


adam99 wrote:

Hi All,

Can someone help me with the Windows task bar. I am trying to turn off
"Keep task bar on top" option. I have found an API that gets the state
of the taskbar but I cannot seem to set it.
Declare Function SHAppBarMessage Lib "shell32.dll" _
(ByVal dwMessage As Long, pData As APPBARDATA) As Long

Does anyone know how to set this property?
The only information I have found that it can only be set for Windows
2000 which in my case would be fine.
I need to turn this option off before I change the resolution of
computers running Windows 2000 as it causes the whole taskbar to be
placed in the middle of the screen.

Thanks,
Adam.


---
Message posted from http://www.ExcelForum.com/