windowed

DirectX 10 video mode switching and performance

In a DirectX 10 application, does switching between fullscreen and windowed mode incur any sort of overhead like having to recreate textures and/or vertexbuffers? In other words, can I build an application that is designed to do "a lot" of switching between windowed mode and fullscreen mode without having to suffer a performance hit whe...

Writing a Firefox XPCOM plug-in with a native window interface? (like ActiveX control)

I have an ActiveX control that works fine in Internet Explorer and the ActiveX Control Test Container program. The actual behavior of the control is split in two parts, where one part is the ATL gunk that interfaces with the OLE host, and the other part is the real meat, which just receives callbacks for window attach, sizing, drawing an...

Multithreaded Engine Windowed random slowdown

We have a task based multithreaded engine set up where a scheduler passes the task to the threads lock-free queue. The engine is in C++ with DirectX for the rendering and we are using boost::thread for creating the threads. When in windowed mode, it randomly slows down for a second or so and then speeds back up. It seems that it's someth...

Why is the word "modal" used to describe forms?

We all know what "modal" forms are in windowed programming environments: forms that must be closed before the rest of the application GUI can be accessed again. Why is the word "modal" used to describe this concept? ...

How do you prevent problems with a button being pressed more than once?

In a windowed programming environment, a user may click a button more than once if they do not immediately see something happen. How do you stop the code behind the button being executed more than once in this situation? ...