Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > .NET Framework 1.x
|
.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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 12th, 2007, 11:58 PM
Registered User
 
Join Date: Mar 2007
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







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





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