In a modal dialog created with DialogBoxParam i use SetFocus to set the input focus to a editbox. the setfocus is contained in a message-handler for WM_COMMAND in my DialogProc.
when the dialog is displayed, the focus is set correctly, but i can not type something into the dialog box as long as i don't click it with the mouse once...

all help will be appreciated!