LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I hide the Windows 7 Start button in modal mode with focus activity

Solved!
Go to solution

Hello everybody,

I'm trying to use a modal VI to "hide" background activities (other programs opening and running, windows mooving...). The user can't have access to others programs, so I blocked the keyboard and mouse. The problem is that he still can have access to the Windows 7 start button. I tried hide_windows_taskbar.llb, I tried to hide the taskbar directly from Windows, but I think that every focus changes makes the button to appear (at the VI launching, he is hidden).

 

Is there somebody who had this kind of problems ?

 

Regards,

0 Kudos
Message 1 of 14
(3,889 Views)

if you really wanted, you could create a VI that:

1) detects the size of the main monitor

2) sizes itself to the size of the main monitor (full screen) - this will cover the windows toolbar

3) runs on the main monitor - in case there is more than 1

4) (optional) runs transparently - or at 50% transparency).

5) runs without the menu bar or title bar so you know you have the exact size correct.

6) runs modally but closes when required.

 

The behaviour of this VI is such that the only way to take focus away from it is to use Alt+Ctrl+Del (and you can't defeat that key combination with any S/W lockout.)

 

There should never be any real reason to lockup a PC with your program anyway though.

Or are you trying to write a virus with LabVIEW?Smiley Mad

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 2 of 14
(3,851 Views)

fullscreen-modal.png

but still my autohiding taskbar comes up when i move the mouse to bottom of screen,

so i guess that is not the way


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 3 of 14
(3,848 Views)

size to desktop.pngYou didn't do what I suggested (I've added 50 to both dimensions to ensure it oversizes by 50 pixels)

maximise will always allow you to drag the mouse onto the pixels for the toolbar. You need to cover them with your VI's FP!

Try this method instead.

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 4 of 14
(3,832 Views)

just testet again, removed the window maximize and replaced as you suggested,

still my taskbar comes up

 

ps: i only added 50 to "right" and "bottom"


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 5 of 14
(3,825 Views)

1) if it's not set to autohide, do you get the same behaviour?

2) If you want to you could always try and get around it by detecting the event Mouse leaves (the window) and then action something to regain focus on your code so the user can't use the mouse to find the toolbar.

3) if you are pressing the Windows key, you are probably stuffed as it is probably bypassing you in the OS anyway - change the keyboard for one without if you can.

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 6 of 14
(3,814 Views)

hehe .. i'm not OP... was jsut curious

 

no-autohiding == taskbar is in front all the time

note, that i am running on win10, perhaps it behaves differently


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 7 of 14
(3,807 Views)
Solution
Accepted by topic author fmorel

I finally used the TaskBar Eliminator (a Windows application). It was the only and easy way to hide the Start button and the taskbar at the same time.

 

Thanks all

0 Kudos
Message 8 of 14
(3,804 Views)

Lol, noo it's not a virus ! But people on my production line love to use production PC to do other things than work 😉

0 Kudos
Message 9 of 14
(3,801 Views)

ghost postings to answer to?


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 10 of 14
(3,797 Views)