   SDL Message Box
  I want to display an error message to the user whenever a critical error occurs. Is there any way to do this in SDL? The only way I know of to create a message box is to cause an assertion failure, but obviously, that's not really a good solution.   
  SDL 1.2.x doesn't have support for message boxes.Not sure about SDL 1.3...   ;  A "real" MessageBox is a Windows function, and is independent of SDL. You can include windows.h and use it, nothing preventing you to do so. The only problem you might encounter is if your application is in fullscreen mode, might look weird.More info here: http://msdn.microsoft.com/en-us/library/ms645505%28VS.85%29.aspxOtherwise, create your own graphical messagebox in SDL, just like I did.   ;  I'd prefer to avoid the Winapi if I can since all the name mangling and C style syntax is so confusing, but it looks like I have no choice.   ;Quote:Original post by StoryyellerI'd prefer to avoid the Winapi if I can since all the name mangling and C style syntax is so confusing, but it looks like I have no choice.Creating your own very basic message box in SDL would not be that hard to do.  Easier than you might think it is.That is if you keep it simple.  Now of course you could make it a lot more advanced, but a very basic message box that gets drawn to the screen when something happens should not be hard at all.   