PDA

Click to See Complete Forum and Search --> : Direct Draw question, help please


Apr 4th, 2000, 04:20 AM
Hello,
ok I need some help...
I've got 2 forms in a project, the main form initializes directx and directdraw... the cooperative level is set to form1 (the main form) and say I want to show form2 while form1 is in the background and is fullscreen, I just want to show form2, so I do form2.show and what it does is shows form2 like I ask it to, but I don't see it, unless I close the window with the cooperativelevel set to it then form2 is showing, so what i did I put cooperativelevel to form1 and then when someone clicks command1 it gives cooperativelevel to form2 and shows it, but in that process form1 isn't FULLSCREEN anymore, what do I do now? I want form1 to act as the main form and be fullscreen and then show other forms while form1 is fullscreen, do I set a clipper or what? if I set a clipper, how do I do it???

Cbomb
Apr 4th, 2000, 06:27 AM
I found some info on how to use DirectDraw clippers for ya (using DirectX 7 I belive). The article came from Voodoo VB:

Direct Draw Clipper (http://www.redrival.com/voodoovb/clipper.html)

I hope this of use to you, Good Luck!

Apr 4th, 2000, 06:42 AM
thanks, I did learn about clippers and now I know that clippers is not what I want... but I found an alternate way of doing what I want to do, but I really hate to do that, but I'll do it untill someone answers my question or I find out how to do it... but if you're interested, here's what I did, I made it so form2 stays ON TOP of everything, and what I did was just make form1 full screen, and everything and then called form2.show, and it worked fine, but it still isn't what I wanted, but oh well, if still there is someone who can help me out here I'll appericiate it, and thanks for the reply...