Click here to Skip to main content
15,887,241 members
Home / Discussions / C#
   

C#

 
Questionhosting a java applet Pin
zildjohn0110-Sep-07 8:52
zildjohn0110-Sep-07 8:52 
AnswerRe: hosting a java applet Pin
led mike10-Sep-07 9:28
led mike10-Sep-07 9:28 
GeneralRe: hosting a java applet Pin
zildjohn0110-Sep-07 13:07
zildjohn0110-Sep-07 13:07 
GeneralRe: hosting a java applet Pin
led mike11-Sep-07 4:41
led mike11-Sep-07 4:41 
GeneralRe: hosting a java applet Pin
zildjohn0111-Sep-07 10:59
zildjohn0111-Sep-07 10:59 
GeneralRe: hosting a java applet Pin
led mike11-Sep-07 11:43
led mike11-Sep-07 11:43 
QuestionUsing MCISendString for games Pin
pokabot10-Sep-07 8:51
pokabot10-Sep-07 8:51 
QuestionDragDrop problem Pin
Skippums10-Sep-07 8:48
Skippums10-Sep-07 8:48 
I am attempting to make a set of textboxes that will allow dragdrop operations. I am inheriting from RichTextBox in my class and have added the following code...

...
// Only allow copy if this textbox is readonly (cannot move from this box)
if (base.ReadOnly)
this.DoDragDrop(this.SelectedText, DragDropEffects.Copy);
...

protected override void OnDragOver(DragEventArgs drgevent) {
// Set the effect, based on keys pressed and drgevent.AllowedEffects
}

The problem is that drgevent.AllowedEffects is ALWAYS (Move|Copy|Scroll). Then, when I set drgevent.Effect to DragDropEffects.Move (since I have no way to see if the source is readonly), I get the cursor indicating that NO dragdrop operation is allowed. Is there any way for me to get the value passed into DoDragDrop, or at least see if Move is allowed by the operation so I can set drgevent.Effect to Copy? Thanks,

Jeff
AnswerRe: DragDrop problem Pin
Skippums11-Sep-07 4:37
Skippums11-Sep-07 4:37 
QuestionWord docs Pin
jblouir10-Sep-07 8:11
jblouir10-Sep-07 8:11 
AnswerRe: Word docs Pin
Christian Graus10-Sep-07 9:54
protectorChristian Graus10-Sep-07 9:54 
GeneralRe: Word docs Pin
jblouir10-Sep-07 13:41
jblouir10-Sep-07 13:41 
QuestionOpening third-party software in windows Pin
Skippums10-Sep-07 7:50
Skippums10-Sep-07 7:50 
Questionbinding question Pin
kboyette10-Sep-07 7:41
kboyette10-Sep-07 7:41 
QuestionRe: binding question Pin
kboyette11-Sep-07 14:56
kboyette11-Sep-07 14:56 
AnswerRe: binding question Pin
kboyette12-Sep-07 10:29
kboyette12-Sep-07 10:29 
GeneralRe: binding question Pin
kboyette12-Sep-07 10:38
kboyette12-Sep-07 10:38 
Questionnot-null-field issue Pin
newbieAl10-Sep-07 7:25
newbieAl10-Sep-07 7:25 
AnswerRe: not-null-field issue Pin
kboyette10-Sep-07 7:45
kboyette10-Sep-07 7:45 
GeneralRe: not-null-field issue Pin
newbieAl10-Sep-07 8:00
newbieAl10-Sep-07 8:00 
GeneralRe: not-null-field issue Pin
Elina Blank10-Sep-07 8:46
sitebuilderElina Blank10-Sep-07 8:46 
GeneralRe: not-null-field issue Pin
kboyette10-Sep-07 8:54
kboyette10-Sep-07 8:54 
GeneralRe: not-null-field issue Pin
newbieAl10-Sep-07 9:18
newbieAl10-Sep-07 9:18 
GeneralRe: not-null-field issue Pin
kboyette10-Sep-07 9:53
kboyette10-Sep-07 9:53 
GeneralRe: not-null-field issue Pin
newbieAl10-Sep-07 10:24
newbieAl10-Sep-07 10:24 

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.