Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: webkit dragging carbon CFM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: webkit dragging carbon CFM



Hi,

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!

--
Alexander Cohen
http://www.toomuchspace.com
(819) 348-9237
(819) 432-3443


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?

thanx.


--
Alexander Cohen
http://www.toomuchspace.com
(819) 348-9237
(819) 432-3443
_______________________________________________
webkitsdk-dev mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/webkitsdk-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webkitsdk-dev mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/webkitsdk-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webkitsdk-dev mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/webkitsdk-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >webkit dragging carbon CFM (From: Alexander Cohen <email@hidden>)
 >Re: webkit dragging carbon CFM (From: Richard Williamson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.