开发者

Show form only in presence of graphics tablet/pen input device?

开发者 https://www.devze.com 2023-02-07 13:51 出处:网络
Is there any way that I can show a window only when a pen/tablet is in use, just like the wi开发者_如何学Pythonndows tablet PC input panel is only shown when a pen/tablet is used (and not just connect

Is there any way that I can show a window only when a pen/tablet is in use, just like the wi开发者_如何学Pythonndows tablet PC input panel is only shown when a pen/tablet is used (and not just connected)?


You can handle or set a trigger for the UIElement.StylusInRange event to make your control visible. (Conversely there is a StylusOutOfRange event which you might need for hiding)

0

精彩评论

暂无评论...
验证码 换一张
取 消