Deactivating and activating dialog window based on CDialogEx class set focus to first dialog item instead of last focused item before dialog lost focus. This will happen only in CDialogEx. Dialogs based on CDialog works fine.
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results