   how to call your display() from a menu switch case?
  hey guysim designing a 2 level arrow-hits-and-bursts-balloon game using OpenGL Visual c++. I've a bit of a problem. i've tried to create a menu drop down on the right click of mouse, once i've completed the Level-1, but in the 'Play-Level-1 again' option im unable to call back my display function to reset the game from the beginning! glutPostRedisplay() does not work either..any suggestions??code snippets appreciated :D   
  Post some (relevant) code, otherwise it's hard to guess at the problem. In general you want to set some game state to restart the level and then return from the menu event handler. You don't want to call the display code itself from the handler. It's been a while since I used glut, but post redisplay sounds like the right way to queue up a redraw event. How is it not working? Do you return from the menu handler, but then the draw is never processed? Are other events going through?Another option is to just redraw the window at a fixed interval. Glut has a timer callback for doing this. I think they call it an "idle" event if I remember right, check your glut docs. If you are always redrawing the display anyway, then you can just reset the state and wait till the next cycle for it to get picked up.If all else fails, glut is open source, fire it up in your favorite debugger and see what is going on.Good luck.   