I added IsDialogMessage() to my main loop, the tab key did work but it stuck at the top of the tab control and didn\'t go down to the controls inside the dialog
IsDialogMessage()