Re: Drag and Drop - a question

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hallo

This could be a common problem (feature) with Win7. You can test it. It should only appear if you run your program as Administrator.

In Win7 lower privileged Processes are not allowd to Drag Files to higher privileged Processes. In your case I think you start your program as Admin. Drag and Drop should work from other programs you started but not from lower privilegd ones (say Explorer).

This is bcause some Messages are filterd, with this UAC thing on, and you must explizit allow this messages to reach your high privilegd App.

The following is from MSDN:

ChangeWindowMessageFilter (WM_DROPFILES, MSGFLT_ADD) ChangeWindowMessageFilter (WM_COPYDATA, MSGFLT_ADD)

Wrapping this ApiCalls should not be this hard

Hope this helps Andreas

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu