Click here to Skip to main content
15,888,610 members
Home / Discussions / C#
   

C#

 
GeneralRe: Objects, Abstract Class or Interface? Pin
Wayne Phipps20-Sep-05 10:24
Wayne Phipps20-Sep-05 10:24 
GeneralRe: Objects, Abstract Class or Interface? Pin
Guffa20-Sep-05 16:38
Guffa20-Sep-05 16:38 
GeneralRe: Objects, Abstract Class or Interface? Pin
Jaiprakash M Bankolli20-Sep-05 17:59
Jaiprakash M Bankolli20-Sep-05 17:59 
AnswerRe: Objects, Abstract Class or Interface? Pin
Anonymous20-Sep-05 10:11
Anonymous20-Sep-05 10:11 
QuestionMessageBox in console application Pin
Mr Marchepane20-Sep-05 8:26
Mr Marchepane20-Sep-05 8:26 
AnswerRe: MessageBox in console application Pin
Not Active20-Sep-05 9:14
mentorNot Active20-Sep-05 9:14 
AnswerRe: MessageBox in console application Pin
Judah Gabriel Himango20-Sep-05 9:19
sponsorJudah Gabriel Himango20-Sep-05 9:19 
AnswerRe: MessageBox in console application Pin
Mr Marchepane20-Sep-05 10:15
Mr Marchepane20-Sep-05 10:15 
GeneralRe: MessageBox in console application Pin
Judah Gabriel Himango20-Sep-05 10:27
sponsorJudah Gabriel Himango20-Sep-05 10:27 
GeneralRe: MessageBox in console application Pin
Mr Marchepane20-Sep-05 10:46
Mr Marchepane20-Sep-05 10:46 
QuestionRSA with private key Pin
IsaacB20-Sep-05 8:21
IsaacB20-Sep-05 8:21 
AnswerRe: RSA with private key Pin
Not Active20-Sep-05 9:22
mentorNot Active20-Sep-05 9:22 
QuestionRe: RSA with private key Pin
IsaacB20-Sep-05 10:04
IsaacB20-Sep-05 10:04 
AnswerRe: RSA with private key Pin
Dan Neely20-Sep-05 10:41
Dan Neely20-Sep-05 10:41 
QuestionCrystal Reports for Visual Studio .NET (Parameter Fields Runtime Customization)? Pin
Naveed Kamboh20-Sep-05 6:50
Naveed Kamboh20-Sep-05 6:50 
QuestionMSDE 2000 Insance Invalid Pin
theStorminMormon20-Sep-05 6:43
theStorminMormon20-Sep-05 6:43 
Question.Net Remoting and WebClient memory trouble... Pin
The Liquidian20-Sep-05 6:19
The Liquidian20-Sep-05 6:19 
QuestionOutlook, own EMailAddress Pin
mkano20-Sep-05 6:09
mkano20-Sep-05 6:09 
QuestionWebsite Counter Pin
jeff1920-Sep-05 4:40
jeff1920-Sep-05 4:40 
AnswerRe: Website Counter Pin
Jon Sagara20-Sep-05 7:42
Jon Sagara20-Sep-05 7:42 
QuestionUsing C++ in C# appliacation Pin
Yoyosch20-Sep-05 4:15
Yoyosch20-Sep-05 4:15 
AnswerRe: Using C++ in C# appliacation Pin
Not Active20-Sep-05 9:05
mentorNot Active20-Sep-05 9:05 
QuestionMSDE 2000 connection error Pin
theStorminMormon20-Sep-05 4:06
theStorminMormon20-Sep-05 4:06 
QuestionSelect ListView Item on KeyPress Pin
miah alom20-Sep-05 3:59
miah alom20-Sep-05 3:59 
AnswerRe: Select ListView Item on KeyPress Pin
John Fisher20-Sep-05 9:27
John Fisher20-Sep-05 9:27 
Don't have an article for you, but here is a basic implementation description:

Handle the KeyDown event for the appropriate control.
  If the last key press was not within the timeout period,
    then clear the "keys pressed" buffer (maybe a string builder).
  Add the typed key to your "keys pressed" buffer.
  Reset the keydown timer to the current time.
  Perform your comparison to select the appropriate item.


Selecting an item is very straightforward, so that shouldn't be much of a problem. If you're not sure how to do the comparing, you can do it easily by looping through the items list and comparing the substrings manually.

John

"You said a whole sentence with no words in it, and I understood you!" -- my wife as she cries about slowly becoming a geek.


-- modified at 15:28 Tuesday 20th September, 2005

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.