Hi, I am stuck in a problem where I have to set keyboard focus on a rectangle ( means I should get WM_KEYDOWN and WM_KEYUP when I press the key). You can think of it as the keyboard handling we get in a calendar (like in MS Outlook). I have a modal dialog and several rectangles (which are not any controls) and I want to fill each of them with a color when the keyboard focus goes from one to another.
Any suggestions would be appreciated.