Click here to Skip to main content
15,562,550 members
Home / Discussions / C#
   

C#

 
GeneralRe: Need several listviews to all sort at same time...or a listview that can have subitems that each have their own icon Pin
Heath Stewart15-Jan-04 4:44
protectorHeath Stewart15-Jan-04 4:44 
GeneralRe: Need several listviews to all sort at same time...or a listview that can have subitems that each have their own icon Pin
FocusedWolf15-Jan-04 18:43
FocusedWolf15-Jan-04 18:43 
GeneralTaskbar Grouping Icon and Text in Windows XP Pin
Sascha Sertel14-Jan-04 13:19
Sascha Sertel14-Jan-04 13:19 
GeneralRe: Taskbar Grouping Icon and Text in Windows XP Pin
Heath Stewart15-Jan-04 7:12
protectorHeath Stewart15-Jan-04 7:12 
GeneralDisplaying Multidimensional Arrays in a Form Pin
crushinghellhammer14-Jan-04 12:56
crushinghellhammer14-Jan-04 12:56 
GeneralRe: Displaying Multidimensional Arrays in a Form Pin
Christian Graus14-Jan-04 13:03
mveChristian Graus14-Jan-04 13:03 
GeneralRe: Displaying Multidimensional Arrays in a Form Pin
Colin Angus Mackay14-Jan-04 13:07
Colin Angus Mackay14-Jan-04 13:07 
GeneralIsInputKey override for cursors not working Pin
cgcrute14-Jan-04 12:37
cgcrute14-Jan-04 12:37 
I am using the C# code below (found here: http://www.codeproject.com/cs/miscctrl/dotnetcolorpicker.asp) to override the cursor/arrow keys so I can use them for my own devices.

protected override bool IsInputKey( System.Windows.Forms.Keys keyData )
{
bool bIsInputKey = true;

switch( keyData )
{
case Keys.Left:
break;
case Keys.Right:
break;
case Keys.Down:
break;
case Keys.Up:
break;
default:
bIsInputKey = base.IsInputKey(keyData);
break;
}

return bIsInputKey;
}

This does not appear to work, I have set keypreview on the form to true, that does not help.

I have tried this code in a dummy app and it works fine, and I have placed a break in the above code to see if the override is ever run - it isn't. There must be something in the rest of the code or a property that is stopping this.

Does anyone have any suggestions???? I am new to C# and have banged my head against the wall all day on this one!!!

Many thanks in advance


GeneralRe: IsInputKey override for cursors not working Pin
cgcrute14-Jan-04 22:42
cgcrute14-Jan-04 22:42 
General.NET remoting book Pin
naxos14-Jan-04 11:58
naxos14-Jan-04 11:58 
GeneralRe: .NET remoting book Pin
Giles14-Jan-04 12:14
Giles14-Jan-04 12:14 
GeneralRe: .NET remoting book Pin
Mohamad Al Husseiny14-Jan-04 20:34
Mohamad Al Husseiny14-Jan-04 20:34 
GeneralCd Detection to start App Pin
antoine@orchus-tech14-Jan-04 11:54
antoine@orchus-tech14-Jan-04 11:54 
GeneralRe: Cd Detection to start App Pin
Meysam Mahfouzi14-Jan-04 19:30
Meysam Mahfouzi14-Jan-04 19:30 
GeneralFloating Window Z-Order.... Pin
Anders Molin14-Jan-04 9:50
professionalAnders Molin14-Jan-04 9:50 
GeneralRe: Floating Window Z-Order.... Pin
Niels Penneman14-Jan-04 9:53
Niels Penneman14-Jan-04 9:53 
GeneralRe: Floating Window Z-Order.... Pin
Anders Molin14-Jan-04 10:10
professionalAnders Molin14-Jan-04 10:10 
GeneralRe: Floating Window Z-Order.... Pin
Niels Penneman14-Jan-04 10:15
Niels Penneman14-Jan-04 10:15 
GeneralRe: Floating Window Z-Order.... Pin
Heath Stewart14-Jan-04 10:22
protectorHeath Stewart14-Jan-04 10:22 
GeneralRe: Floating Window Z-Order.... Pin
Niels Penneman14-Jan-04 10:25
Niels Penneman14-Jan-04 10:25 
GeneralRe: Floating Window Z-Order.... Pin
Anders Molin14-Jan-04 10:28
professionalAnders Molin14-Jan-04 10:28 
GeneralRe: Floating Window Z-Order.... Pin
Anders Molin14-Jan-04 10:25
professionalAnders Molin14-Jan-04 10:25 
GeneralRe: Floating Window Z-Order.... Pin
Heath Stewart14-Jan-04 10:19
protectorHeath Stewart14-Jan-04 10:19 
Generaltimer Pin
maria_p14-Jan-04 7:38
maria_p14-Jan-04 7:38 
GeneralRe: timer Pin
Heath Stewart14-Jan-04 9:26
protectorHeath Stewart14-Jan-04 9:26 

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.