If I launch my DirectX program, full-screen initializes. If I alt tab out of it, it alt-tabs as normal. However, if I then maximize it so it has the focus of my computer again and then alt-tab for the second time, the window doesn't minimize. The taskbar shows up but the program doesn't minimize. It's like, the first time I alt tab it works perfectly normal but then second time I do it, it doesn't work. Anyone know why? I would really like to fix this. Thankssss..
Fromethius 0 Newbie Poster
Recommended Answers
Jump to PostI am not sure if you are using TestCooperativeLevel() correctly ....
If the device is lost and cannot be restored at the current time, TestCooperativeLevel throws a DeviceLostException. This is the …
Jump to PostP.S Once you have a nice little windows and directx init/looping code wrap it all up into a nice set of classes/functions that you can reuse. It's really worth the time and effort ;)
All 5 Replies
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Fromethius 0 Newbie Poster
Fromethius 0 Newbie Poster
FireNet 64 Posting Whiz in Training
FireNet 64 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.