i forgot to mention that i remoed the OK\Cancel button.
i managed to catch WM_KEYDOWND in a child button.
thank you all.