Задайте вопросЗадайте вопрос
 

ВопросDrag And Drop not working on vista

  • 7 июня 2007 г. 6:58Gomata Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     

    Hello,

     

    I wrote a very basic wpf window to do some drag and drop of files and folders.

     

    <Window x:Class="WindowsApplication3.Window1"

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

    Title="WindowsApplication3" Height="300" Width="300" AllowDrop="True" Drop="OnDrop"

    ><Grid></Grid>

    </Window>

     

    and the only function

     

    public void OnDrop(object sender, DragEventArgs e) {}

     

    This code is perfectly working under windows xp but when I use it under windows vista I can't drop any things on the window. 

     

    Does someone manage to get the drag and drop feature working on vista?

    Is there something to add to get it work?

     

    (The purpose is to drag and drop files and folders to the window)

     

    Any input would be very welcome.

     

    Thx

Все ответы