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 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

Ask A Question

Stats

  • Questions 64k
  • Answers 64k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer This JavaScript tool does just what you need: http://www.azarask.in/blog/post/socialhistoryjs/ May 11, 2026 at 10:51 am
  • added an answer My preference is Fiddler, it works with all browsers I… May 11, 2026 at 10:50 am
  • added an answer The choice of binding and security option depends on the… May 11, 2026 at 10:50 am

Related Questions

We have a WinForms application which runs on a touch-screen on a bit of
We have a WinForms application written in C# that uses the AxAcroPDFLib.AxAcroPDF component to
I have a winforms application that normally is at about 2-4% CPU. We are
We have a typical business application with an Outlook-looking Winforms client talking to asmx
So we have a winforms app that in the task manager should anywhere from
I have a winforms projects and we use the command pattern. We are trying
We have some corporate intranet users using a WinForms app to work on a
We have an MSI installer for a .Net WinForms app for Windows XP that
We have a requirement in project to store all the revisions(Change History) for the
We have a remoting singleton server running in a separate windows service (let's call

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.