Cocoa Window Not Activated When Called From Carbon Application
Cocoa Window Not Activated When Called From Carbon Application
- Subject: Cocoa Window Not Activated When Called From Carbon Application
- From: Sindhu Gururaj <email@hidden>
- Date: Thu, 10 Apr 2003 10:47:46 +0100 (BST)
Hi All:
I have a Cocoa Bundle in which i have my User Interface. A Carbon Application calls this Cocoa Bundle and displays the Cocoa Window.
The cocoa window is displayed, BUT the window is INACTIVE.
There is a "NSApplicationLoad()" API [A startup function to call when running Cocoa code from Carbon Application] which was introduced in Mac 10.2 OS. but i work on 10.1 OS.
I have used NSApplication -activateIgnoringOtherApps() etc. but of no avail.
If anyone wants to have a look at the code, i could share it.
Any Solutions pls?
NOTE: I have made use of NSWindow-makeKeyAndOrderFront (), even then the Cocoa Window is INACTIVE.
Thanks in Advance.
Rgds,
Sindhu
Catch all the cricket action. Download Yahoo! Score tracker
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.