I have a DLL with a modeless dialog. But when pressing the TAB key focus does not rotate around the dialog's controls. I have tried trapping for keyboard events in WM_KEYDOWN and PreTranslateMessage. But there is no event. What is happening?