tablet-pc

Recording and storing high-res hand drawing

梦想与她 提交于 2019-12-29 19:15:35
问题 Are there any advanced solutions for capturing a hand drawing (from a tablet, touch screen or iPad like device) on a web site in JavaScript, and storing it on server side? Essentially, this would be a simple mouse drawing canvas with the specialty that its resolution (i.e. the number of mouse movements it catches per second) needs to be very high, otherwise round lines in the drawing will become "polygonal" when moving the pen / mouse fast: (if this weren't the case, the inputDraw solution

Start another application on top most in tablet mode

对着背影说爱祢 提交于 2019-12-23 12:19:17
问题 When I run another .exe from my application it starts in the background and does not show the application on top of the screen instead shows tablet mode home screen , it's working fine in normal desktop mode but when I run it in Windows 10 Tablet mode then it does not show on top it starts in the background. I've used myWindow.TopMost = true; , but it does not work as intended in Windows 10 Tablet Mode. Code used to start exe file Process p = new Process(); p.StartInfo.RedirectStandardOutput=

Processing Touch and Gesture Events

穿精又带淫゛_ 提交于 2019-12-22 00:39:05
问题 I am working on a GUI that involves gesture input coming from a capacitive touch panel that is connected to a Windows 7 machine. The OS has Tablet PC support drivers installed and those should be the only mean of communicating. My primary approach is to use InkCollector class that is referenced inside Microsoft.ink.dll. It gives me access to SystemGesture events which are sufficient to implement the behaviour I am seeking for. Now the problem is that the SystemGesture.Flick event arrives very

How to detect if Windows 10 is in tablet mode

依然范特西╮ 提交于 2019-12-21 05:31:48
问题 I'm trying to find a method to detect if Windows 10 is in tablet mode or not. Please note, this is not about querying whether the user has a Tablet PC or not - that can be solved with GetSystemMetrics(SM_CONVERTIBLESLATEMODE) . In my case the above function always returns 0 - whether Win10 is in tablet mode or not. This thread without an epilogue seems to suggest that there is no WinAPI call that could detect Tablet mode. I hope that isn't the case, since there are different WM messages

When developing for a tablet PC, how do I determine if the user clicked a mouse or a pen?

拈花ヽ惹草 提交于 2019-12-18 17:25:44
问题 How do I check if the user clicked with a mouse or with a pen stylus on a C# control. For eg. If the user clicks a text box with a pen button then I want an input panel to pop up but if he clicks with a mouse then it shouldn't. So how do I check whether he was using a mouse or a pen? Edit: Using Windows Forms not WPF 回答1: I wrote an article for MSDN that never got published, I guess because Tablet PC development fizzled out by the time I got it to them. But it described how to do this. Long

Will TelephonyManger.getDeviceId() return device id for Tablets like Galaxy Tab…?

佐手、 提交于 2019-12-17 10:49:16
问题 I want to get the device id that will be unique for each Android device. I am presently developing for a Tablet device. Want to get unique device id and store the corresponding values... So, i want to know whether Tablet devices will return a value if i use TelephonyManager.getDeviceId()...???Or is there any other value that is unique for each device??? 回答1: This is not a duplicate question. As it turns out, Google's CTS require that getPhoneType of TelephonyManager needs to be none and

How can I display ink (that is already captured) as an image in an ASP.NET page?

落花浮王杯 提交于 2019-12-12 03:48:42
问题 I have a .NET windows application that collects ink using Microsoft.Ink from Microsoft Tablet PC SDK and stores it in a database. That's working fine. Now I need to display this ink as an image in an ASP.NET application. Note that I don't need to capture any strokes in the web application. Just display the already captured strokes as an image. I don't know how to proceed. I think I can't use Renderer.Draw in a web page. Please help, friends EDIT: Thanks for the help. Here's the sample code if

Stop the screen saver and hibernation temporarily in VB.Net

China☆狼群 提交于 2019-12-11 12:53:57
问题 I have a very long running syncronization task that cannot be interrupted by the screen saver or aggressive power saving modes. I want to make a single api call to stop power save mode and then restore it once the task is done. The following code is peaced together from various other posts but it has no effect on XP's power management settings. What am I doing wrong? TIA! Private Declare Function SetThreadExecutionState Lib "kernel32" (ByVal esFlags As Long) As Long Public Enum EXECUTION

Detect StylusDown outside app window

雨燕双飞 提交于 2019-12-11 06:36:41
问题 Simple question, hope the answer won't be: "You cant" :-) How (in code) can I subscribe to a "global" stylus down event. Windows 7 obviously does it in some way, as the little tablet icon appears as soon as I use the stylus (wacomm pen and touch, but this seems irrelevant). I want to create a simple drawing app which runs silently in the background (perhaps a small taskbar icon) and pops up as soon as I pick up the stylus and start drawing.. I am able to do all these things with a window, but

How can I fixate form for tablet PC in Delphi XE2?

爱⌒轻易说出口 提交于 2019-12-07 12:05:19
问题 I have a problem. I create a fullscreen form in Delphi XE2. Then I run my application on tablet PC with windows 7 on board where screen resolution is 1024x600. Then I rotate tablet PC (now resolution is 600x1024) and I had some problems with elements on form (some buttons are behind the screen, etc.). Can I configure project so that when I turn the tablet PC my form is not rotate? 回答1: According to this MSDN article you can detect that the screen has been rotated by listening for the WM