Archived

This topic is now archived and is closed to further replies.

twkr

Menu problem in a fullscreen DirectDraw program.

Recommended Posts

I have a program that has a regular menu like with the File/Edit stuff. The menu goes away when you start playing (SetMenu(hWnd, 0)) and it comes back when you pause (SetMenu(hWnd, hMenu)). The problem is that sometimes the menu doesn''t come back when you pause. It always comes back in windowed mode though. Do I have to release the surface or something? The latest release of the program (it''s a gameboy emulator): http://www16.brinkster.com/twkr/software/XGB.zip

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
you maybe need call

m_pDD->FlipToGdiSurface();
::DrawMenuBar(m_hWnd);


Made In Taiwan

Share this post


Link to post
Share on other sites