Article View: borland.public.cppbuilder.nativeapi
Article #755Re: How to ... ?
From: Jos�
Date: Fri, 25 Jan 2008 09:20
Date: Fri, 25 Jan 2008 09:20
21 lines
1727 bytes
1727 bytes
On Thu, 24 Jan 2008 13:41:36 -0800, "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote in borland.public.cppbuilder.nativeapi: >> A program displays some status information. I want it >> to be "Always On Top" without taking focus for input. >> Can it be done? > >Sure. "Stay on Top" and "input focus" are two separate things. Just >because a window is on top does not mean that the user can't still click on >other windows. But how? I can find no functions which force a window on top. And I think it is easy to take focus, but not to deny focus. > >> Can a program force the computer to shut down? > >Look at the EWX_POWEROFF and EWX_SHUTDOWN flags of ExitWindowsEx() Yes, that was really helpful. Thanks -- Jos�
Technical Details
Message-ID:
<pbajp3d5r5g754trs4jdqh8e28srn3cq1u@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<871ip39v9f1nqt1f3i2pk22bpfifsl6p3t@4ax.com> <479905e2$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,92f426904d27d7ce X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII From: Jos� <jose@127.0.0.1> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: How to ... ? Date: Fri, 25 Jan 2008 10:20:09 +0100 Message-ID: <pbajp3d5r5g754trs4jdqh8e28srn3cq1u@4ax.com> References: <871ip39v9f1nqt1f3i2pk22bpfifsl6p3t@4ax.com> <479905e2$1@newsgroups.borland.com> X-Newsreader: Forte Agent 4.2/32.1117 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 82.75.73.146 X-Trace: newsgroups.borland.com 1201252819 82.75.73.146 (25 Jan 2008 01:20:19 -0700) Lines: 21 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail