🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #146714

--

#146714
From: Jeff-Relf.Me
Date: Thu, 27 Dec 2012 11:30
33 lines
2932 bytes
<style>  :not(:link):not(:visited){color:rgb(255,111,111)} :link{color:rgb(155,155,155)}  :visited{color:rgb(155,155,0)}  </style> <body bgcolor=black style='margin: 0'><pre style='color: rgb(255,111,111); padding:0 1em 1em 1em; font-size: 15px;  font-family: DejaVu Sans Mono, Lucida Console, monospace, MS Mincho; background: black;'> 
I close apps I'm not using, to free my mind;
don't even want them "pinnned" to the taskbar, as icons.
I never see Metro and my desktop has no start button, thank God.

My app launcher/toolbar now â‹…TOTALLYâ‹… stops newly launched apps
from stealing the "foreground" ( i.e. the keyboard/mouse focus )
and blinding me with that nasty "Black to White", bright flash.

For a taste (yuck!), see below. "⏉Win" is the Top⋅Most window.

  #define ⏉modeOn  ( prev@⏉ = ⏉mode = 1, ⏉most( HWND_TOPMOST ) )

  #define Norm  ( ⏉mode = 0, ⏉most( HWND_NOTOPMOST ) )  // No Top Most.

  #define ⏉most( TM )  (  \
    SetWindowPos( Win, TM, 0,0,0,0, SWP_NOMOVE | SWP_NOSIZE ),  \
    LockSetForegroundWindow( TM == HWND_TOPMOST ? LSFW_LOCK : LSFW_UNLOCK ) )

  #define ⏉  SetForegroundWindow(Win)

  #define @⏉  ( _@⏉ = ( ⏉Win = GetForegroundWindow() ) && Win == ⏉Win )

My launcher must rapidly request the Foreground, 30 times a second;
otherwise, Windows takes it from me without notice, the fucker.
 
  Windows tells me that I've lost the keyboard/mouse AFTER the fact,
  not before, so I must bombard it with SetForegroundWindow() ASAP.
  This seems wrong, of course, but I see no alternative.

Moving the cursor to Win8's taskbar stops this "Topâ‹…Most, Bombarding",
giving me easy access to my newly launched app, sans Whiteâ‹…Flash.
â– 
Technical Details
Message-ID: <Jeff-Relf.Me@Dec.27{3.30.AM.Seattle.2012}>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news-spur1.glorb.com!newsread.glorb.com!.POSTED!not-for-mail
References: <Jeff-Relf.Me@Dec.23{3.19.PM.Seattle.2012}>

Show Full Headers
Complete Article Headers
Message-ID: <Jeff-Relf.Me@Dec.27{3.30.AM.Seattle.2012}>
Subject: --
Date: Thu, 27 Dec 2012 11:30:04 +0000
From: Jeff-Relf.Me <@.>
References: <Jeff-Relf.Me@Dec.23{3.19.PM.Seattle.2012}>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news-spur1.glorb.com!newsread.glorb.com!.POSTED!not-for-mail
Newsgroups: comp.os.linux.advocacy, alt.free.newsservers, sci.physics, alt.astronomy
 alt.astronomy
Organization: Glorb Internet Services, http://www.glorb.com
Lines: 33
NNTP-Posting-Host: XJGH+5GM8EvggnDfgIBqtQ.236.posting.glorb.com
Content-Type: Text/HTML; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@glorb.com
NNTP-Posting-Date: Thu, 27 Dec 2012 11:30:03 +0000 (UTC)
User-Agent: Jeff-Relf.Me/X.HTM
X-Notice: Scanned by Mr. Bill