I am making GUI for win 10 tablet but I am working on win 7 PC. I need this GUI to have buttons with mechanical action switch until release. Problem is that tablet touchscreen does not detect touch until I move my finger on it or until I release touch. For this reason I can't use events like mouse down or mouse enter.
I'd like to avoid buying Touchscreen Toolkit because I need only one simple function.
I have found solution (attachement) with user32.dll and Windows Message Queue.llb which I build and tested on win 7 PC (works fine) and win 10 tablet. When I run it on win 10 although there aren't any errors it doesn't get any windows messeges (it doesn't work).
Do you have any idea why I can't transfer it to windows 10 and how to solve this problem?
Thanks in advance for help.