HICocoaView in SC4.7

External developers... This forum's for you!

HICocoaView in SC4.7

Postby sctell » Sat Jan 15, 2011 12:51 am

Not knowing what improvements have been made under the hood can anyone advise if SuperCard 4.7 is capable of handling HICocoaView.

4.6.3 cannot as outlined some time ago by Mark.


Thanks

--Terry
sctell
 
Posts: 1129
Joined: Sun Jul 06, 2008 10:41 am

Re: HICocoaView in SC4.7

Postby codegreen » Sun Jan 16, 2011 11:25 am

sctell wrote:Not knowing what improvements have been made under the hood can anyone advise if SuperCard 4.7 is capable of handling HICocoaView.

IIRC although theoretically HICocoaView is supposed to work in non-compositing windows, it doesn't (i.e., trying to embed one into the view hierarchy of a non-compositing window crashes your app). Even if it would embed properly you'd probably need to use RAEL and the standard window handlers to get it to draw (since it seems to ignore attempts to draw it via DrawControlInCurrentPort) which will hopelessly mess things up in SC.

-Mark
codegreen
 
Posts: 1529
Joined: Mon Jul 14, 2008 11:03 pm

Re: HICocoaView in SC4.7

Postby sctell » Mon Jan 17, 2011 5:54 am

Thanks for the info.

I recall this from 4.6.3 but was just wondering if any advancements had been made in 4.7 that would allow better integration with Cocoa.


All the best
sctell
 
Posts: 1129
Joined: Sun Jul 06, 2008 10:41 am


Return to Xcode and the Internals Toolbox

Who is online

Users browsing this forum: No registered users and 0 guests