Intuos, Cintiq, and Business Tablets

Intuos, Cintiq, and Business Tablets

  • Overview
  • Docs
  • FAQs
  • Support
  • GitHub

›Windows Native Touch

Intuos, Cintiq, and Business Tablets

  • Intuos, Cintiq, and Business Tablets

Windows

    Wintab

    • Overview
    • Basics
    • Reference
    • FAQs

    Wacom Feel Multi-Touch

    • Overview
    • Basics
    • Reference
    • FAQs

    Windows Ink

    • Overview
    • Basics
    • Reference
    • FAQs

    Windows Native Touch

    • Overview
    • Basics
    • Reference
    • FAQs

    Sample Code

    • Multi-Touch Windows .NET
    • Multi-Touch Windows C++
    • Wintab .NET
    • Wintab CAD Test
    • Wintab Pressure Test
    • Wintab ScribbleDemo
    • Wintab Tablet Controls
    • Wintab TiltTest

MacOS

    NS Events

    • Overview
    • Basics
    • Reference
    • FAQs

    Driver Request Interface

    • Overview
    • Basics
    • Reference
    • FAQs

    Multi-Touch Framework

    • Overview
    • Basics
    • Reference
    • FAQs

    Sample Code

    • Multi-Touch
    • Tablet Controls
    • Tablet Mapping
    • ScribbleDemo

Linux

    Building the Driver

    • Overview
    • Basics
    • Reference
    • FAQs

    GTK+

    • Overview
    • Basics
    • Reference
    • FAQs

    Kernel Events

    • Overview
    • Basics
    • Reference
    • FAQs

    Wayland

    • Overview
    • Basics
    • Reference
    • FAQs

    X Events

    • Overview
    • Basics
    • Reference
    • FAQs

    Sample Code

    • GTK+
    • Kernel Events
    • X Events

QT

  • Overview
  • Basics
  • Reference
  • FAQs

Web API

  • Overview
  • Basics
  • Reference
  • FAQs
  • Sample Code

    • ScribbleDemo Using Pointer Events

FAQs

Problems Getting Started

Where can I find sample code for Windows Native Touch?

There are many sample code examples spread out over the World Wide Web. The examples cover an incredible range of information about Microsoft technologies for using touch data in applications. They are available for C/C++ and C# development. For various frameworks, Win32, UWP / WinUI, etc. Perhaps the most fundamental set of sample code is referenced here: Windows Touch Samples.

Can you provide support for using Windows Native Touch?

Windows is the supplier of that facility and its documentation. We would refer you to their documentation and sample code.

Should I use Windows Native Touch or Wacom's APIs?

It's helpful to ask the following questions: Do you need to do cross-platform development? Are you wanting to use touch input to do gesture recognition? Are you also using a stylus to capture words? Pictures? Manipulate objects in your application?

Wacom has its own interfaces to our tablets, displays, and computers. These are especially created to support capturing fine-grained pen and touch data from our tablets. Our APIs are particularly suited to creative applications.

If your goal is to activate an additional or optional interface for your application, using the WM_TOUCH and/or the manipulators, or WM_GESTURES, may give you the added functionality you want. The degree of complexity and responsibility for the developer can be selected according to the "Good, Better, Best" model that Microsoft introduced with Windows 7. The article Choosing the Right Approach to Windows Touch describes the "Good" as responding to WM_GESTURE messages. The "Better" as getting custom behaviors such as object rotation, panning, or zoom support. The "Best," and most elaborate, interaction comes with advanced use of the WM_TOUCH messages.

If you want to capture writing entered with touch, Microsoft's Pen Input, Ink, and Recognition API may be what you need. However, Wacom Ink SDK for Signature may be just right for specifically processing signature input.

If your application of touch is in addition to pen capture already using our API to do "creative" work, the Wacom touch APIs from Wintab Overview or Wacom Feel Multi-Touch Overview are probably your best approach.

Of course, if you are doing cross-platform development (i.e. not just for Windows) our APIs will be the ideal path.

Why am I not getting WM_TOUCH events?

While WM_GESTURE and WM_POINTER* events are automatically routed to your application, you must register for WM_TOUCH events. Applications receive gestures by default. Unless an application registers for Windows Touch input messages with the RegisterTouchWindow function, notifications for gestures (WM_GESTURE messages) are created by Windows and sent to that application window. If an application Window registers to receive touch messages, notifications for Windows Touch input (WM_TOUCH messages) are sent to that application window.

Register your application to receive WM_TOUCH messages:

BOOL RegisterTouchWindow(HWND hwnd, ULONG ulFlags);

And, then, unregister:

BOOL UnregisterTouchWindow(HWND hwnd);

← ReferenceMulti-Touch Windows .NET →
  • Problems Getting Started
    • Where can I find sample code for Windows Native Touch?
    • Can you provide support for using Windows Native Touch?
    • Should I use Windows Native Touch or Wacom's APIs?
    • Why am I not getting WM_TOUCH events?
Intuos, Cintiq, and Business Tablets
DOCS
IntroductionWindowsMac OSLinuxQtWeb API
COMMUNITY
TwitterLinkedInGitHub
ABOUT
Terms of UsePrivacyCookies
Wacom Developer Relations
Copyright © 2021 Wacom Co., Ltd