Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 728663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:42:26+00:00 2026-05-14T06:42:26+00:00

In Windows 7 when you touch the screen there is a short animation that

  • 0

In Windows 7 when you touch the screen there is a short animation that occurs at the touch point.

In my WPF app I want to display my own touch points, without showing the one supplied by Windows.

Any ideas on how to disable them in an app?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T06:42:27+00:00Added an answer on May 14, 2026 at 6:42 am

    Found this today whilst taking a look at the Surface Toolkit for Windows Touch, seems to do the job quite nicely.

    // override on the Window class
    protected override void OnSourceInitialized(EventArgs e)
    {
        EnableTabletGestures(this, false);
    }
    
    [DllImport("kernel32.dll", CharSet = CharSet.Unicode)]
    public static extern short GlobalAddAtom(string atom);
    
    [DllImport("user32.dll", CharSet = CharSet.Unicode)]
    public static extern IntPtr RemoveProp(IntPtr hWnd, string atom);
    
    [DllImport("user32.dll", CharSet = CharSet.Unicode)]
    public static extern int SetProp(IntPtr hWnd, string atom, IntPtr handle);
    
    public bool EnableTabletGestures(Window window, bool enable)
    {
        var hWnd = ((HwndSource)PresentationSource.FromVisual(window)).Handle;
    
        long num = 0L;
        string atom = "MicrosoftTabletPenServiceProperty";
        num = GlobalAddAtom(atom);
        if (num == 0L)
        {
            return false;
        }
        if (enable)
        {
            return (RemoveProp(hWnd, atom).ToInt64() == 1L);
        }
        int num2 = 0x1010019;
        return (SetProp(hWnd, atom, new IntPtr(num2)) == 1);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing an application in C++ that's partially driven by touch-screen on Windows XP
I maintain a touch screen application that I'm re-writing into .Net. Through the years
Working on an html5 app for a touchscreen windows xp computer that will be
I'm currently developing a touch screen application using C# (.NET 4.0) and WPF for
I am currently working on the WPF project which involves creating a touch-screen application
I have an app which I need to make accessible for Windows Touch. It
Windows has a feature that allows an administrator to perform auto-logon whenever it is
Windows Forms allows you to develop Components, non-visual elements that can have a designer.
Windows Forms: For System.Drawing there is a way to get the font height. Font
I have been working on a touch screen application. I need to know if

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.