Sign in to follow this  
Spippo

Message Problem

Recommended Posts

Spippo    158
I'm creating a game in C++ and I use SDL as graphic library. I'm my game if have an option to click on a button which name is "About". When I click on it, it opens a message, but the message doesn't stay on top of the screen, it goes behind the screen of the game (even when the game is paused). I use this for the message popup:
  #include <stdio.h>
  #include <SDL/SDL.h>
  #include <windows.h>

  MessageBox(NULL, text","About",MB_OK);
What can i do to let it stay at the top?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this