05-20-2008 06:55 PM
05-21-2008 03:31 PM
Hi Jim,
Thanks for the post. I researched on your issue using different combinations of VI, pane, and path control event and was unsuccessful in getting an event to fire when the drag starts outside of the LabVIEW window. I think you are on the right path with using a Windows API, which then could be interfaced into LabVIEW using ActiveX or .NET containers. If you are able to detect it, then you can use a user event to fire a drag start in LabVIEW. This should then allow you to successfully fire a drag over event. The NI Developer Zone article below will get you started on creating and using user events:
Using Dynamic Event Registration to Watch for User Inaction With a Control
Hope this helps to get you started on the right path. Have a good evening!
Cheers,
Jonah
Applications Engineer
National Instruments
05-21-2008 03:48 PM
05-21-2008 04:14 PM
@jpaul wrote:
Hi Jim,
Thanks for the post. I researched on your issue using different combinations of VI, pane, and path control event and was unsuccessful in getting an event to fire when the drag starts outside of the LabVIEW window. I think you are on the right path with using a Windows API, which then could be interfaced into LabVIEW using ActiveX or .NET containers. If you are able to detect it, then you can use a user event to fire a drag start in LabVIEW. This should then allow you to successfully fire a drag over event. The NI Developer Zone article below will get you started on creating and using user events:
Using Dynamic Event Registration to Watch for User Inaction With a Control
Hope this helps to get you started on the right path. Have a good evening!
Cheers,
Jonah
Applications Engineer
National Instruments
05-21-2008 05:35 PM
05-26-2008 05:57 PM
05-26-2008 09:26 PM
05-26-2008 09:36 PM
@Matthew Kelton wrote:
I found a few c examples via that Google search, too. This one has the DragEnter Method supported:
http://dn.codegear.com/article/26545
05-26-2008 11:08 PM
05-27-2008 10:10 AM