Click here to Skip to main content
15,920,030 members
Home / Discussions / C#
   

C#

 
GeneralRe: Can not catch KeyDown message from RETURN key Pin
Roman Muntyanu14-Jul-04 1:55
Roman Muntyanu14-Jul-04 1:55 
Generalblock an IP Pin
chuchichäschtli12-Jul-04 2:28
chuchichäschtli12-Jul-04 2:28 
GeneralRe: block an IP Pin
Heath Stewart12-Jul-04 3:04
protectorHeath Stewart12-Jul-04 3:04 
Generalrequest socket Pin
shahrokh nabavi12-Jul-04 1:31
shahrokh nabavi12-Jul-04 1:31 
GeneralRe: request socket Pin
Heath Stewart12-Jul-04 4:07
protectorHeath Stewart12-Jul-04 4:07 
Generalrequest socket Pin
shahrokh nabavi12-Jul-04 1:29
shahrokh nabavi12-Jul-04 1:29 
GeneralA serious bug of list view in compact framework Pin
ting66812-Jul-04 0:18
ting66812-Jul-04 0:18 
GeneralRe: A serious bug of list view in compact framework Pin
Mike Dimmick12-Jul-04 12:43
Mike Dimmick12-Jul-04 12:43 
Don't use the SelectedIndexChanged event. It won't tell you if the user clicks on the currently selected item, either. Also, if the user is trying to use the direction pad or scroll wheel, the event will fire as they're scrolling between items; you probably want it to fire only when they press the Action button.

What you should do is set the Activation property to ItemActivation.OneClick, and handle the ItemActivate event. This also gives you keyboard/keypad interaction for free.

Don't you just love the complete, comprehensive nature of the documentation? In response to your post, I tried this out on both .NET CF 1.0 SP3 and on 2.0 Beta 1. At least 2.0 Beta 1 gives you a compiler warning. I've raised the issue on the Compact Framework newsgroup, and I hope that will encourage clearer documentation.

Stability. What an interesting concept. -- Chris Maunder
GeneralRe: A serious bug of list view in compact framework Pin
ting66812-Jul-04 18:29
ting66812-Jul-04 18:29 
GeneralRe: A serious bug of list view in compact framework Pin
ting66812-Jul-04 21:01
ting66812-Jul-04 21:01 
General2 questions Pin
bouli11-Jul-04 23:37
bouli11-Jul-04 23:37 
GeneralRe: 2 questions Pin
Mike Dimmick11-Jul-04 23:56
Mike Dimmick11-Jul-04 23:56 
GeneralRe: 2 questions Pin
bouli12-Jul-04 0:25
bouli12-Jul-04 0:25 
GeneralRe: 2 questions Pin
Heath Stewart12-Jul-04 3:14
protectorHeath Stewart12-Jul-04 3:14 
GeneralRe: 2 questions Pin
bouli12-Jul-04 3:36
bouli12-Jul-04 3:36 
GeneralRe: 2 questions Pin
Heath Stewart12-Jul-04 4:02
protectorHeath Stewart12-Jul-04 4:02 
GeneralRe: 2 questions Pin
bouli12-Jul-04 4:10
bouli12-Jul-04 4:10 
GeneralRe: 2 questions Pin
Heath Stewart12-Jul-04 4:18
protectorHeath Stewart12-Jul-04 4:18 
GeneralRe: 2 questions Pin
bouli12-Jul-04 4:22
bouli12-Jul-04 4:22 
GeneralRe: 2 questions Pin
Heath Stewart12-Jul-04 4:24
protectorHeath Stewart12-Jul-04 4:24 
GeneralRe: 2 questions Pin
bouli12-Jul-04 4:44
bouli12-Jul-04 4:44 
GeneralRe: 2 questions Pin
Heath Stewart12-Jul-04 4:58
protectorHeath Stewart12-Jul-04 4:58 
GeneralRe: 2 questions Pin
bouli12-Jul-04 5:00
bouli12-Jul-04 5:00 
GeneralRe: 2 questions Pin
Nick Parker12-Jul-04 5:09
protectorNick Parker12-Jul-04 5:09 
GeneralRe: 2 questions Pin
bouli12-Jul-04 5:14
bouli12-Jul-04 5:14 

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.