Click here to Skip to main content
15,913,262 members
Home / Discussions / C#
   

C#

 
QuestionTypeInitializationException Pin
nasambur2-Feb-07 0:28
nasambur2-Feb-07 0:28 
AnswerRe: TypeInitializationException Pin
J4amieC2-Feb-07 2:18
J4amieC2-Feb-07 2:18 
GeneralRe: TypeInitializationException Pin
nasambur2-Feb-07 3:24
nasambur2-Feb-07 3:24 
QuestionListBox close Pin
quiteSmart1-Feb-07 23:47
quiteSmart1-Feb-07 23:47 
AnswerRe: ListBox close Pin
bobsugar2222-Feb-07 0:21
bobsugar2222-Feb-07 0:21 
GeneralRe: ListBox close Pin
quiteSmart2-Feb-07 1:15
quiteSmart2-Feb-07 1:15 
GeneralRe: ListBox close Pin
bobsugar2222-Feb-07 2:55
bobsugar2222-Feb-07 2:55 
AnswerRe: ListBox close Pin
Luc Pattyn2-Feb-07 0:23
sitebuilderLuc Pattyn2-Feb-07 0:23 
Assuming the regular events dont offer a solution, here are two more ideas:

- you could use MouseMove and try and detect a mouse move going to leave the listbox.
this probably would involve two borders (two to detect the direction of motion, you
must allow the mouse to enter the listbox !). You may have to allow for some mouse jitter.
And be careful with the scroll bars.

- you could use a timer that periodically checks the mouse is still inside the lisbox
(with Control.MousePosition).

Smile | :)



Luc Pattyn

GeneralRe: ListBox close Pin
blue_arc2-Feb-07 1:34
blue_arc2-Feb-07 1:34 
AnswerRe: ListBox close Pin
J4amieC2-Feb-07 2:09
J4amieC2-Feb-07 2:09 
GeneralRe: ListBox close Pin
quiteSmart2-Feb-07 2:17
quiteSmart2-Feb-07 2:17 
QuestionSystem.Text.Encoding.Unicode.GetString() does not properly works in Vista... please help??? Pin
Waqas Nasir1-Feb-07 23:42
Waqas Nasir1-Feb-07 23:42 
QuestionResponse.redirect Pin
acodman1-Feb-07 23:22
acodman1-Feb-07 23:22 
AnswerRe: Response.redirect Pin
Christian Graus1-Feb-07 23:48
protectorChristian Graus1-Feb-07 23:48 
GeneralRe: Response.redirect Pin
acodman2-Feb-07 0:36
acodman2-Feb-07 0:36 
GeneralRe: Response.redirect Pin
Parwej Ahamad2-Feb-07 0:41
professionalParwej Ahamad2-Feb-07 0:41 
AnswerRe: Response.redirect Pin
Parwej Ahamad2-Feb-07 0:32
professionalParwej Ahamad2-Feb-07 0:32 
AnswerRe: Response.redirect Pin
Ajay R Ojha2-Feb-07 0:40
Ajay R Ojha2-Feb-07 0:40 
GeneralRe: Response.redirect Pin
blue_arc2-Feb-07 1:18
blue_arc2-Feb-07 1:18 
GeneralRe: Response.redirect Pin
acodman2-Feb-07 2:06
acodman2-Feb-07 2:06 
GeneralRe: Response.redirect Pin
acodman2-Feb-07 2:11
acodman2-Feb-07 2:11 
QuestionEncryption and decryption Pin
sjs4u1-Feb-07 23:13
sjs4u1-Feb-07 23:13 
AnswerRe: Encryption and decryption Pin
S. Senthil Kumar2-Feb-07 5:59
S. Senthil Kumar2-Feb-07 5:59 
QuestionHow to convert ascii to char Pin
vaibhavnvag1-Feb-07 22:47
vaibhavnvag1-Feb-07 22:47 
AnswerRe: How to convert ascii to char Pin
Parwej Ahamad1-Feb-07 22:56
professionalParwej Ahamad1-Feb-07 22:56 

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.