>Thanks, but sorry to answer that even if I SetFocus to a control in my form... No way... The only possible solution for the moment is to click inside the window and then it traps my Keypress event (ESC key) !! Strange !!
>
>Gilles
Gilles,
How and where are you setting focus (from a menu, toolbar, command button and what method or event is the code in)? How are you confirming that focus got set where you think it did?