473,320 Members | 2,000 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to create systemwide hooks for keyboard (for keys like WIN, ALT+TAB)

Hye,
How to create systemwide hooks for keyboard for keys like WIN, ALT+TAB,
CTRL+ALT+DEL even when the application does not have the focus on it...

Thanks,
Nov 16 '05 #1
1 1428
I'm not aware of a managed interface to this (though I could be wrong).

I think you'll need to P/Invoke to SetWindowsHookEx and related functions;
that's what I had to do in one circumstance, although I was only using
application hooks.

Note that system-wide hooks incur a performance hit.

"Jigar mehta" <ji***@programmer.net> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
Hye,
How to create systemwide hooks for keyboard for keys like WIN, ALT+TAB, CTRL+ALT+DEL even when the application does not have the focus on it...

Thanks,

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Dale | last post by:
I'm using the NotifyIcon component on a form within a Windows application that will normally show no interface. NotifyIcon does add an icon as required to the notification area of the Task Bar. ...
3
by: meska | last post by:
Is there a way in c# to hide program , that it would show in alt+tab ?
3
by: Nick | last post by:
Hi, I am tring to display a form that does not show in either the task bar or when the user alt-tabs. The form is running full screen and is set to have no border. Nick
2
by: Hernán Freschi | last post by:
Hi all, I'm still working on my Caller ID software. As it sits in the traybar and basically does nothing, after a few minutes the screen saver kicks in and it still works, but I have to go move...
2
by: melanieab | last post by:
Hi, Just checking to see if there's anything I can possibly do to allow for the recognition of the Tab key being pressed. On the KeyDown event I've tried: if (e.KeyCode == Keys.Tab), if...
2
by: Steve | last post by:
I can hide the icon with this.ShowInTaskbar = false; but I still can see the icon when press alt+tab, is there any way I can hide the icon when press alt+tab?
2
by: strah | last post by:
I am trying to detect when a user uses Tab key while with the KeyDown event of the combobox. It seems to work fine with all the Keys (Enter, T, ...) but not with the Tab key (e.KeyCode = Keys.Tab)....
0
by: claudioillanes | last post by:
I'm a beginner with C#. I've got a Forms C# application that has an AxWebBrowser component embedded. While the C# application runs, a user is filling out some text boxes in the AxWebBrowser. If...
10
by: thupham | last post by:
Dear all friend, I want disable Ctl+Alt+Del; Ctrl+Esc; Ctrl+tab, Alt+Tab, Start button, ctrl+Alt+Del, lock all keys on the keyboard. Have you ever do it in C#. Help me. Thanks for all reply.
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.