Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > .NET Framework 1.x
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
.NET Framework 1.x For discussing versions 1.0 and 1.1 of the Microsoft .NET Framework.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 1.x section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 12th, 2007, 11:58 PM
Registered User
 
Join Date: Mar 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default is it possible to have system level hotkeys in C#

Hi,

I have a requirement that when I press ctrl + alt +s then an certain event must be triggered . my Application will not have an user interface just an console running on an infinite while loop . I tried registering the hotkys using the hotkey function of windows API using DLL Import and then inheriting the class from system.windows.forms.IMessageFilter to filter the incoming messages but it does not work. the hotkey is registered and but the appropriate key combinations are not caught , The Handle I am passing to the HotKey function is the handle of the dummy window created using the createParams Class. i have also tried overriding wndproc could anyone plz help me


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hotkeys in macros HaileyJ Access 2 September 10th, 2007 03:13 AM
is it possible to have system level hotkeys in C# stygen .NET Framework 2.0 0 March 13th, 2007 07:36 AM
Insert System date and System Time -Form _TextBox cnkumar74 VB How-To 14 February 14th, 2007 10:52 AM
Excel/VBA and hotkeys Susan Chandler Excel VBA 2 September 9th, 2004 07:24 AM
Toolbar Control and HotKeys Kenny Alligood VB How-To 0 April 21st, 2004 10:20 AM



All times are GMT -4. The time now is 09:16 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.