Solved

i want to delete a messagequeue

Posted on 2006-07-07
3
137 Views
Last Modified: 2010-04-05
I want to send something over a serial port to a maschine.
But when i position the cnc maschine with the keypad, and press for some seconds the key,
the maschine move and move also if i don`t press the key anymore.
How can i delete this messagesqueue?

please help
0
Comment
Question by:Applicationmaker
3 Comments
 
LVL 10

Accepted Solution

by:
atul_parmar earned 250 total points
ID: 17057284
It is due to the repeat count. So when you hold down a key for some time, your handler forwards all that keys to the serial port. So instead of clearing the message queue controlling the repeat count would be better solution.

This way you can control that if a specif key is held down for some time e.g. 1 sec then how much keystrock should be sent to the device.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Intraweb submit form as a POST request 4 322
Delphi - replicating a form 8 81
Create a path if not exists 7 87
Sending files from  idTcpServer Socket to idTcpClient 2 44
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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 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