🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #175145

Re: Xnews Annoyance

#175145
From: Luu Tran
Date: Tue, 18 Oct 2005 19:45
33 lines
2810 bytes
Tom McCune <news1@DELETE_THISmccune.cc> wrote in
news:LHi4f.48645$Xl2.24033@twister.nyroc.rr.com... 

> I just got a new computer with a 19 inch flat panel monitor, so have
> finally gone to running Xnews in a normal window, instead of
> maximized as I had always done.  I always use just a single pane
> display of Xnews.  Because of this change, I now notice that when
> opening a newsgroup, and when having multiple news group servers
> active and clicking on the button at the bottom of the window to
> switch servers, all the icons on the desktop flash/flicker.  This is
> annoyiny and I don't see this happen with any other software.  What
> would cause and/or resolve this? 
> 
> I just went over to my laptop that was my primary computer for the
> last couple years, and when running Xnews in a normal window, see
> that the same thing is happening there.
> 

It's a flaw in Xnews.  (Actually, a flaw in Delphi's MDI implementation, 
if I may shamelessly pass the buck.)  I'm locking screen update and re-
enabling screen update (see LockWindowUpdate() Win32 API) when you 
open/close/switch MDI window to avoid an annoying flashing inside Xnews.  

Unfortunately, it's not possible to lock/unlock screen update for a 
single window; it affects the entire desktop.  So as you've noticed, this 
works well enough if Xnews is maximized but becomes a problem when it 
only takes up part of the screen because the entire desktop is redrawn, 
causing a flash.  So you end up causing the problem you tried to prevent 
in the first place.  Maybe I'll make it a configurable item.

-- 
  luu
author of Xnews - http://Xnews.newsguy.com
Technical Details
Message-ID: <Xns96F381E0D5C81luutrangeocities@130.81.64.196>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!gnilink.net!trndny06.POSTED!e46a6ac5!not-for-mail
References: <LHi4f.48645$Xl2.24033@twister.nyroc.rr.com>

Show Full Headers
Complete Article Headers
Message-ID: <Xns96F381E0D5C81luutrangeocities@130.81.64.196>
Subject: Re: Xnews Annoyance
Date: Tue, 18 Oct 2005 19:45:38 GMT
From: Luu Tran <xnews@newsguy_.com.invalid>
References: <LHi4f.48645$Xl2.24033@twister.nyroc.rr.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!gnilink.net!trndny06.POSTED!e46a6ac5!not-for-mail
Newsgroups: news.software.readers
Organization: Daedalus
User-Agent: Xnews/2005.10.18
X-Face: "-(*; qm<4C[xH8Ni'T7VAM0:6u&odQ+qKp<; c|OU;
 IP&`f^r>Ak^`!CX1S}ca@D!(f$jO4Xiz$p^AS[Aq9{%Zo9qU^WW2de_x*5j&Rc|=aD6O[>L|^VN3!A]+'+GqGqPHR
Reply-To: xnews@newsguy.com
Lines: 33
NNTP-Posting-Host: 71.106.242.160
X-Complaints-To: abuse@verizon.net
X-Trace: trndny06 1129664738 71.106.242.160 (Tue, 18 Oct 2005 15:45:38 EDT)
NNTP-Posting-Date: Tue, 18 Oct 2005 15:45:38 EDT