I know this is slightly irrelevant, but it’s the best place I could think of to ask.
How do I disable the stupid windows key in C++? I wish to make an application that can prevent the start menu from popping up because this key is pressed.
Thanks for the advice. I had sort of tried something like that before, but with no success… My program could pop up a message box saying that the start key had been pressed, but then the message somehow “fell through” and the Start menu popped up anyway. Maybe I’m not doing something correctly though (e.g. not returning the right value). I’m going to try it again and see how it works. I also may have not captured the WM_SYSKEYUP message, because I’ve noticed that the start menu doesn’t come up until you actually release the key.
Odd. My program can capture the WM_SYSKEYDOWN part of the windows key being pressed, but not the WM_SYSKEYUP. It doesn’t seem to get the message at all. Anyone know what’s up with that?