Results 1 to 5 of 5

Thread: Checking for control of screen with DirectX

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    292
    Hey,
    My game runs full screen using Direct Draw. I'm running into the problem that if the user alt tabs out I'll get an automation error. I know this is because my program no longer has full access to the screen. Can someone point to an example of checking for this? I remember seeing it somewhere before but I dont remember where.
    And Fox, before you say "go to my site" I've been there and downloaded the samples, didnt find it, so if it is there could you please be a bit more specific? thanks very much

    Beta Version due tomorow
    "People who think they know everything are a great annoyance to those of us who do."

  2. #2
    Guest
    if you have the SDK, goto the directdraw folder, and check out tut3, this is where you'll find it...

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    292
    Thanks a lot Ghost. I really should have seen that. Sleep deprivation does wonderful things
    "People who think they know everything are a great annoyance to those of us who do."

  4. #4
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    Wink

    Dont go to my site!

    *hehe*

    Well, there isnt. I didnt care about error trapping on the examples. Like WhildGhost said, look at the SDK samples, the code there is a bit weird, but it works.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    292
    It is a little wierd but I was able to modify it so it works for me. Thanks again!!!
    "People who think they know everything are a great annoyance to those of us who do."

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