[RAPPS] CMainWindow: use more atl