Click here to Skip to main content
15,906,645 members
Home / Discussions / C#
   

C#

 
GeneralListView DisplayMember Pin
eggie511-Sep-04 4:46
eggie511-Sep-04 4:46 
GeneralRe: ListView DisplayMember Pin
Baris Kurtlutepe11-Sep-04 8:04
Baris Kurtlutepe11-Sep-04 8:04 
GeneralRe: ListView DisplayMember Pin
eggie511-Sep-04 10:29
eggie511-Sep-04 10:29 
GeneralHelp with XML Pin
krisst_k10-Sep-04 23:31
krisst_k10-Sep-04 23:31 
GeneralRe: Help with XML Pin
Anonymous10-Sep-04 23:33
Anonymous10-Sep-04 23:33 
GeneralConverting Keys to Chars Pin
User 12301610-Sep-04 23:25
User 12301610-Sep-04 23:25 
GeneralRe: Converting Keys to Chars Pin
EssOEss11-Sep-04 1:10
EssOEss11-Sep-04 1:10 
GeneralRe: Converting Keys to Chars Pin
User 12301612-Sep-04 10:30
User 12301612-Sep-04 10:30 
Thanks for the suggestion. But I don't think that I can use that method. What I want to do is a simple textbox control that shows the keys the user pressed, including the modifier keys (alt, ctrl, shift). The output should be something like 'Shift + Ctrl + F' or 'Alt + H' or 'Shift + ;'.

Even if I would use a combination of ProcessDialogKey and ProcessDialogChar, I would receive a ':' in ProcessDialogChar for a "real" 'Shift + ;', because ProcessDialogChar already takes the shift key into consideration. Besides that, some other keyboard layouts already need modifiers for some keys that aren't needed in other layouts (like ';' = 'Shift + ,' in German layout). So this will just result in the same problem I described first, but the other way round (how to get the Keys value for a certain character).

So if possible, I'd rather use ProcessDialogKey and convert the Keys to chars. Anyone?

P.S.: if someone knows how to distinguish the left and right shift/ctrl keys... the Keys-enum contains values for them, but the aren't used?
GeneralFinally Pin
User 12301612-Sep-04 22:45
User 12301612-Sep-04 22:45 
GeneralRemote FileExists problem Pin
DougW4810-Sep-04 20:47
DougW4810-Sep-04 20:47 
GeneralRe: Remote FileExists problem Pin
Salil Khedkar13-Sep-04 1:41
Salil Khedkar13-Sep-04 1:41 
GeneralRe: Remote FileExists problem Pin
DougW4813-Sep-04 17:41
DougW4813-Sep-04 17:41 
GeneralUpdown control in C# Pin
thatsqlguy10-Sep-04 20:44
thatsqlguy10-Sep-04 20:44 
Generalcustom object serializing Pin
akbar nasrabadi10-Sep-04 20:30
akbar nasrabadi10-Sep-04 20:30 
GeneralRe: custom object serializing Pin
sreejith ss nair10-Sep-04 21:08
sreejith ss nair10-Sep-04 21:08 
GeneralRe: custom object serializing Pin
akbar nasrabadi10-Sep-04 21:16
akbar nasrabadi10-Sep-04 21:16 
Generalcreate & innstantiate custom object dynamically Pin
akbar nasrabadi10-Sep-04 20:15
akbar nasrabadi10-Sep-04 20:15 
GeneralRe: create & innstantiate custom object dynamically Pin
sreejith ss nair10-Sep-04 21:07
sreejith ss nair10-Sep-04 21:07 
GeneralLinking Console Windows Pin
WartHog00010-Sep-04 14:18
WartHog00010-Sep-04 14:18 
GeneralPopulating a tree view from another thread Pin
Luis Alonso Ramos10-Sep-04 13:50
Luis Alonso Ramos10-Sep-04 13:50 
GeneralRe: Populating a tree view from another thread Pin
Colin Angus Mackay10-Sep-04 14:46
Colin Angus Mackay10-Sep-04 14:46 
GeneralRe: Populating a tree view from another thread Pin
Luis Alonso Ramos10-Sep-04 14:52
Luis Alonso Ramos10-Sep-04 14:52 
GeneralRe: Populating a tree view from another thread Pin
Baris Kurtlutepe11-Sep-04 2:11
Baris Kurtlutepe11-Sep-04 2:11 
GeneralPlugin Architecture Pin
moebious333410-Sep-04 11:12
moebious333410-Sep-04 11:12 
GeneralRe: Plugin Architecture Pin
Nick Parker10-Sep-04 11:24
protectorNick Parker10-Sep-04 11:24 

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.