>Dear All,
>How can i auto-hide task bar in my app programatically?
You can adjust the Auto-Hide property of the task bar in the registry; under Win2K, it is found under
HKEY_CURENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop
under the TaskBar key value; but it's a long binary value and I don't have the exact setting you need to make, since literally dozens of TaskBar properties are controlled by the value. There may be a SystemMetrics API call to manipulate it, but I don't know it.
Since the behavior of the taskbar is a user preference, you should not be messing with it in any case - I scrap any piece of crap software that messes with the position, size or behavior of my taskbar, which isn't always a single line at the bottom of the desktop. Tell the user to adjust it by right-clicking on the Start Menu button.
>
>Thanku in Advance