Can I draw something on window, that does not belongs to me, using opengl?
问题 I heard you can hook window handle and use this window as OpenGL canvas. I know how to hook windows, but I can't find how can I draw on this window. PS. I'm using Qt if it helps. 回答1: OpenGL contexts are only usable in one thread at a time and are bound to processes. So what that required was creating a OpenGL context of a foreign process' resource. On Windows using some very quircky hacks this was possible in at least WinXP (I don't know about Vista or 7); this usually includes making large