Topic: How to draw over other window?
Hello. Continuing a subject deep interactions, I want to draw over one my window (belonging to other process) the additional drawing. How it to organize? I see three ways: 1. To try to draw by turns somehow to both processes in the general window. To create any primitive of synchronization, and to wait, while draws one, then draws another. But, generally, there can be a problem with setting of two devices on one window? And the double-buffering will behave in a queer way, on idea, and the upper image will flicker, permanently frayed by the lower. 2. To create a window over a window and the second application will draw purely in it. It is tempting but how to make the "transparent" window? That the upper window did not fray completely the lower? 3. The second application draws in a separate texture which transfers to the first, and the first is simple it in the end of the cycle . Very big overhead projector and is literally everywhere. It is for certain possible, there are examples, for example, translucent windows in win7 or when any programs and the driver display the over other windows.