In order to implement some OOo specifics cursors, i need to use cocoa bindings, because carbon can't personalize cursors, whereas cocoa can...
I've begun to read apple docs you provided.

To begin my investigations, we need to write an Obj-C source code which contains all Cocoa functions we need, and some C-Wrappers functions as :

Type my_fucntion (carbontype parameters)

{


    Type        myvar


    NSAutoreleasePool *localPool;

     localPool = [[NSAutoreleasePool alloc] init];

    myvar = [CocoaFunction_in_Obj_C];

    [localPool release];

    return myvar;

}

Eric and Ismael help me with includes and bindings, but i haven't tested yet, so i don't write anything about it...

To be continued...

Damien



On 10 mars 07, at 17:07, Florian Heckl wrote:

Hi Mox, plipli and others,

I jst saw your discussion yesterday about using Cocoa from Carbon.
Indeed it is possible to even use Cocoa UI from Carbon as described in
http://developer.apple.com/documentation/Cocoa/Conceptual/ CarbonCocoaDoc/Articles/CocoaUIInCarbon.html So it should at least be possible to display the Cocoa spellchecker. Making it work with our OOo windows is a different story, though.

Kind regards,
Florian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to