Results 1 to 3 of 3

Thread: Direct Draw question, help please

  1. #1
    Guest
    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???

  2. #2
    Addicted Member Cbomb's Avatar
    Join Date
    Jul 1999
    Posts
    153
    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

    I hope this of use to you, Good Luck!
    Cbomb
    Techie

  3. #3
    Guest
    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...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width