fullscreen dialog

Started by
3 comments, last by djsteffey 23 years, 9 months ago
Can someone point me to a tutorial about using dialog boxes in a full screen directX (direct draw) applicaiton. I want to use the resource editor in msvc6.0 to create a dialog and have it displayed in a full screen app i am using DirectX6.1 msvc6.0 c/c++ "Now go away or I shall taunt you a second time" - Monty Python and the Holy Grail themGames Productions
Advertisement
Look in the compiler manual. If it''s VC++ look in the help files. Or the MSDN. You need to look up resources and dialogs. In a DirectDraw fullscreen it isn''t much different from non fullscreen, but in fullscreen the dialogs must be children of the main window or else they won''t show through.

------------------------------
#pragma twice
One of the samples in the SDK does this. It''s pretty easy.
Hi...

I can write a small article here

so you want to use dialog boxes with DDraw..
you create FullScreen app, chain of flipping surface and so on..

you can show dialog boxes by two ways:

one you need to check if videocard support DDSCAPS2_CANRENDERWINDOWED flag or something like this (i don''t realy remember). If so, when you can use DDraw FlipToGDISirface () metod and after what show you dialog box (but you need to set parent hwnd for this dialog as you window hwnd - not a null)..

i check some video card for this caps and they all support it.. so your video card must support it to.. if it is not so, let''s me know and I write second way for it..

Denis "Mr.Snow" Kozhukhov
CEO & Lead programmer
Choco Snow Creation
=============================Denis "Mr.Snow" KozhukhovCEO & Lead programmerChoco Snow CreationdkcscPortal=============================
You can use the MoveWindow function to resize your window how
large you want to. Just make sure to put the function inside your dialog procedure code.

Good luck.



Edited by - goofprog on August 8, 2000 10:02:33 PM

Edited by - GoofProg on August 8, 2000 10:03:29 PM

The nightmare travels across the cosmos with his burning mane. The trail of ash that is produced.

?Have a nice day!?

This topic is closed to new replies.

Advertisement