Drawing into a WebView during drag time?
Drawing into a WebView during drag time?
- Subject: Drawing into a WebView during drag time?
- From: "Theodore H. Smith" <email@hidden>
- Date: Mon, 16 Jan 2006 20:57:28 +0000
How can I draw into a WebView control, during drag time?
If I do, what happens is that the drawing is NOT displayed
immediately, despite that the same code does display immediately in
other controls, the draw only happens after the drag is ended.
Why? Did WebView lock itself somehow? How can I override this?
I tried putting an NSImageView over the WebView, but the NSImageView
only sucked in the drag events and stopped WebView from getting any.
I tried putting the NSImageView behind the WebView, but WebView is
opaque.
I tried getting NSImageView to pass drag events, but it ignores them
totally even if I registered it for the exact same drag types.
Well I'm out of ideas.
All I want to do is draw a border into an WebView. it's a really
simple and obvious thing. WebView takes .html files, I drag .html
file to a webview, so I want the webview to draw a drag border during
drags. But it doesn't work no matter what I try!!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden