🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to bring a non VCL Window to the front

#6167
From: David
Date: Tue, 07 Jun 2005 14:09
12 lines
1109 bytes
I am trying to bring a non VCL app window to the front of all other windows
using the following code, however it doesn't seem to work. Any ideas on how
this might be achieved ??


HWND handle=FindWindow(NULL,"App Name");

ShowWindow(handle,SW_SHOW);


Thanks in advance
David
Technical Details
Message-ID: <42a5aa95@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,78e53b02905d25e1,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "David" <davids@unite.com.au>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: How to bring a non VCL Window to the front
Date: Wed, 8 Jun 2005 00:09:43 +1000
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 211.26.206.233
Message-ID: <42a5aa95@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1118153365 211.26.206.233 (7 Jun 2005 07:09:25 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail