Need help regarding sleep notification

2010-01-04 Thread Poonam Virupaxi Shigihalli
Hi, I am listening to the notifications NSWorkspaceWillSleepNotification and NSWorkspaceDidWakeNotification in my code. I am getting these notifications, when user selects sleep from system menu. But when system goes to sleep, after being idle for some duration, I am not getting these

Unable to recieve mouse moved events on NSBorderless window

2010-01-20 Thread Poonam Virupaxi Shigihalli
Hi, I am using NSBorderless window style mask for window to set in full screen mode. I am unable to recieve the mouse moved event on borderless window. If I set the window style mask to titled I am able to recieve mouse moved events. I have set in awake from nib [window

RE: Unable to recieve mouse moved events on NSBorderless window

2010-01-21 Thread Poonam Virupaxi Shigihalli
on NSBorderless window On Jan 20, 2010, at 5:05 PM, Quincey Morris wrote: On Jan 20, 2010, at 05:33, Poonam Virupaxi Shigihalli wrote: I am using NSBorderless window style mask for window to set in full screen mode. I am unable to recieve the mouse moved event on borderless window. If I

NSAlert query

2010-01-24 Thread Poonam Virupaxi Shigihalli
hi all, When alert messages are displayed using runModal, it blocks the thread until the user clicks on the button. Is there anyway to avoid blocking of the thread when alert is displayed? Regards, Poonam. ___ Cocoa-dev mailing list

Notification to wake the screen?

2010-01-25 Thread Poonam Virupaxi Shigihalli
Hi, I am using NSWorkspaceScreensDidSleepNotification and NSWorkspaceScreensDidWakeNotification notifications to detect screen sleep and awake in idle sleep mode. But on some event (eg. on timer fire) I want to the wake screen . Is there any notification I can post for screen to wake?

NSOutlineView parentobject

2010-02-02 Thread Poonam Virupaxi Shigihalli
Hi all, I have an outlineview to display n number of groups(Example: Grp1, Grp2 etc), each can have n number of items, same item can be present in many groups. Suppose item1 is present in Grp1 and Grp2, if i have to delete item1 in Grp1, i have to access the parent object i.e Grp1. But when i

RE: Outlineview ParentObject

2010-02-04 Thread Poonam Virupaxi Shigihalli
Dear All, NSOutlineView displays as follows: Group1 ---Cocoa ---Mac Group2 Cocoa Macbook Cocoa is a duplicate entry present in two groups also. I have rightmousedown action for outlineview. when the user right clicks on any of the group items. i has the following operations:

RE: NSOutlineView parentobject

2010-02-04 Thread Poonam Virupaxi Shigihalli
Banupriya. But I had the exact same reaction at first, and now I'm starting to get suspicious. You're right, the original message (on the 2nd) was from Poonam Virupaxi Shigihalli poonamshigiha...@tataelxsi.co.in - same domain. But the two messages are word-for-word identical, including the exact

Determine if only single instance is running.

2010-02-21 Thread Poonam Virupaxi Shigihalli
Hi list, Is there a way to check an application instance is running. I tried enabling application prohibits multiple instance in info.plist. Still i am able to launch multiple instance of the same application. Thanks, Poonam ___ Cocoa-dev mailing

Unable to receive keyDown Event in NSBorderlesswindow

2010-03-11 Thread Poonam Virupaxi Shigihalli
Hi, I am using NSBorderless style mask for window and I am unable to receive the NSKeyDown event for that window.But if I make the window style as titled then I am able to receive the keyDown events. I am using below function for Keydown event: - (void)keyDown:(NSEvent *) event Thanks,

Previous ShutDown Message : 3 received

2010-03-26 Thread Poonam Virupaxi Shigihalli
Hi All, Running our application(Soft Phone) on iMac, 2.66 GHz, core 2 duo. making calls from other end to iMac continuously, the system shuts down when about to sleep. After the system is restarted we get these messages in our console. 26/03/10 10:12:44 AMkernel Sleep failure code

Cocoa Help Menu

2010-03-31 Thread Poonam Virupaxi Shigihalli
Hi, In our application we have a help menu and we are not using help viewer instead we are just loading the help files to a browser. As it is a help file,Appkit is adding a default search option. If something is searched from this field,it is searching in all the system files but i want