Web Browser control
-
Hello Everyone, I have a problem. I have a Web Browser control embedded in a dialog. Now when i drop a file on this control it opens the file. What i want is doing custom handling for this like putting an icon for these files which when double clicked should open the files. Actually i have to make this dialog behave like the "Compose Message" dialog in Outlook. Does anyone have any suggestions on how this could be done ? Thanks a lot for any help, Regards, Abhi.
-
Hello Everyone, I have a problem. I have a Web Browser control embedded in a dialog. Now when i drop a file on this control it opens the file. What i want is doing custom handling for this like putting an icon for these files which when double clicked should open the files. Actually i have to make this dialog behave like the "Compose Message" dialog in Outlook. Does anyone have any suggestions on how this could be done ? Thanks a lot for any help, Regards, Abhi.
Two things to try. (This is just speculation - I haven't tried it myself.) 1. Register your dialog as a drop target and see if this overrides the WB control's drag and drop handling. 2. If the WB control still responds to drops, call RevokeDragDrop() and pass the HWND of the WB control. --Mike-- http://home.inreach.com/mdunn/ Time is an illusion; lunchtime doubly so.