>>
>>However, take note that doing that is changing Windows behavior, and can confuse some users. Just think about if you really need the focus there.
>>
>
>You do if the focus is on a grid, and you plan on changing the selected file.
Oh, yes. I was talking about the natural interactive flow. I have a printing function, for example, that sets focus to an invisible button in my form baseclass to avoid problem with the selected area printing a report, and after the printing finished restores the focus to the original control (a grid, for example).
But the user doesn't notice this, anyway.
Regards,