WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Hiding-Disabling Apps to Prevent User Intervention

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

How to Hide the Taskbar so that User Cannot Get to It

Keywords:      hide taskbar   task bar

Question:

I want to hide the taskbar. Is there any way to do that with WinBatch?

Answer:

Try this
AddExtender("wwctl44i.dll")

#DefineFunction ShowTaskbar(Show)
   window1=cWndByWndSpec("Shell_TrayWnd","explorer",3,304,303,40965)
   WinID=cWinIDConvert(window1)
   If Show
      WinShow(Winid)
   Else
      WinHide(Winid)
   EndIf
#EndFunction

ShowTaskbar(@FALSE)
Message("","Taskbar is hidden")
ShowTaskbar(@TRUE)


Question:

I have developed a screen combining boxes and a dialog box. Looks very nice. Trouble is, if the taskbar in Win95 is moved around, top left for right, the alignment is off between the box and dialog box.

Do you know how to determine the postion of the taskbar? I have searched high and low, used a registry monitor program, nothing.

Answer:

I think the taskbar position is saved in the ShellIconCache file in the windows directory. But it is a binary file and I have no idea on how to read it.

In cases like this I usually just make a smaller screen so that the taskbar could be anywhere and my screen is still visible.


Article ID:   W13255
Filename:   Hide Taskbar so User Cannot Get to It.txt
File Created: 2006:08:30:11:52:12
Last Updated: 2006:08:30:11:52:12