Skip to main content
gamedev.net
🔒 Locked

Dialog Boxes

Started by eyesonly_d Jan 12, 2002 at 7:23 PM 1 replies 200+ views
Original Post
eyesonly_d
eyesonly_d
Using DirectDraw7, I am having some problems with dialog boxes not showing up. In Window Mode, the dialog box works perfectly, however in fullscreen exclusive mode, the dialog box gets covered up every time I draw something on the screen. How do I keep the dialog box on top of the screen even when I draw stuff? I am using a Modal Dialog box, I could change it to modeless, but I would rather not. The box serves to get the players name for a hiscore. Thanks ... Eyez
BitBlt
BitBlt
Make sure the dialog box keeps the focus. And also create it using the IDirectDraw7 object.



Make games, it''s fun
Spartacus
Spartacus
There''s a function which is called something like FlipToGDISurface() or something like that. Try to call that before displaying the dialog box.

René
Real programmers don't document, if it was hard to write it should be hard to understand

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.