Hello gurus,


Problem


I have a strange problem. I have written an application in MFC(using VS2003) to handle "Drag and Drop" of file/folder. When I run the application in administrator mode, DnD is simply rejected but works in other way (when I don't choose to run in admin mode).


Work around


I have tried several ways :


HTML Code:
http://helgeklein.com/blog/2010/03/how-to-enable-drag-and-drop-for-an-elevated-mfc-application-on-vistawindows-7/

HTML Code:
http://www.cdartdisplay.com/forum/showpost.php?p=12302&postcount=13

HTML Code:
http://forums.codeguru.com/showthread.php?499909-MFC-Drag-and-Drop-works-on-XP-broken-on-Vista-Windows-7-(

None of them worked for me.


Development tool details


IDE : Visual Studio 2003 version 7.1.3088
OS : Windows 7 Professional (64 bit)


Please suggest me a solution to resolve it. I have seen that "ChangeWindowMessageFilterEx" function is recommended but in VS2003 I could not find the API in platformSDK\include.


Thanks.