[C] How to get rid of context menu(right click menu) in console application? RRS feed

  • Question

  • 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.

    Tuesday, May 7, 2019 10:58 AM

All replies

  • It will probably be easier to just make a GUI window that acts and looks like a console. There are sample programs that do that.

    Sam Hobbs

    Tuesday, May 7, 2019 7:24 PM