This thing keeps me in "what the..." category: whenever I push an arrow key in an edit control that I have created using API, the focus moves to any other control that is available. However, none of the tutorials, guides etc. have a mention about this feature. What causes this and how can I get the "normal" behavior for the arrow keys? Page up, down, home and end are working, but arrow keys not.

Also, I haven't seen a style flag that would affect this behavior.