Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 148
  • Last Modified:

need a example of system hook {-- if anyone press the enter key , then the program send a message to another program

can you give me souce code ?

when the client program run , if the 'enter key' be pressed down , the client program send a message
to
the server program in another pc .

thank you in advance . very thank you
0
escaper
Asked:
escaper
  • 5
  • 3
1 Solution
 
escaperAuthor Commented:
push
0
 
escaperAuthor Commented:
push
0
 
ginsonicCommented:
Here is a good article about keyboard hooks :
http://www.delphi3000.com/articles/article_883.asp
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
escaperAuthor Commented:
push
0
 
escaperAuthor Commented:
push
0
 
ginsonicCommented:
What mean that?
0
 
escaperAuthor Commented:
oh, sorry.

when my client program run in back-end, if 'enter' key be pressed,
the program will send a message to my server program which
in an another pc
0
 
ginsonicCommented:
The tip show you how can make a hook for keyboard .
The hook will detect when the user press a key ( in your case choise action just for enter key ) and send ( I don't know how you communicate between client and server ) then the message .

I think you know how to send the message . If not I can send you a project to see how can send messages between server and client ( is a chat project ) .
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now