I can't seem to make IE selected text draggable into my MFC application. Take a look at the sample VS 2008 C++ solution attached. To illustrate, compile and open the app. Then open an IE (the one I'm using is IE 9 version 9.0.8112, update versions 9.0.12), select any text in it and drag it into the app's text box. It won't let you. But if you try it with practically any other web browser (Chrome, FF) it works just fine.
Can someone explain why can't I make it work with IE?
Re: Why can't I drag text into my MFC app from IE?
Originally Posted by ahmd
You didn't run IE and my app elevated, did you? I did my test on a Standard user account and there seems to be UIPI conflict between a lower privileged IE and my app.
I confirm the effect exists.
Windows 7 x64, UAC enabled, IE 9.0.12. It doesn't matter whether test app runs elevated or not. What matters is IE level. Being run elevated it pastes okay, otherwise operation fails, as IE seems does not recognize the app textbox as an acceptable drop target. What's interesting, when entering the textbox the icon looks change from standard 'no drop', black-and-white, transparent, no-shadow icon to red-and-white, opaque 'no drop' icon with a shadow.