I had problem related to speed (alt) keys in PropertySheet. I have overridden the OnWizardFinish() method of a CPropertySheet derived class. I have edit box on PropertySheet. If i enter something invalid or keep the edit box empty, and click Finish button, an error message will be displayed. When i click OK button of error messagebox, the focus is not set on the edit box (Even though i have used SetFocus after MessageBox)and moreover alt keys will not work.