• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 304
  • Last Modified:

How to hide the taskbar in WIN98 ?

In Delphi3 under WIN98 i want at a certain time hide the taskbar and at another time show it again.
Is there an API-function that hides the taskbar ?
0
titz
Asked:
titz
  • 2
1 Solution
 
saar071697Commented:
first make a var:
var hTaskBar: HWND;
---------------------
Enter this in the form's OnCreate Event Handler:
hTaskBar := FindWindow('Shell_TrayWnd', nil);//Finds the taskbar
---------------------
to show the task bar:
ShowWindow(hTaskBar, SW_SHOW);
---------------------
to hide the task bar:
ShowWindow(hTaskBar, SW_HIDE);


Daniel,
0
 
viktornetCommented:
Well, Saar(Daniel), I can see that you only get, get, get and never give, that's bad thing to do...and one more thing...Are you trying to make any screen freezes, and stuff like that, like trying to mess up with poeple's computers, and making kinda viruses...hmhmhmhmh....BAD>>>>>>> Better change that.......................    :-[

Viktor Ivanov
0
 
titzAuthor Commented:
Thanks Daniel, that is exeactly what i was looking for !

0
 
viktornetCommented:
Yeah but Daniel doesn't give points, compared to you...
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now