Click here to Skip to main content
15,892,005 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Google annoucment Pin
Ian Shlasko28-Sep-09 3:03
Ian Shlasko28-Sep-09 3:03 
QuestionNeed to access control in another page Pin
CBenac25-Sep-09 18:26
CBenac25-Sep-09 18:26 
AnswerRe: Need to access control in another page Pin
Mark Salsbery28-Sep-09 6:44
Mark Salsbery28-Sep-09 6:44 
GeneralRe: Need to access control in another page Pin
CBenac28-Sep-09 10:56
CBenac28-Sep-09 10:56 
GeneralRe: Need to access control in another page Pin
Mark Salsbery28-Sep-09 13:40
Mark Salsbery28-Sep-09 13:40 
QuestionWhy doesn't the AllowDrop property work with a TextBox? [modified] Pin
fjparisIII25-Sep-09 5:18
fjparisIII25-Sep-09 5:18 
AnswerRe: Why doesn't the AllowDrop property work with a TextBox? Pin
Pete O'Hanlon25-Sep-09 10:24
mvePete O'Hanlon25-Sep-09 10:24 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox? [modified] Pin
fjparisIII26-Sep-09 4:48
fjparisIII26-Sep-09 4:48 
Excellent! I already had about 100 edit boxes scattered throughout my app that requires file paths and they all called a custom control I wrote, so modifying that single custom control got them all accepting drag and drop in five minutes!

I do wonder how people like you find answers like this. For example, where did you learn that you had to code those PreviewDrag events? And why do you use the PreviewDrop event and not just the Drop event? And what learning experience did you have to go through to realize that? What I'm trying to learn is the basis of your knowledge, because there's so many things about WPF that I don't seem to be able to figure out off the top of my head and have to Google for the answer, and my WPF app now has over 70,000 lines of C#/XAML code in it, which I've spent nine intense months developing (60+ hours per week). You'd think by now I'd be able to do it all, but I'm still puzzled by problems that crop up left and right. My work habits must be deficient in some way.

A specific question I have about your solution is that you get the standard mouse cursor with the plus sign inside a box when the drag operation enters the edit box. In my initial solution to the drop into a ListBox I got a mouse cursor with an empty box, not the box with the plus sign. By experimenting I determined that you achieve this with the code you have in the PreviewDrag events. What about that code gets you the cursor with the plus sign, avoiding that anemic cursor without the plus sign?

modified on Saturday, September 26, 2009 11:00 AM

GeneralRe: Why doesn't the AllowDrop property work with a TextBox? Pin
Pete O'Hanlon27-Sep-09 23:34
mvePete O'Hanlon27-Sep-09 23:34 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox? Pin
fjparisIII28-Sep-09 5:50
fjparisIII28-Sep-09 5:50 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox? Pin
Pete O'Hanlon28-Sep-09 8:50
mvePete O'Hanlon28-Sep-09 8:50 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox? Pin
fjparisIII28-Sep-09 16:41
fjparisIII28-Sep-09 16:41 
QuestionCan't update GUI with textbox Text Pin
marca29224-Sep-09 20:14
marca29224-Sep-09 20:14 
QuestionNeed to accept drop from drag and drop operation from Windows Explorer Pin
fjparisIII24-Sep-09 16:08
fjparisIII24-Sep-09 16:08 
AnswerRe: Need to accept drop from drag and drop operation from Windows Explorer Pin
Gideon Engelberth25-Sep-09 3:22
Gideon Engelberth25-Sep-09 3:22 
GeneralRe: Need to accept drop from drag and drop operation from Windows Explorer Pin
fjparisIII25-Sep-09 4:06
fjparisIII25-Sep-09 4:06 
QuestionFont difference between XP and Vista in wpf app Pin
ausadmin24-Sep-09 13:47
ausadmin24-Sep-09 13:47 
AnswerRe: Font difference between XP and Vista in wpf app Pin
Christian Graus24-Sep-09 14:22
protectorChristian Graus24-Sep-09 14:22 
QuestionCustom control Pin
Mikey_H23-Sep-09 9:11
Mikey_H23-Sep-09 9:11 
AnswerRe: Custom control Pin
Richard MacCutchan23-Sep-09 12:27
mveRichard MacCutchan23-Sep-09 12:27 
GeneralRe: Custom control Pin
Mikey_H25-Sep-09 3:19
Mikey_H25-Sep-09 3:19 
GeneralRe: Custom control Pin
Richard MacCutchan25-Sep-09 7:55
mveRichard MacCutchan25-Sep-09 7:55 
QuestionCant see columns in listview on designer Pin
Haim Nachum23-Sep-09 4:36
Haim Nachum23-Sep-09 4:36 
AnswerRe: Cant see columns in listview on designer Pin
ABitSmart23-Sep-09 14:25
ABitSmart23-Sep-09 14:25 
GeneralRe: Cant see columns in listview on designer Pin
Haim Nachum23-Sep-09 23:02
Haim Nachum23-Sep-09 23:02 

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.