Auto-Hide, Auto-Unhide

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
MoZZa2018
Posts: 2
Joined: Tue Oct 09, 2018 12:29 am

Auto-Hide, Auto-Unhide

Post by MoZZa2018 » Tue Oct 09, 2018 1:26 am

I have created a simple GUI 'Tool Box', basically a banner placed at the top of the screen, with buttons to all my regular apps and websites etc. It sits uppermost, but I would like to have it hide/auto-unhide based on either shortcut keys or mouse placement, just like Stardocks 'ObjectDock'. Is this possible. I am using Powershell Studio 2018.

Many Thanks

MoZZa

User avatar
jvierra
Posts: 12874
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Auto-Hide, Auto-Unhide

Post by jvierra » Tue Oct 09, 2018 2:10 am

Detect the mouse and shrink and expand height.

MoZZa2018
Posts: 2
Joined: Tue Oct 09, 2018 12:29 am

Re: Auto-Hide, Auto-Unhide

Post by MoZZa2018 » Tue Oct 09, 2018 2:13 am

Hi jvierra ,
Many thanks for the pointer, I will give that a go now. I now see how I can add a keystroke shortcut to do the same. Brilliant.

MoZZa

Locked