954,496 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

I need the Mac OS X message box function

Hi, I'm not sure if this is the right forum to post this thread in, but here it is.

Even though I program on the Mac OS X platform, and am quite good at it, I'm really doing game programming, so I never really learned much Cocoa or Carbon. Can someone tell me the Carbon function for a message box? Thanks a lot.

John A
Vampirical Lurker
Team Colleague
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
 

Message box? In Mac OS X you generally don't use a message box, or when you do, they fold down from the top of the window. Assuming you have a window already, this is the way you should do things. You'll probably have better luck looking in that direction. Maybe somebody will come along with a slicker answer than that.

Rashakil Fol
Super Senior Demiposter
Team Colleague
2,658 posts since Jun 2005
Reputation Points: 1,135
Solved Threads: 177
 

I've done a MessageBox function for mac, you will find the code in my blog there you will find a function that create a modal message box and returns the selected value depending on the pressed button.
The code, with few more lines of code will be a complete equivalent of window's MessageBox function

jarimany
Newbie Poster
1 post since May 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You