Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Global Hot Key

Posted on 1998-11-25
2
Medium Priority
?
1,037 Views
Last Modified: 2012-06-21
Anyone have code to implement a global hotkey? I want to pop up my application even if another program has focus.

Using Delphi 3/win98

Thanks
Dave
0
Comment
Question by:davegreen
2 Comments
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 400 total points
ID: 1347879
The following four components are on the Delphi Super Page (http://sunsite.icm.edu.pl/delphi/) and all have source.

Cheers,

Raymond.

watch.zip (144,397 bytes) TWatch watches system events with Hooks. Watches creation, activation and closure of other
     programs, and keystrokes of the entire system. Source shows how to implement the hooks in a dll. (ver. 1.01, added
     11/12/97, updated 9/20/98)  by Florian Bomers  

     fngb2202.exe (106,602 bytes) A new version of the System Wide Keyboard Hook component that allows event handler to
     discard the message before it goes to the rest of hook chain. (ver. 1.1, added 3/29/98, updated 5/10/98, See LEGAL.TXT
     for usage and redistribution conditions information.)  by Gleb Yourchenko  

     fngb2302.exe (95,774 bytes) A new versoin of System wide mouse hook component. Allows mouse event handler to
     discard message before it goes to the rest of hook chain. (ver. 1.1, added 3/29/98, updated 5/10/98, See LEGAL.TXT for
     information about usage and redistribution conditions.)  by Gleb Yourchenko  

     fngb2701.exe (106,826 bytes) A simple wrapper component for WH_SHELL hook. (ver. 1.0, added 6/26/98, See
     LEGAL.TXT for informaion about conditions of usage and redistribution.)  by Gleb Yourchenko  

0
 

Author Comment

by:davegreen
ID: 1347880
Thanks Raymond... looks like what I was looking for.

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This is an update to some code that someone else posted on Experts Exchange. It is an alternate approach, I think a little easier to use, & makes sure that things like the Task Bar will update.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question