Click here to Skip to main content
16,005,121 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to split a string using another string? Pin
mav.northwind9-Mar-06 1:16
mav.northwind9-Mar-06 1:16 
GeneralRe: how to split a string using another string? Pin
Steve Hansen9-Mar-06 3:17
Steve Hansen9-Mar-06 3:17 
Questiontrying to find a way to Stream Voice over LAN Pin
donperry8-Mar-06 18:11
donperry8-Mar-06 18:11 
AnswerRe: trying to find a way to Stream Voice over LAN Pin
mcljava12-Mar-06 14:35
mcljava12-Mar-06 14:35 
QuestionRegarding Notify Icon Pin
A.Grover8-Mar-06 17:23
A.Grover8-Mar-06 17:23 
AnswerRe: Regarding Notify Icon Pin
AB77718-Mar-06 20:22
AB77718-Mar-06 20:22 
AnswerRe: Regarding Notify Icon Pin
sathish s8-Mar-06 20:41
sathish s8-Mar-06 20:41 
QuestionDetecting Keypresses in the keyboard buffer Pin
Phil (Strategy Map)8-Mar-06 17:10
Phil (Strategy Map)8-Mar-06 17:10 
Hi,
I have an application where we type into a text box and this gets copied into 80 grid cells.
The application cannot keep up with a fast typist because of the number of copy operations.

Hence the Keyboard hardware event gets the keypress and sticks it in the keyboard buffer.
The TextBox.TextChanged event is then fired and copies the text into the grid.
But the TextChanged event gets behind the typist.

If only I could test the keyboard buffer to see if there are any pending keypresses, I could just ignore the TextChanged event as long as there were more keypresses coming through.
(unless the next keypress was a tab).

When we were doing DOS stuff we could do this and the VS-8 Console does have this facility.

In Windows forms there must be a similar facility, but the only thing I can find that seems similar is the .SendKeys.Send();

Does anybody know how I can check if there are windows forms keypresses in the queue?

Philip Best BSc(CompSc) AscDipEng(Elec)
C# SQL Software Developer & Electrical Engineer
mailto:phil@StrategyMap.com.au
www.StrategyMap.com.au

QuestionMDI parent & Child Pin
RonBou8-Mar-06 16:31
RonBou8-Mar-06 16:31 
Questiondatabase handling in C# Pin
Jaymahinda8-Mar-06 14:47
Jaymahinda8-Mar-06 14:47 
AnswerRe: database handling in C# Pin
Le centriste8-Mar-06 15:10
Le centriste8-Mar-06 15:10 
AnswerRe: database handling in C# Pin
Sendilkumar.M8-Mar-06 16:11
Sendilkumar.M8-Mar-06 16:11 
AnswerRe: database handling in C# Pin
mcljava12-Mar-06 14:58
mcljava12-Mar-06 14:58 
AnswerRe: database handling in C# Pin
Brian Aihab9-Mar-10 22:42
Brian Aihab9-Mar-10 22:42 
Questionhyperlink to open/save image Pin
missy48-Mar-06 14:10
missy48-Mar-06 14:10 
AnswerRe: hyperlink to open/save image Pin
Guffa8-Mar-06 18:27
Guffa8-Mar-06 18:27 
GeneralRe: hyperlink to open/save image Pin
missy48-Mar-06 18:30
missy48-Mar-06 18:30 
GeneralRe: hyperlink to open/save image Pin
missy48-Mar-06 19:40
missy48-Mar-06 19:40 
AnswerRe: hyperlink to open/save image Pin
Guffa9-Mar-06 6:41
Guffa9-Mar-06 6:41 
Questionserver error in crystal report Pin
angelagke8-Mar-06 13:47
angelagke8-Mar-06 13:47 
QuestionOverloading a class? Pin
eggsovereasy8-Mar-06 10:30
eggsovereasy8-Mar-06 10:30 
AnswerRe: Overloading a class? Pin
Le centriste8-Mar-06 16:00
Le centriste8-Mar-06 16:00 
AnswerRe: Overloading a class? Pin
Le centriste8-Mar-06 16:22
Le centriste8-Mar-06 16:22 
QuestionOLE in-place activation server Pin
Nikhil Dabas8-Mar-06 10:25
Nikhil Dabas8-Mar-06 10:25 
QuestionWindows Service like application for Windows CE? Pin
spAAwn8-Mar-06 10:11
spAAwn8-Mar-06 10:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.