I have perhaps a silly question, but I am curious to find out if, you can code a program, for instance in c++, which would disable or enable touch screen without rebooting or signing out, in addition I just want to disable touchscreen and be still able to use pen on tablet. (on windows 10).
I know you can enable or disable touch screen by Device manager, but that is not what I am looking for. Also I know that you can tweak registries to disable/enable the touchscreen, but it only takes effect if one reboots or signs out.
I would just want to know if there is a way to do this. Is there any function for this in .net framework or win32? Thank you for any answer.