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 8883687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:52:33+00:00 2026-06-14T20:52:33+00:00

I want to essentially absorb key presses. I’m currently using key preview on my

  • 0

I want to essentially absorb key presses.

I’m currently using key preview on my main form and have an event handler for a key press that checks if the windows key is pressed. Is there a way to prevent the key press for leaving the application and opening the start menu?

There is an option for specific controls to suppress a key press, is there a way to suppress a key press to Windows?

  • 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-06-14T20:52:35+00:00Added an answer on June 14, 2026 at 8:52 pm

    The only way to intercept keyboard events outside your application is with P/Invoke SetWindowsHookEx. This will set a global callback to keyboard events agnostic of the focused application.

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

Sidebar

Related Questions

I have 3 date range forms on my site. Essentially I want to hide
I have the following classes and interfaces. I want to essentially freeze the IOld
I have a person object and I essentially want it to be able to
I have some images inside links that I want to essentially look like this:
Had to change this up. I have two arrays and I want to essentially
I have one table with 2 columns that i essentially want to split into
For example, I have 3 counters (which I essentially want to represent as truth
I have an input value of +000011111.11, I essentially want to remove the +
So in this section of code I have, I want to essentially tell the
I have a fixed width element that I want to essentially shoot off the

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.