I am trying to mimic a behviour and obviously having some trouble with it.
Open up two Windows Explorer windows. Select a file in (1) and drag it to a
folder in (2). Prior to dropping it, the now "target" folder highlights as
selected, confirming to the user that that is where it's going. The best I
can do is get the Arrow with a dotted rectangle below it and then highlight
the target AFTER the drop has been made.
For information purposes, I am dragging from a TreeView to a ListBox, though
I have some flexibility on the to......I can go to another TreeView or
ListView. I have tried this with both of these controls with the same
result. Thanks in advance.
Ed 3 1555
You could likely select the target during the dragover event...
--
Patrice
"EdB" <Ed*@discussions.microsoft.com> a écrit dans le message de
news:88**********************************@microsof t.com... I am trying to mimic a behviour and obviously having some trouble with it.
Open up two Windows Explorer windows. Select a file in (1) and drag it to
a folder in (2). Prior to dropping it, the now "target" folder highlights
as selected, confirming to the user that that is where it's going. The best
I can do is get the Arrow with a dotted rectangle below it and then
highlight the target AFTER the drop has been made.
For information purposes, I am dragging from a TreeView to a ListBox,
though I have some flexibility on the to......I can go to another TreeView or ListView. I have tried this with both of these controls with the same result. Thanks in advance.
Ed
Thank you.
"Patrice" wrote: You could likely select the target during the dragover event...
-- Patrice
"EdB" <Ed*@discussions.microsoft.com> a écrit dans le message de news:88**********************************@microsof t.com... I am trying to mimic a behviour and obviously having some trouble with it.
Open up two Windows Explorer windows. Select a file in (1) and drag it to a folder in (2). Prior to dropping it, the now "target" folder highlights as selected, confirming to the user that that is where it's going. The best I can do is get the Arrow with a dotted rectangle below it and then highlight the target AFTER the drop has been made.
For information purposes, I am dragging from a TreeView to a ListBox, though I have some flexibility on the to......I can go to another TreeView or ListView. I have tried this with both of these controls with the same result. Thanks in advance.
Ed
If you can use Win32 API interop, you can use the LVIS_DROPHILITED state for
the ListViewItem
-Atul, Sky Software http://www.ssware.com
Shell MegaPack ActiveX & .Net
Drop In Windows Explorer like Shell Browsing GUI controls for your app.
"EdB" <Ed*@discussions.microsoft.com> wrote in message
news:88**********************************@microsof t.com... I am trying to mimic a behviour and obviously having some trouble with it.
Open up two Windows Explorer windows. Select a file in (1) and drag it to a folder in (2). Prior to dropping it, the now "target" folder highlights as selected, confirming to the user that that is where it's going. The best I can do is get the Arrow with a dotted rectangle below it and then highlight the target AFTER the drop has been made.
For information purposes, I am dragging from a TreeView to a ListBox, though I have some flexibility on the to......I can go to another TreeView or ListView. I have tried this with both of these controls with the same result. Thanks in advance.
Ed This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Colin Young |
last post by:
I've got a owner-drawn listview control that displays images and now I'm
trying to implement drag and drop so I can drag images from the control and
drop them onto other applications. So far if I...
|
by: Clyde |
last post by:
I am trying to implement the user feedback provided by
Windows Explorer when draggng a filename from one place to
another.
I have the drag and drop action worked out but have had no
luck in...
|
by: Dave |
last post by:
I need to add the ability to drag from a Windows Form and drop into a
non dotNet application. For example, having a generated image in my
app that I wish to drag out into explorer as a friendly way...
|
by: Yavuz Bogazci |
last post by:
Hi,
i have build a form with a listbox and the function that
he user can drag and drop files from the windows explorer
in this listbox. this works for me when i start it on my
localmachine. ...
|
by: Robin Tucker |
last post by:
Apologies for the ambiguous title, you will be expecting me to be asking how
to perform drag and drop from my application into another application.
Well, kind-of. I've got drag and drop sorted,...
|
by: EdB |
last post by:
I am trying to mimic a behviour and obviously having some trouble with it.
Open up two Windows Explorer windows. Select a file in (1) and drag it to a
folder in (2). Prior to dropping it, the...
|
by: Robert Zahm |
last post by:
I have created a C# user control which display certain filesystem
information, and allows the user to drag an drop files into and out of the
control. I then placed this user form in IE using an...
|
by: Truevision .Net |
last post by:
Hi,
I have a problem with drag and drop functionality when it comes to
dropping pictures from sources like for example internet explorer and
the webbrowser control. Dragging and dropping from...
|
by: Andreas Mueller |
last post by:
Hi All,
I'm trying to show a context menu during a drag drop operation similar
to the windows explorers right click drag and drop behavior (A full
working sample is at the end of the post):
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |