I'm doing a project that involves D&D.
Here is my problem.
>>The textbox being drug from<<
Test to see if any text is selected (.SelectedText)
Test to see if the mouse cursor is over the selected text (no way that I can see).
Interesting to note how the address bar works in Windows Explorer.
When a mousedown occurs over text in the address bar it only allows the text to be selected. It does not allow a drag to begin.
Only when you mousedown over the address' icon in the left of the textbox does it allow the address to be dragged, then it drags all of the text from the address bar.
How do I make this happen in a textbox in .net?
It's always the small stuff that boggles the mind.
Thanks ahead of time.
Here is my problem.
>>The textbox being drug from<<
Test to see if any text is selected (.SelectedText)
Test to see if the mouse cursor is over the selected text (no way that I can see).
Interesting to note how the address bar works in Windows Explorer.
When a mousedown occurs over text in the address bar it only allows the text to be selected. It does not allow a drag to begin.
Only when you mousedown over the address' icon in the left of the textbox does it allow the address to be dragged, then it drags all of the text from the address bar.
How do I make this happen in a textbox in .net?
It's always the small stuff that boggles the mind.
Thanks ahead of time.