Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Is there some kind of keyboard queue?

 

I am developing a COM AddIn for Word. Now e. g. I press ENTER in one of my forms to start some action. In my code there are some DoEvents and each time this DoEvents is executed and there are still keys in a queue or something like that there is a "pling".

 

Is there a possibility to clear such a keyboard queue if it exists?

Or any other idea that may help?

Posted
A DoEvents allows windows to post keypress messages as well as paints and other things, I wouldn't know if its possible to clear incoming windows messages though
.Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...