HP TouchSmart 9100 Resources for Developing Touch-Friendly Applications for HP
HP TouchSmart 9100 - Business PC Manual
View all HP TouchSmart 9100 manuals
Add to My Manuals
Save this manual to your list of manuals |
HP TouchSmart 9100 manual content summary:
- HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 1
Stylus Events 19 What to Consider When Developing Touch Applications for Multiple Windows Versions 24 Stylus 24 HP dx9000 Specifics 25 HP Touch Screen Configuration 25 Enabling /Disabling the Touch Device 26 Disabling the HP TouchSmart Button 26 Disabling the Volume and Mute Controls 26 1 - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 2
HP TouchSmart 9100 Specifics 27 Disabling the HP TouchSmart Button 27 Changing TouchSmart Style with HP TouchSmart Style Utility 28 HP TouchSmart Software Basic Style 28 HP TouchSmart Software Ultimate Style 28 Putting a System to Cleaning/Maintaining Mode with HP Maintenance Utility 28 - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 3
environment. Scope Hardware Platforms HP dx9000 Touchsmart Business PC HP TouchSmart 9100 Business PC Operating Systems Microsoft Windows XP® Professional Microsoft Windows Vista® Business (32-bit and 64-bit) Microsoft Windows 7® Professional (32-bit and 64-bit) Note The touch feature of - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 4
on an HP Touch Platform Hardware: A supported system above Software: Microsoft Windows 7®, Windows Vista® or Windows XP® (Please see platform specific sections towards the end of the document for HP recommended operating system for each platform) Touch driver and touch support: The following - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 5
: The preinstalled image of HP business touch-enabled desktops may come with HP TouchSmart software. This software is a framework hosting other registered applications to provide the unique HP touch experience. The instructions to write a hosted application in HP TouchSmart software are available at - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 6
by providing selections like sliders, checkboxes, option buttons, auto-text, appropriate default values, etc. more details, please read the Windows User Experience Guidelines for Touch If applicable, test your applications with different screen resolution and DPI settings to ensure there are no - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 7
like the HP dx9000 can and should take advantage of the touch technology. This section highlights the gestures supported by Windows Vista and provide links for more touch input manipulation. System Gestures A touch gesture is a quick movement of a finger on the screen that a computer understands - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 8
gestures and default assignment in Windows Vista. Navigational flicks Editing flicks Flick Flick left Flick right Equivalent command Back command Forward command Enabled by default Flick up Keyboard Scroll Down one screenful Flick down Keyboard Scroll Up one screenful Flick up-left diagonal - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 9
gestures is available on MSDN. If you would like to support flick gestures in your application, refer to "Flicks API Reference" on MSDN. If your application handles command messages, the window procedure (WndProc) of the window that handles the command message should be similar to the following - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 10
gestures, Windows Vista also supports application gestures If the height of the gesture increases, the number of back and forth strokes also needs to increase. Draw the triangle the inkCanvas_OnGesture method is called. If the stroke is a one-stroke triangle or square or circle and the gesture is - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 11
action here } else { //not the expected gestures e.Cancel = true; } } Enabling/Disabling Touch Pointer The touch pointer is the Windows floating graphic that looks like a mouse on screen. This pointer helps you target small objects since touching small targets is not accurate for a finger. To show - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 12
{ uint result = 0; if (...) { //enable the touch pointer result |= SYSTEM_GESTURE_STATUS_TOUCHUI_FORCEON; } if (...) { //disable the touch pointer result |= SYSTEM_GESTURE_STATUS_TOUCHUI_FORCEOFF; } //return the modified messages 12 - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 13
HP recommends Windows Vista® Business msg.Result = (IntPtr)result; } break; default: base.WndProc(ref msg); break; } } Refer to the article, "Touch Input Support in Windows Vista," on MSDN for more details. Disabling System Gestures By default a window application receives all system gesture events. - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 14
have support for all multi-touch features. In the interim, WPF application developers have the following options: Use .NET wrappers in Windows 7 Multitouch time and the target is the midpoint between two fingers Panning (drag one or two fingers up and/or Mouse left-click Mouse double click Mouse - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 15
enabled them by configure Pen and Touch settings in Windows. Equivalent message Control key + mouse scroll wheel Not applicable Forward command Back command Keyboard Scroll Down one screenful Keyboard Scroll Up one screenful Keyboard Delete Keyboard Undo Keyboard Copy Keyboard Paste The following - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 16
BOOL bResult = GetGestureInfo((HGESTUREINFO)lParam, &gi); BOOL bHandled = FALSE; if (bResult){ // now interpret the gesture switch (gi.dwID){ case GID_ZOOM: // Code for zooming goes here bHandled = TRUE; break; case GID_PAN: // Code for panning goes here bHandled = TRUE; break; case GID_ROTATE: // - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 17
change yourself. More details about touch support in Windows 7® are available on MSDN at windows.h> . . . // test for touch int value = GetSystemMetrics(SM_DIGITIZER); if (value & NID_READY){ /* stack ready */} if (value & NID_MULTI_INPUT){ /* digitizer is multitouch */ MessageBoxW(hWnd, L"Multitouch - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 18
= pInputs[i]; //do something with each touch input entry } bHandled = TRUE; }else{ /* handle the error here */ } delete [] pInputs; }else{ /* handle the error here, probably out of memory */ } 18 - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 19
". Once Windows sends the first touch message to a window, all subsequent touch messages are sent to that window until another window gets focus raw touch input messages to a manipulation processor and get manipulation delta events back with all the deltas you want to know to respond to touch - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 20
and one red appear at the touch down locations. The squares move accordingly to the touch contacts and disappear when the touches are released. Window1.xaml - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 21
public Window1() { InitializeComponent(); // here's the first thing you need to do. upon window load, you want to set the tablet // property to receive multi-touch data. You need to the window loaded to ensure the handle is created. this.Loaded += new RoutedEventHandler( delegate(object sender - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 22
Touch1.SetValue(Canvas.LeftProperty, -Touch1.Width); Touch1ID = 0; } else if (e.StylusDevice.Id == Touch2ID) { Touch2.SetValue(Canvas.LeftProperty, -Touch2.Width); Touch2ID = 0; } } #endregion } } The full blog, Windows 7 Multi-touch Using WPF, is available at http://blog.andreweichacker.com/2009/02 - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 23
You may also refer to the touch sample and wrappers in Windows 7 Multitouch .NET Interop Sample Library at Windows Touch: Developer Resources (http://code.msdn.microsoft.com/WindowsTouch). NET touch wrappers for managed WinForms and WPF . 23 - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 24
flick right is forward command in Windows 7®. Flick right translates to forward command in Windows Vista®, and back command in Windows 7®. That means the same application supporting flick left and right will behave differently on Windows Vista® and Windows 7®. You can clearly see this difference - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 25
touch or contact points HP recommends Windows Vista® Business for HP dx9000. Windows Vista® recognizes single touch gestures automatically. Note For two-touch recognition to work on Windows 7® , you will need to install NextWindow Windows® 7 touch screen driver. Simple twotouch gestures such - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 26
enable the touch device. Disabling the HP TouchSmart Button The HP TouchSmart button, the round button with the house icon located on the front bottom right corner of the display panel, quickly turns on the computer (if not already on) and launches the HP TouchSmart software. If you need to disable - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 27
support with Windows 7® Single touch support with Windows XP® and Windows Vista® No pressure detection at the touch or contact points HP recommends Windows 7® Professional for HP TouchSmart 9100. Disabling the HP TouchSmart Button Same as HP dx9000: The HP TouchSmart button, the round button - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 28
of HP TouchSmart 9100 to hibernate the system for a few minutes for cleaning. See Example 4 - XML to Retask Volume Mute button to Cleaning Mode later on for more details. Note HP Maintenance Utility puts a system to hibernation so hibernation must be enabled for the utility to work. Wake On LAN - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 29
only works if the unit has the following prerequisites: Buttons & OSD control application gen3 must be installed (can be checked in Control Panel > Programs > Programs and Features). The latest ACPI driver and device drivers for HP TouchSmart 9100 must be installed. HP System Configuration - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 30
:restriction> The interval in miliseconds to simulate a button press if a button is pressed and held - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 31
="required"/> Example 1 - XML to Disable All Side Volume Buttons Purpose: Disable side volume up button Disable side volume down button Disable side volume mute button - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 32
/> Example 3 - XML to Re-task Side Volume Buttons to Control button is pressed and held, it will behave similar to when the button is pressed exactly once. When the side volume mute button turned on when the volume mute button is pressed. - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 33
the volume mute button is pressed. The system should wake up automatically by itself when the cleaning mode expires. During the cleaning mode, the touch screen, the mouse and PrgFiles%\Hewlett-Packard\HP Maintenance Utility\HPMaintUtility.exe" /hibernate /minutes:2 Button Element Attribute Summary - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 34
DecreaseDisplayBrightness or ToggleDisplayOnOff The full command line to launch an executable Note button to repeat the simulation of a button click if the button is pressed and held for a moment of time. The whole button element is ignored if AutoRepeatInterval value is outside of the valid range - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 35
35 - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 36
Touch Input Support in Windows Vista http:// HP TouchSmart Software Developer Guidelines http://www.touchsmartcommunity.com/download/60/HP-TouchSmart-SoftwareDeveloper-Guidelines/ Microsoft Developer Network (MSDN) http://msdn.microsoft.com/ HP Driver and Software Download http://www.hp.com/#Support - HP TouchSmart 9100 | Resources for Developing Touch-Friendly Applications for HP - Page 37
experience. To get started: Analyze your business to see where touch brings out the most services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. Microsoft, Windows, and Windows
1
Resources for Developing Touch-Friendly
Applications for HP Business Touch-
Enabled Desktops
Table of Contents:
Overview
...........................................................................................
3
Scope
...............................................................................................
3
Hardware Platforms
.................................................................................
3
Operating Systems
...................................................................................
3
Developing Touch-Friendly Applications on an HP Touch Platform
............
4
Software Development Practice
............................................................
4
General User Experience Guidelines for a Touch-Friendly Application
......
5
Usability Testing for Touch Applications
................................................
6
Touch Support in Windows XP®
...........................................................
7
Touch Support in Windows Vista®
.......................................................
7
System Gestures
......................................................................................
7
Flick Gestures
..........................................................................................
8
Application Gestures
..............................................................................
10
Enabling/Disabling Touch Pointer
............................................................
11
Disabling System Gestures
......................................................................
13
Touch Support in Windows 7®
..........................................................
13
Gestures
...............................................................................................
14
Touch Input Messages
............................................................................
17
WPF Stylus Events
..................................................................................
19
What to Consider When Developing Touch Applications for Multiple
Windows Versions
............................................................................
24
Stylus
..............................................................................................
24
HP dx9000 Specifics
........................................................................
25
HP Touch Screen Configuration
...............................................................
25
Enabling /Disabling the Touch Device
......................................................
26
Disabling the HP TouchSmart Button
.........................................................
26
Disabling the Volume and Mute Controls
..................................................
26