LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to prevent right click in a web-browser

Hi there
I'm using a web-browser object to view a HTML file. How can I prevent a user from right clicking on this object.
It seems like the object isn't behaving as a normal indicator or control, it's always untop so I can't put anything transparent over it, and using an event structure with "Mouse Down?": Discard = True doesn't work either.
 
Is there another way to view a HTML file in LabVIEW?
 
Andreas - Going to NI-WEEK 😃
0 Kudos
Message 1 of 2
(2,059 Views)

Hi Lind,

you can use the "Mouse over event" this works. And if it occurs you can use a user32.dll function to block the mouse key. After the mouse leave this area, you can activate it.

Mike

0 Kudos
Message 2 of 2
(2,027 Views)