A
Agrael1
Guest
Hello, I'm making console game engine. To make my life easier I've created a child window and attached it to console, so I can process WM_ messages and output to console like a graphical window.
As soon as I made RAWMOUSE input complete I stumbled upon a problem with right mouse button click: Even though legacy messages were disabled I couldn't get rid of context menu.
RAWMOUSE is required to make camera rotation like in shooters, and reading mouse movement through WM_MOUSEMOVED has a limitation - it stops when border is reached.
So how do I stop this problem? Or if there is a global input blockage for console it will also do.
Continue reading...
As soon as I made RAWMOUSE input complete I stumbled upon a problem with right mouse button click: Even though legacy messages were disabled I couldn't get rid of context menu.
RAWMOUSE is required to make camera rotation like in shooters, and reading mouse movement through WM_MOUSEMOVED has a limitation - it stops when border is reached.
So how do I stop this problem? Or if there is a global input blockage for console it will also do.
Continue reading...