PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Form opened the second time opens in the background

Reply

Form opened the second time opens in the background

 
Thread Tools Rate Thread
Old 30-07-2004, 09:40 AM   #1
Jack Wright
Guest
 
Posts: n/a
Default Form opened the second time opens in the background


Dear All,
If I create a form and then close it...next time it is launched
again is shown in the background...I tried using API call
SetForeGroundWindow but it did not work...is it a feature or bug of
Windows2000 or XP...can someone plz confirm this...

Please help...

TALIA

Many Regards
Jack
  Reply With Quote
Old 30-07-2004, 01:25 PM   #2
=?Utf-8?B?TGVicnVuIFRob21hcw==?=
Guest
 
Posts: n/a
Default RE: Form opened the second time opens in the background

Have you try to set the TopMost property of the form to True ?

--
LEBRUN Thomas
http://morpheus.developpez.com


"Jack Wright" wrote:

> Dear All,
> If I create a form and then close it...next time it is launched
> again is shown in the background...I tried using API call
> SetForeGroundWindow but it did not work...is it a feature or bug of
> Windows2000 or XP...can someone plz confirm this...
>
> Please help...
>
> TALIA
>
> Many Regards
> Jack
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off