Solved

i want to delete a messagequeue

Posted on 2006-07-07
3
138 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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
oracle global variables 4 80
How to define IfThen functions in one common unit? 4 64
Convert MS Word document to a PDF file 9 115
Breakpoint doesn't stop in my variable 3 38
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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 …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

726 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