Click here to Skip to main content
15,124,353 members
Home / Discussions / C#
   

C#

 
QuestionOutlook, own EMailAddress Pin
mkano20-Sep-05 7:09
Membermkano20-Sep-05 7:09 
QuestionWebsite Counter Pin
jeff1920-Sep-05 5:40
Memberjeff1920-Sep-05 5:40 
AnswerRe: Website Counter Pin
Jon Sagara20-Sep-05 8:42
MemberJon Sagara20-Sep-05 8:42 
QuestionUsing C++ in C# appliacation Pin
Yoyosch20-Sep-05 5:15
MemberYoyosch20-Sep-05 5:15 
AnswerRe: Using C++ in C# appliacation Pin
Not Active20-Sep-05 10:05
mentorNot Active20-Sep-05 10:05 
QuestionMSDE 2000 connection error Pin
theStorminMormon20-Sep-05 5:06
MembertheStorminMormon20-Sep-05 5:06 
QuestionSelect ListView Item on KeyPress Pin
miah alom20-Sep-05 4:59
Membermiah alom20-Sep-05 4:59 
AnswerRe: Select ListView Item on KeyPress Pin
John Fisher20-Sep-05 10:27
MemberJohn Fisher20-Sep-05 10: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
GeneralRe: Select ListView Item on KeyPress Pin
miah alom20-Sep-05 10:40
Membermiah alom20-Sep-05 10:40 
GeneralRe: Select ListView Item on KeyPress Pin
Abdullah_Hunzai22-Oct-09 21:00
MemberAbdullah_Hunzai22-Oct-09 21:00 
QuestionStretching a polygon side in C# Pin
20-Sep-05 4:52
suss20-Sep-05 4:52 
AnswerRe: Stretching a polygon side in C# Pin
Yoyosch20-Sep-05 5:06
MemberYoyosch20-Sep-05 5:06 
GeneralRe: Stretching a polygon side in C# Pin
subramanyeswari20-Sep-05 18:43
Membersubramanyeswari20-Sep-05 18:43 
AnswerRe: Stretching a polygon side in C# Pin
Andy Moore20-Sep-05 19:15
MemberAndy Moore20-Sep-05 19:15 
GeneralRe: Stretching a polygon side in C# Pin
subramanyeswari21-Sep-05 18:30
Membersubramanyeswari21-Sep-05 18:30 
QuestionVisual Studio tools for Office Pin
Giannis Zetas20-Sep-05 4:15
MemberGiannis Zetas20-Sep-05 4:15 
AnswerRe: Visual Studio tools for Office Pin
NassosReyzidis20-Sep-05 4:31
MemberNassosReyzidis20-Sep-05 4:31 
QuestionProgrammatically showing and hiding a scollbar in a multiline textbox Pin
Dan Neely20-Sep-05 4:07
MemberDan Neely20-Sep-05 4:07 
Questionoverride Paint method for DataGrid Pin
zaboboa20-Sep-05 3:52
Memberzaboboa20-Sep-05 3:52 
QuestionDialog box exit Pin
baronics20-Sep-05 3:37
Memberbaronics20-Sep-05 3:37 
AnswerRe: Dialog box exit Pin
Ashok Dhamija20-Sep-05 4:22
MemberAshok Dhamija20-Sep-05 4:22 
GeneralRe: Dialog box exit Pin
baronics20-Sep-05 5:58
Memberbaronics20-Sep-05 5:58 
QuestionC# ,Directx and MPEG2 encoding Pin
Member 242731820-Sep-05 3:33
MemberMember 242731820-Sep-05 3:33 
QuestionOverhead Representation Pin
PHDENG8120-Sep-05 2:24
MemberPHDENG8120-Sep-05 2:24 
AnswerRe: Overhead Representation Pin
Anonymous20-Sep-05 5:46
MemberAnonymous20-Sep-05 5:46 

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.