I write an application use the function DoDragDrop(A.exe), which can drag a file from a directory and drop to another directory. In Platform SDK\samples\winbase, there is a "Service" example. I call CreateProcess in this example, now I can see the UI of the A.exe, and I also can see drag-image, but when I release the mouse, the dragged file can't be moved. Need I do some special operation to finish the drag-and-drop? Who can answer me? Thanks a lot.
I guess you can not drug and drop between an application running under system account and an application running under other user account. It is generally a bad practise to have user interface in system service. Consider starting your user interface from regular logged on user account. "jerry new" wrote in message news:%23NNim1nRGHA.4900@TK2MSFTNGP09.phx.gbl... >I write an application use the function DoDragDrop(A.exe), which can drag a > file from a directory and drop to another > directory. > > In Platform SDK\samples\winbase, there is a "Service" example. > I call CreateProcess in this example, now I can see the UI of the A.exe, > and > I also can see drag-image, > but when I release the mouse, the dragged file can't be moved. > > Need I do some special operation to finish the drag-and-drop? > Who can answer me? > > Thanks a lot. > >