Click here to Skip to main content
15,923,083 members
Home / Discussions / C#
   

C#

 
GeneralVoice recognition Pin
amatyasik19-Oct-04 5:06
amatyasik19-Oct-04 5:06 
GeneralRe: Voice recognition Pin
tom_dx19-Oct-04 13:38
tom_dx19-Oct-04 13:38 
GeneralTAPI Pin
rpussewela19-Oct-04 4:41
rpussewela19-Oct-04 4:41 
GeneralRe: TAPI Pin
Dave Kreskowiak19-Oct-04 8:33
mveDave Kreskowiak19-Oct-04 8:33 
GeneralRe: TAPI Pin
rpussewela19-Oct-04 20:38
rpussewela19-Oct-04 20:38 
GeneralRe: TAPI Pin
Nick Parker19-Oct-04 12:45
protectorNick Parker19-Oct-04 12:45 
GeneralUI Thread Pin
eDip19-Oct-04 4:39
eDip19-Oct-04 4:39 
GeneralRe: UI Thread Pin
Stefan Troschuetz19-Oct-04 5:08
Stefan Troschuetz19-Oct-04 5:08 
GeneralRe: UI Thread Pin
Michael Potter19-Oct-04 5:10
Michael Potter19-Oct-04 5:10 
GeneralRe: UI Thread Pin
eDip20-Oct-04 0:11
eDip20-Oct-04 0:11 
GeneralRe: UI Thread Pin
Michael Potter20-Oct-04 4:06
Michael Potter20-Oct-04 4:06 
GeneralRe: UI Thread Pin
eDip21-Oct-04 5:34
eDip21-Oct-04 5:34 
GeneralRe: UI Thread Pin
Michael Potter21-Oct-04 6:10
Michael Potter21-Oct-04 6:10 
Generalatrribute Pin
hagay_ar19-Oct-04 4:24
hagay_ar19-Oct-04 4:24 
General.Net Remoting Windows Service Server Pin
mablao19-Oct-04 4:23
mablao19-Oct-04 4:23 
GeneralRe: .Net Remoting Windows Service Server Pin
mav.northwind19-Oct-04 5:14
mav.northwind19-Oct-04 5:14 
GeneralRe: .Net Remoting Windows Service Server Pin
C LaMorticella15-Nov-04 6:21
C LaMorticella15-Nov-04 6:21 
Generalinserting to db using access db Pin
_sercher_19-Oct-04 4:20
_sercher_19-Oct-04 4:20 
GeneralDatabinding need help Pin
fortyonejb19-Oct-04 3:53
fortyonejb19-Oct-04 3:53 
GeneralRe: Databinding need help Pin
Christian Graus19-Oct-04 9:44
protectorChristian Graus19-Oct-04 9:44 
GeneralRe: collection question Pin
isittheweekendyet19-Oct-04 3:45
isittheweekendyet19-Oct-04 3:45 
GeneralRe: collection question Pin
sreejith ss nair19-Oct-04 5:09
sreejith ss nair19-Oct-04 5:09 
GeneralRe: collection question Pin
sreejith ss nair19-Oct-04 5:09
sreejith ss nair19-Oct-04 5:09 
Generaldelete string-value Pin
mathon19-Oct-04 3:32
mathon19-Oct-04 3:32 
GeneralDataGrid "Special Key" Confusion Pin
RockmanHero200319-Oct-04 2:00
RockmanHero200319-Oct-04 2:00 
Hello,

I'm writing a custom DataGrid and in it i want to have some default actions occur. For example, what I have now, I cannot edit any rows (I only select full rows), multi-row selection is allowed, and the delete key will delete all currently selected rows.

But then there's this weird factor. When I press the up arrow key, I want my currently selected row to move to the previous one (the general case), and vice versa when I press the down key. But when I push Up, Down, Left, and Right (along with some other different keys), the KeyDown event handler for the DataGrid isn't called. Instead, the column style Edit event handler is called.

I thought I could just create a new event that would call an event handler from inside the Edit handler; however I would have no means to send off which key was pressed.

Does anyone know how to do this? I've been thinking about this and searching for what I need to override in order to do this, but to no avail. Can anyone help?

RockmanHero2003Confused | :confused:

A stitch in time is worth....two....in the bush

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.