Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kiran269

macrumors newbie
Original poster
Jan 29, 2009
5
0
Hi All,

I am developing one application in that i want to add device request feature ,for that i am sending a message like "DeviceRequest" .
if this message is send to other pc in that pc it shows one Alert message (NSRunAlertPanel(@"Request",@"Please Disconnect the device",@"ok",@"",nil);
But again i am sending a devicerequest ,at that time first message will display like that only untill i click on Ok button.
my question is i want to terminate the first message when second message appears.
Is there any special window or any function is there.
please can anyone reply for my question?



Regards,
kiran
 
I would try using NSAlert instead. You have more control over its window, although things may get tricky with the modal run loop.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.