tablet-pc

Delphi 2010 Tablet PC Support

こ雲淡風輕ζ 提交于 2019-12-05 02:25:56
问题 One of the big selling points I saw when I had to buy delphi for my job was the ability to support tablet pc's. Now the client of the company where I work want to use a tablet pc. I've been trying hard to find examples of delphi with tablet pc but I don't find any. Does anybody has experience with it? Any kind of tutorials or examples? I don't seem to be able even to bring a virtual keyboard when a component gain focus and hide it when it loses it. 回答1: Delphi 2010 introduced some nice touch

Delphi 2010 Tablet PC Support

╄→гoц情女王★ 提交于 2019-12-03 16:45:11
One of the big selling points I saw when I had to buy delphi for my job was the ability to support tablet pc's. Now the client of the company where I work want to use a tablet pc. I've been trying hard to find examples of delphi with tablet pc but I don't find any. Does anybody has experience with it? Any kind of tutorials or examples? I don't seem to be able even to bring a virtual keyboard when a component gain focus and hide it when it loses it. Delphi 2010 introduced some nice touch and gesture support to Delphi. To get more info about it, go to EDN website and look for CodeRage 4 replays.

How to detect if Windows 10 is in tablet mode

本小妞迷上赌 提交于 2019-12-03 16:36: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 posted by the OS if it's in tablet mode or not. In tablet mode WM_SHOWWINDOW isn't sent which means I need

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

安稳与你 提交于 2019-11-30 14:49:46
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 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 story short, you'll want the GetMessageExtraInfo API. Here's the definitions: // [DllImport( "user32.dll" )]

Recording and storing high-res hand drawing

筅森魡賤 提交于 2019-11-30 00:36:46
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 suggested by @Gregory would be 100% perfect.) It would also have to have a high level of graphical

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

天大地大妈咪最大 提交于 2019-11-27 13:16:07
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??? Matt Quigley This is not a duplicate question. As it turns out, Google's CTS require that getPhoneType of TelephonyManager needs to be none and getDeviceId of TelephonyManager needs to be null for non-phone devices. So to get IMEI, please try