How to set Taskbar to Auto Hide programmatically?
Posted: Fri Jun 23, 2006 2:23 pm
Is it possible with PB to set the Taskbar to Auto Hide?
I have a program that needs the entire screen. This is fine on systems that have the Taskbar settings set to Auto Hide. However, some users do not have their systems set this way and lose the bottom line to the Taskbar.
How can I temporarily change that setting so that the Taskbar does Auto Hide while my program is running and then reset it to the user's original setting when my program exits?
A search on the forum yields a couple of clues. One allowed me to query the Taskbar settings and display them (fsw), modifying another allowed me to modify the setting to Auto Hide, but then it doesn't actually auto hide the task bar. Another example causes the taskbar to be "hidden" but it doesn't reapper as it does in Auto Hide until the program "unhides" it.
Any suggestions or code examples appreciated.
Terry
I have a program that needs the entire screen. This is fine on systems that have the Taskbar settings set to Auto Hide. However, some users do not have their systems set this way and lose the bottom line to the Taskbar.
How can I temporarily change that setting so that the Taskbar does Auto Hide while my program is running and then reset it to the user's original setting when my program exits?
A search on the forum yields a couple of clues. One allowed me to query the Taskbar settings and display them (fsw), modifying another allowed me to modify the setting to Auto Hide, but then it doesn't actually auto hide the task bar. Another example causes the taskbar to be "hidden" but it doesn't reapper as it does in Auto Hide until the program "unhides" it.
Any suggestions or code examples appreciated.
Terry