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

  • SEARCH
  • Home
  • 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 68011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:20:59+00:00 2026-05-10T19:20:59+00:00

We have a WinForms application which runs on a touch-screen on a bit of

  • 0

We have a WinForms application which runs on a touch-screen on a bit of industrial equipment. For historical reasons which are not up for changing today, the displayed form has a normal Windows title bar.

We would like to stop people using the mouse (i.e. touchscreen) from moving the window by dragging the title bar. We don’t care if there’s some other way to move the window using the keyboard.

What’s the most elegant way to achieve this? I can think of trying to subvert mouse messages if there’s a mouse-down on the titlebar (though NC hit-testing doesn’t at first glance seem completely obvious in Winforms), and I can think of responding to Move messages in some way which restores the window position.

But both of these seem clunky, and I have a feeling I am missing something elegant and obvious.

  • 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. 2026-05-10T19:20:59+00:00Added an answer on May 10, 2026 at 7:20 pm

    Nc messages are still the go I think. Syncfusion’s windows form faq has the code you need. I’d paste a link, but I’m on an iPhone with no copy paste (grumble, grumble!)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a winforms application in which I am using 2 Forms to display
I have a WinForms application in which I have hosted a web page inside
I have a WinForms gui application which has a number of areas to it
I am new to Microsoft Dynamic CRM. I have a .NET Winforms application which
I have a .NET C# winforms application which works great on my machine, but
I have a C# 3.0 WinForms application which is occasionally required to control Excel
I have a WinForms application, which I need to support in multiple languages. I
I have an SQL Server (2008 R2) based (C# WinForms) application that predominantly runs
I have a winforms application in which some of the data is stored in
I have build an C# Winforms application which will need regular updates and patches

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.