Questions tagged [nsrunalertpanel]

8 questions
2
votes
1 answer

NSRunAlertPanel shows up behind the "active window"

I'm trying to put together a simple error reporting package. If my main program crashes, it saves a crashlog, then starts a reporter program. The reporter program asks the user if it can send the crash log to me, then does so. I'm using…
ZorbaTHut
  • 1,163
  • 1
  • 11
  • 19
2
votes
1 answer

NSRunAlertPanel and hyperlink

Is it possible to insert hyperlink into NSRunAlertPanel message text, using standard apple tools?
Feo
  • 161
  • 6
1
vote
1 answer

Thread1:EXC_BAd_InSTRUCTION(code =EXC_1386_INVOP,subcode)

I'm new to Cocoa, xcode.I'm Doing Sample Project " How to display AlertPanel and Alert Sheets.I am Getting Error Like this "thread1:EXC_BAD_INSTRUCTION(code=EXC_1386_INVOP,subcode=...).Here i Mentioned the Code line where i got the error.Please help…
k.hema
  • 35
  • 5
1
vote
1 answer

How to measure the spacing between controls of a NSRunAlertPanel

How can I find out the number of pixel position between the controls of a NSRunAlertPanel. In Interface Builder we can use the Option+Mouse to find the pixel length.Please help.
Akbar
  • 1,509
  • 1
  • 16
  • 32
0
votes
1 answer

Trouble displaying % in NSRunAlertPanel

I am developing an Desktop application where I want to show a message in alert panel using NSRunAlertPanel. I am doing the following things: NSString *title = @"% Test"; NSString *message = @"% Test Message"; NSRunAlertPanel(title, message, @"Ok"…
spd
  • 2,114
  • 1
  • 29
  • 54
0
votes
1 answer

Objective c ERROR: incompatible types for argument 2 of 'NSRunAlertPanel'

Here is the code: float charlieSoundVolume; charlieSoundVolume = [charlieSoundLevel floatValue]; NSRunAlertPanel(@"CHARLIE",charlieSoundVolume, @"", @"", @"Ok"); This gives me the error: incompatible types for argument 2 of 'NSRunAlertPanel' Will…
objectiveccoder001
  • 2,981
  • 10
  • 48
  • 72
0
votes
1 answer

NSRunAlertPanel not working in Tiger, though it works on Leopard and Snow Leopard

I'm currently using NSRunAlertPanel to display a dialog. It works perfectly in Leopard and Snow Leopard. In Tiger, it also works except for the icon. In Leopard and Snow Leopard, the icon I used for the App is displayed on the left side of the…
0
votes
1 answer

NSRunAlertPanel caused performance issue on multithreading

Occasionally I have to do a popup alert window in my Cocoa code segments. Previously I used NSAlert directly then have runModal to go while I found that the NSRunAlertPanel is more easier to achieve my goal. So I decided to switch all my alert…
othercat
  • 11
  • 2