🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10971

Re: ShowWindow API function doesn't work

#10971
From: Remy Lebeau (TeamB)
Date: Mon, 08 Mar 2004 20:50
14 lines
1460 bytes
"davichu" <dmarquezl arroba hotmail punto com> wrote in message
news:404cd7ce@newsgroups.borland.com...

> I need to bring to front a specific window using
> the ShowWindow API function, but doesn't work.

ShowWindow() merely ensures that the window is visible onscreen, but it does
not always guarantee that the window is brought to the front.  You should
use SetForegroundWindow() for that instead.  However, there are restrictions
on how SetForegroundWindow() can be used.  Refer to MSDN for more details.


Gambit
Technical Details
Message-ID: <404cdaa0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <404cd7ce@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,ca16847a53213adb
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-08 13:10:28 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <404cd7ce@newsgroups.borland.com>
Subject: Re: ShowWindow API function doesn't work
Date: Mon, 8 Mar 2004 12:50:56 -0800
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.138.253
Message-ID: <404cdaa0$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1078778528 67.22.138.253 (8 Mar 2004 12:42:08 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail