i'm writing a window manager for Windows 7, at this time i can mirror any window using some interop code, but what about the window's context menus? Like notepad, when using the window in 3D space, the context menu is shown where the window is (the WM used shows on top of all the windows, mirror all the desktop windows as opengl rectangles, takes a screenshot for each window and uses SendMessage to handle the mouse clicks to the selected window). Bug example.
The code used to mirror any window is taken from this page, and the clicks are sent using code from this article.
So, there is any method to mirror the context menu, and manage it? Isn't necessary to do it in 3D, i need to manage it in 2D.
Asked
Active
Viewed 55 times
0

Michael Jauregui
- 13
- 1
- 4
-
Please consider posting [MCVE]. – Reza Aghaei Dec 29 '18 at 18:20
-
Thanks! I'll add the code which can be used to mirror any window – Michael Jauregui Dec 30 '18 at 05:06