Click here to Skip to main content
15,893,190 members
Home / Discussions / C#
   

C#

 
GeneralRe: Threading problem Pin
MarkB77720-May-08 19:03
MarkB77720-May-08 19:03 
GeneralRe: Threading problem Pin
Laddie20-May-08 19:01
Laddie20-May-08 19:01 
GeneralRe: Threading problem Pin
MarkB77720-May-08 19:07
MarkB77720-May-08 19:07 
AnswerRe: Threading problem Pin
Laddie20-May-08 18:47
Laddie20-May-08 18:47 
AnswerRe: Threading problem Pin
Mike Dimmick21-May-08 6:55
Mike Dimmick21-May-08 6:55 
GeneralRe: Threading problem Pin
MarkB77721-May-08 13:50
MarkB77721-May-08 13:50 
QuestionHandling Click and DoubleClick events differently Pin
Dr.Walt Fair, PE20-May-08 16:32
professionalDr.Walt Fair, PE20-May-08 16:32 
AnswerRe: Handling Click and DoubleClick events differently Pin
Vikram A Punathambekar20-May-08 18:40
Vikram A Punathambekar20-May-08 18:40 
I remember reading a while back that a double click action should always be an 'add on' to a single click. Eg: In Explorer, single click selects a folder/file; double click selects it and then opens it.

I suppose you could spin off a thread in your single click handler that waits to see if a double click event is fired, and if not, does its work. I am almost certain that would turn out to be very ugly. Long story short - if your double click action differs significantly, it's better off as a right click option.

Cheers,
Vikram.
The hands that help are holier than the lips that pray.

GeneralRe: Handling Click and DoubleClick events differently Pin
Dr.Walt Fair, PE21-May-08 1:57
professionalDr.Walt Fair, PE21-May-08 1:57 
AnswerRe: Handling Click and DoubleClick events differently Pin
Atif Ali Bhatti20-May-08 19:30
Atif Ali Bhatti20-May-08 19:30 
GeneralRe: Handling Click and DoubleClick events differently Pin
Vikram A Punathambekar20-May-08 19:39
Vikram A Punathambekar20-May-08 19:39 
GeneralRe: Handling Click and DoubleClick events differently Pin
Atif Ali Bhatti20-May-08 19:50
Atif Ali Bhatti20-May-08 19:50 
GeneralRe: Handling Click and DoubleClick events differently Pin
Dr.Walt Fair, PE21-May-08 2:02
professionalDr.Walt Fair, PE21-May-08 2:02 
GeneralRe: Handling Click and DoubleClick events differently Pin
Dr.Walt Fair, PE21-May-08 17:27
professionalDr.Walt Fair, PE21-May-08 17:27 
GeneralRe: Handling Click and DoubleClick events differently Pin
Atif Ali Bhatti21-May-08 18:29
Atif Ali Bhatti21-May-08 18:29 
GeneralRe: Handling Click and DoubleClick events differently Pin
Dr.Walt Fair, PE22-May-08 13:44
professionalDr.Walt Fair, PE22-May-08 13:44 
GeneralRe: Handling Click and DoubleClick events differently Pin
Dr.Walt Fair, PE21-May-08 1:47
professionalDr.Walt Fair, PE21-May-08 1:47 
QuestionSMTPServer and ProcessStartInfo Pin
versamps20-May-08 15:18
versamps20-May-08 15:18 
AnswerRe: SMTPServer and ProcessStartInfo Pin
Peter Josefsson Sweden21-May-08 13:56
Peter Josefsson Sweden21-May-08 13:56 
QuestionError message- Expected class delegate,enum,interface or struct Pin
Angelinna20-May-08 14:07
Angelinna20-May-08 14:07 
AnswerRe: Error message- Expected class delegate,enum,interface or struct Pin
carbon_golem20-May-08 14:19
carbon_golem20-May-08 14:19 
AnswerRe: Error message- Expected class delegate,enum,interface or struct Pin
Guffa20-May-08 14:20
Guffa20-May-08 14:20 
AnswerRe: Error message- Expected class delegate,enum,interface or struct Pin
Gareth H20-May-08 14:26
Gareth H20-May-08 14:26 
AnswerDid nobody spot the obvious? Pin
Anthony Mushrow20-May-08 14:34
professionalAnthony Mushrow20-May-08 14:34 
GeneralRe: Did nobody spot the obvious? Pin
Angelinna20-May-08 14:55
Angelinna20-May-08 14:55 

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.