I'm using a
, just to load a textfile and view it, while looped scrolling.
I don't want users to be able to add, change, select, open other files in the box, etc.
I disabled the arrow keys on the
, so you can't use them to switch to the Box.
So far I've used the following:
For the Events of the
When my application runs, I can click, hold down and move, without anything happening.
That's good, but I discovered that when I use the middle mouse button or right mouse button (both click) without using the left first, then the text starts over again just once...?
It seems I can't block users from using the other buttons and the problem is it does something to the functionality of my application.
I tried code like:
I also tried to make a layer above the box and make it invisible, but invisible means not interactive as well... :(
If I click, it goes through my layer!
Nothing worked, if I tried to make a simple popup on left and right click, it only appears on left click.. Anyone that knows a solution to block those mousepresses on the box?
For my total Project and (source) downloads to try, refer to:
Creating a NFO Viewer in C# as a beginner