On Nov 17, 2003, at 5:44 PM, Alexander Cohen wrote:
> Hi, i need to implement my own HIWebViewCreate to get access to a
> subclass of WebView that i created in cocoa. Is there anything special
> going on in that routine that i should no about. My implementation is
> returning an invalid control handle each time. Im really doing nothing
> special. I have a obj-c class that has a super of WebView, no data,
> and an overloaded -(void)mouseDown. From the custom call that i write
> in my bundle to access this from Carbon, i just alloc my new subclass,
> send it an init message, and assign my object to a pointer to a
> HIViewRef that i pass. This shiould work right? A HIViewRef is the
> same as a NSView*? I always get an invalid control, what might i be
> doing wrong?
Could you tell us a little more about what you are using using
subclassing for? We'd like WebView to be usable without subclassing as
much as possible, so maybe there is a WebKit feature we could add here.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
webkitsdk-dev mailing list | email@hidden
Do not post admin requests to the list. They will be ignored.