Re: Setup-Deployment and Initial Window Focus
- From: Peter Duniho <NpOeStPeAdM@xxxxxxxxxxxxxxxx>
- Date: Fri, 14 Sep 2007 10:37:28 -0700
Andy wrote:
I have found a work-around: In the <Form>_Shown method I added the
line:
this.Activate();
which resolved the issue.
I'm glad you found a work-around. However, it would be interesting to understand what you did in your application that requires it.
Since the minimal application works fine, obviously there's some important difference between that minimal application and the one you're having trouble with. Knowing what that difference is could be very useful, and could in fact lead to a more elegant solution than calling Activate(). :)
If you do figure out what the actual issue is, please post back here to share with the rest of us, in case someone else has a similar problem.
Thanks,
Pete
.
- References:
- Setup-Deployment and Initial Window Focus
- From: Andy
- Re: Setup-Deployment and Initial Window Focus
- From: Peter Duniho
- Re: Setup-Deployment and Initial Window Focus
- From: Andy
- Re: Setup-Deployment and Initial Window Focus
- From: Andy
- Re: Setup-Deployment and Initial Window Focus
- From: Andy
- Setup-Deployment and Initial Window Focus
- Prev by Date: Re: Function WaveInOpen doesn't return meesage MM_WIM_OPEN?
- Next by Date: Re: A question about Threads
- Previous by thread: Re: Setup-Deployment and Initial Window Focus
- Next by thread: VS 2005 Pro, Icon's?
- Index(es):
Relevant Pages
|