RE: Getting Carbon EventRef from cocoa NSEvent

2008-10-23 Thread Rangaswamy C T
Oops, sorry got it. Thanks -Original Message- From: Jesper Storm Bache Sent: Friday, October 24, 2008 3:14 AM To: Rangaswamy C T; cocoa-dev@lists.apple.com; [EMAIL PROTECTED] Subject: RE: Getting Carbon EventRef from cocoa NSEvent If you look in NSEvent.h you will see : #if

Getting Carbon EventRef from cocoa NSEvent

2008-10-23 Thread Rangaswamy C T
Hi All, For some requirement in my product, I have embedded my Carbon window inside Cocoa window using addChildWindow method. For getting my carbon window UI (keyboard and mouse) events working, I had to watch cocoa events for NSWindow of Carbon window and then redispatch carbon eventRef's to

Leopard crash in CFRunLoopAddObserver()

2008-08-22 Thread Rangaswamy C T
Hi All, I am sorry if I have posted to cross dev-lists. I am in a very strange situation. I am bit new to Mac. I had an existing desktop application. I wanted to run this application inside Firefox process for some requirement. So I just built my existing application as bundle and started runn