Hi Steve,
>You probably will have to set the focus back to the control that had focus previously. You can add a property to the form (call it oCurrentControl, for example). Or, better yet, add it to your form class. In your custom control classes, in the gotfocus() method, you could put something like:
thanks for your reply. I hoped to get around that, but this seems to be the only solution until now. I thought, maybe someone comes up with an API call that can check for a pressed mouse button or something else.
Thanks again,
Armin