I did use carbonWeb for a basis for my app but just as example. I did
not really copy any code. But to understand this correctly, where does
the patch you sent me go in the code? Im not sure i know what all what
you sent means!
On Nov 11, 2003, at 08:04 PM, Richard Williamson wrote:
If you used the CarbonWeb code as a basis for your app you may be
running into a bug in that example. Try applying this patch to the
CarbonWeb app. Make a similar change in your app.
Index: WebKitExamples/CarbonWeb/TWebWindow.cp
===================================================================
RCS file:
/local/home/cvs/Labyrinth/WebKitExamples/CarbonWeb/TWebWindow.cp,v
retrieving revision 1.5
retrieving revision 1.6
diff -r1.5 -r1.6
957c957,960
< result =
SendEventToEventTargetWithOptions( inEvent, HIObjectGetEventTarget(
(HIObjectRef)view ),
---
> if ( view ==
NULL)
> result =
noErr;
> else
> result =
SendEventToEventTargetWithOptions( inEvent, HIObjectGetEventTarget(
(HIObjectRef)view ),
971c974,977
< result =
SendEventToEventTargetWithOptions( inEvent, HIObjectGetEventTarget(
(HIObjectRef)view ),
---
> if ( view == NULL)
> result = noErr;
> else
> result =
SendEventToEventTargetWithOptions( inEvent, HIObjectGetEventTarget(
(HIObjectRef)view ),
- Richard
On Nov 11, 2003, at 3:48 PM, Alexander Cohen wrote:
I've imlpemented WebKit in a carbon CFM app. The only problem ive
been getting is the dragging is really not working. If i start a drag
in a WebView, it is handled automatically and starts off normal, but
about 10 pixels away from the origin, the drag just freezes there on
the screen. How can i work around this?
Plus, if the drag is an image, the image is flipped. Anything i can
do about this? Has this ever happened to anyone else?