🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

KILL STAY ON TOP

#9108
From: Francesco
Date: Mon, 02 Aug 2004 15:24
17 lines
1189 bytes
Hello,

on a PC is running my app and another application, this second
application every 2 seconds check if it is on top position, if not it
brings on top and so my apps is always back.

How can I solve the problem? I'd like to disable that behaviour from
that app and in my app put a button that if pressed bring to front the
other app.

I tried with this but doesn't work:

HWND hWnd  = FindWindow(NULL,"appname");
SendMessage(hWnd,WM_ACTIVATEAPP, true, false);


thanks
Technical Details
Message-ID: <410e5cb5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8a69d58a24c57291,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Francesco" <.>
Subject: KILL STAY ON TOP
Newsgroups: borland.public.cppbuilder.nativeapi
User-Agent: XanaNews/1.16.3.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 212.171.211.48
Message-ID: <410e5cb5$1@newsgroups.borland.com>
Date: 2 Aug 2004 08:24:37 -0700
X-Trace: newsgroups.borland.com 1091460277 212.171.211.48 (2 Aug 2004 08:24:37 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail