I made a toolbox window that just shows a grid of normal buttons. I'd initially made it a non-overlapped (= without title bar and resizing) sibling window with code in the WM_SIZE and WM_MOVE messages to force it into the top left corner of the main window but it caused issues with minimization so I've made it a non-overlapped child window.
Now the problem I'm having is that whenever I press the control key it's permanently stealing keyboard focus from the main window and unselected the selected tool button. Do you know of any way to avoid a child window from getting keyboard messages?
Also do you know of any way of detecting Ctlr+<alphabet> keypresses other than matching with any of the first 32 characters? (Ex: I look for with character 26 for detecting Ctrl+Z)