Mike, I have a similar problem when I create a top level form (ShowWindow = 1) as the first visible object in an app. IOW when I run .exe and the main form comes up and it is a top level form, it needs to be clicked. My workaround has been to put the following code in the activate method: