Click here to Skip to main content
16,008,490 members
Home / Discussions / C#
   

C#

 
GeneralContext menu in windows explorer Pin
Anonymous22-Aug-05 18:55
Anonymous22-Aug-05 18:55 
GeneralDetect SMTP MailServer Pin
machocr22-Aug-05 17:18
machocr22-Aug-05 17:18 
GeneralOwnerDraw PropertyGrid Pin
Shane Stevens22-Aug-05 15:51
Shane Stevens22-Aug-05 15:51 
GeneralTotal newb needs help. Pin
tomlog22-Aug-05 14:16
tomlog22-Aug-05 14:16 
GeneralRe: Total newb needs help. Pin
Christian Graus22-Aug-05 14:31
protectorChristian Graus22-Aug-05 14:31 
GeneralRe: Total newb needs help. Pin
tomlog23-Aug-05 6:30
tomlog23-Aug-05 6:30 
GeneralRe: Total newb needs help. Pin
Christian Graus23-Aug-05 13:27
protectorChristian Graus23-Aug-05 13:27 
GeneralProblem getting drag and drop to work between listbox with mode set to MultiExtended Pin
22-Aug-05 13:04
suss22-Aug-05 13:04 
Hi,

I am trying to get drag and drop to work between listbox. When I have the mode set to One it works like a dream. When the mode is set to MultiExtended it fails to work and I get an IndexOutOfRangeException. The strange thing is that when I check the size of SelectedItems or SelectedIndices it shows the correct number of selected items. However, when I try to retrieve the values I get the IndexOutOfRangeException.

Another thing I discovered is that this problem only seems to occure in mouse events. If I call the same code from the event SelectedIndexChanged or from the click event of a button it does work.

Has anyone seen this behaviour before or have a solution?

Regards, nidkil
GeneralRe: Problem getting drag and drop to work between listbox with mode set to MultiExtended Pin
Luis Alonso Ramos22-Aug-05 18:58
Luis Alonso Ramos22-Aug-05 18:58 
GeneralRe: Problem getting drag and drop to work between listbox with mode set to MultiExtended Pin
Member 221063323-Aug-05 12:34
Member 221063323-Aug-05 12:34 
Generalcomparing computation Pin
Sasuko22-Aug-05 12:57
Sasuko22-Aug-05 12:57 
GeneralRe: comparing computation Pin
Christian Graus22-Aug-05 13:04
protectorChristian Graus22-Aug-05 13:04 
Generaladding 2 buttons to a data grid Pin
Member 221087122-Aug-05 11:56
Member 221087122-Aug-05 11:56 
GeneralRe: adding 2 buttons to a data grid Pin
Christian Graus22-Aug-05 12:07
protectorChristian Graus22-Aug-05 12:07 
GeneralRe: adding 2 buttons to a data grid Pin
Member 221087122-Aug-05 13:37
Member 221087122-Aug-05 13:37 
GeneralRe: adding 2 buttons to a data grid Pin
Christian Graus22-Aug-05 13:57
protectorChristian Graus22-Aug-05 13:57 
GeneralRe: adding 2 buttons to a data grid Pin
Member 221087122-Aug-05 15:58
Member 221087122-Aug-05 15:58 
GeneralCould you please... Pin
KORCARI22-Aug-05 10:53
KORCARI22-Aug-05 10:53 
GeneralRe: Could you please... Pin
Christian Graus22-Aug-05 10:57
protectorChristian Graus22-Aug-05 10:57 
GeneralRe: Could you please... Pin
KORCARI22-Aug-05 18:01
KORCARI22-Aug-05 18:01 
GeneralRe: Could you please... Pin
Christian Graus22-Aug-05 18:23
protectorChristian Graus22-Aug-05 18:23 
QuestionHow to pass variables through URL in CGI Pin
Handy Su22-Aug-05 10:51
Handy Su22-Aug-05 10:51 
AnswerRe: How to pass variables through URL in CGI Pin
Handy Su22-Aug-05 10:58
Handy Su22-Aug-05 10:58 
GeneralCalling a function from Intel Library using C# Pin
E6AD22-Aug-05 10:11
E6AD22-Aug-05 10:11 
GeneralRe: Calling a function from Intel Library using C# Pin
Judah Gabriel Himango22-Aug-05 10:49
sponsorJudah Gabriel Himango22-Aug-05 10:49 

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.