Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalhelp Pin
_tasleem9-Jul-05 3:55
_tasleem9-Jul-05 3:55 
QuestionDebugging EIP = 00000000 crashes ?? Pin
mnelles9-Jul-05 3:20
mnelles9-Jul-05 3:20 
AnswerRe: Debugging EIP = 00000000 crashes ?? Pin
Alexander M.,9-Jul-05 4:45
Alexander M.,9-Jul-05 4:45 
GeneralRe: Debugging EIP = 00000000 crashes ?? Pin
Toby Opferman10-Jul-05 15:53
Toby Opferman10-Jul-05 15:53 
GeneralRe: Debugging EIP = 00000000 crashes ?? Pin
Toby Opferman10-Jul-05 16:07
Toby Opferman10-Jul-05 16:07 
GeneralCreating Setup Projects And Adding Merge Modules Pin
ugur_basak9-Jul-05 2:52
ugur_basak9-Jul-05 2:52 
GeneralRe: Creating Setup Projects And Adding Merge Modules Pin
squidev9-Jul-05 5:04
squidev9-Jul-05 5:04 
GeneralCHtmlView Question Pin
Abhishek Narula9-Jul-05 1:26
Abhishek Narula9-Jul-05 1:26 
Hello Everyone,

I am creating a basic WebBrowser type of application.
One of our requirement is to allow drag-drop of images (placed in a layer)
withing the HTML page.

To intercept the dragging events , I overrided OnGetDropTarget() and
provided my own CCustromDropTarget (derived from IDropTarget) class's
object.
Doing so, i am able to receive all the dragging events occuring while user
is dragging image/text etc in the view.

However I am stuck with the following :

1) When the content dragged is an Image (CF_DIB), How do I extract HBITMAP
from the IDataObject passed to DragEnter()
2) Although the content dragged is an image, but thats the represantation of
a particular type of object used in our application.
hence when the image is dragged I want to transfer some more data in this
IDataObject than just the image. Lets say I want to pass actual IHTMLElement
which is being dragged. How Do I achieve that ?

My best guess for the 2nd question was to handle FilterDataObject() and
provide a new IDataObject which has the extra information required in our
application.
Unfortunately this function is never getting called. Can someone please
throw light on FilterDataObject() as well.

Best Regards,
Abhishek Narula



Abhishek Narula

GeneralRe: CHtmlView Question Pin
Sheng Jiang 蒋晟10-Jul-05 14:13
Sheng Jiang 蒋晟10-Jul-05 14:13 
GeneralRe: CHtmlView Question Pin
Abhishek Narula10-Jul-05 19:58
Abhishek Narula10-Jul-05 19:58 
GeneralRe: CHtmlView Question Pin
Sheng Jiang 蒋晟11-Jul-05 7:10
Sheng Jiang 蒋晟11-Jul-05 7:10 
Questionhow to Ensure my program works across platforms? Pin
awah8-Jul-05 23:31
awah8-Jul-05 23:31 
AnswerRe: how to Ensure my program works across platforms? Pin
Alexander M.,8-Jul-05 23:40
Alexander M.,8-Jul-05 23:40 
AnswerRe: how to Ensure my program works across platforms? Pin
Jack Puppy9-Jul-05 2:24
Jack Puppy9-Jul-05 2:24 
GeneralRe: how to Ensure my program works across platforms? Pin
awah9-Jul-05 17:04
awah9-Jul-05 17:04 
GeneralRe: how to Ensure my program works across platforms? Pin
S. Senthil Kumar10-Jul-05 3:46
S. Senthil Kumar10-Jul-05 3:46 
GeneralRe: how to Ensure my program works across platforms? Pin
Toby Opferman10-Jul-05 16:55
Toby Opferman10-Jul-05 16:55 
GeneralPrint Files via DOS-Prompt Pin
Balaji Krishna8-Jul-05 23:18
Balaji Krishna8-Jul-05 23:18 
GeneralRe: Print Files via DOS-Prompt Pin
Roger Wright9-Jul-05 6:07
professionalRoger Wright9-Jul-05 6:07 
GeneralRe: Print Files via DOS-Prompt Pin
Ravi Bhavnani9-Jul-05 6:58
professionalRavi Bhavnani9-Jul-05 6:58 
GeneralMonitor The Folder Pin
Balaji Krishna8-Jul-05 19:39
Balaji Krishna8-Jul-05 19:39 
GeneralRe: Monitor The Folder Pin
ThatsAlok8-Jul-05 20:07
ThatsAlok8-Jul-05 20:07 
GeneralRe: Monitor The Folder Pin
David Crow9-Jul-05 10:23
David Crow9-Jul-05 10:23 
QuestionData Storage? Pin
S Douglas8-Jul-05 19:34
professionalS Douglas8-Jul-05 19:34 
AnswerRe: Data Storage? Pin
ThatsAlok8-Jul-05 20:54
ThatsAlok8-Jul-05 20:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.