🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #240498

Re: XNews under win 7 again

#240498
From: Nil
Date: Fri, 23 Apr 2010 19:51
74 lines
3474 bytes
On 23 Apr 2010, "Mark P. Nelson" <markpnelson@sbcglobal.net> wrote
in news.software.readers: 

> Every time I start XNews (2009-05-01) it comes up with its top
> half-inch of menu bars and such underneath, or hidden behind, the
> task bar, flush with the top of the screen rather than the bottom
> of the task bar. It doesn't matter if I run as administrator or
> not, or if I have XNews in the programs (x86) directory or the
> users\moi directory. 
> 
> I move the window, I read some news, I close the program, and when
> I open it again, it's back behind the task bar.
> 
> This behaviour did not occur under windows XP--it would reappear
> where it had been when I last closed it. It does under Windows 7
> Professional 64- bit.

The behavior DOES occur for me under Windows XP - the Xnews title bar 
would often appear behind the task bar. My only solution was to use a 
resource editor to hack the Xnews executable so that it always opens a 
certain distance from the top.

I got the instructions here. I even saved them... here they are:

========

(How to hack Xnews so that it open in the same position each time, 
rather than creeping off the screen.)

Newsgroups: news.software.readers
From: "Dominik R." <loo...@the.header>
Date: Mon, 13 Mar 2006 17:01:16 GMT
Local: Mon, Mar 13 2006 1:01 pm
Subject: Re: [XNews] Wandering Windows position when taskbar is on top

Dreaming hopflop woke me up by screaming
news:Xns97858CD76CBBDhopflophere@213.243.153.2:

>> The only way I found to fix this myself was to hack Xnews with the
>> Resource Hacker and set "Position = poDesktopCenter" for both the 
>> main Window and Editor.

> Cool, thanks for the tip!

As you seem to find it usefull, I'll elaborate :)

Open Xnews.exe with Resource Hacker 
http://www.angusj.com/resourcehacker

There go into RCData.

The editor window needs to be "fixed" in TEDITWINDOW. Change
Position = poDefault to Position = poDesktopCenter and hit compile
script.

For the main Xnews window go to TXNEWSFRAME and ADD a line with
Position = poDesktopCenter (I added it under OldCreateOrder = True but 
I
think it is mostly not important as long as it is near the top).

Hit compile script again.

Save it and you are done.

I only tinkered today with it after I downloaded the latest Test built
and added the main icon I did for myself.

-- 
Dom
http://Beam.To/Dominik/
Yapp's Basic Fact:
If a thing cannot be fitted
into something smaller than itself,
some dope will do it. 
Technical Details
Message-ID: <Xns9D63A144477F9nilch1@130.133.4.11>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <Xns9D63636D25BAFmpndisorg@188.40.43.245>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9D63A144477F9nilch1@130.133.4.11>
Subject: Re: XNews under win 7 again
Date: Fri, 23 Apr 2010 15:51:11 -0400
From: Nil <rednoise@REMOVETHIScomcast.net>
References: <Xns9D63636D25BAFmpndisorg@188.40.43.245>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: ?!
Lines: 74
X-Trace: individual.net AHlZWPCiVcsZtOBM47fgpg8+PBpywIlS4ThTJGfyJFGsKqPNqd
Cancel-Lock: sha1:/pGKpvF1IxYQm4gXiLXoBruJiog=
User-Agent: Xnews/2006.08.24
X-Face: esm\a~e7BW-JD"t0\Ww_~\t!z_p0}xokJ"]a4/!ZtMGxQ>t_J`\IuTO++qOqVx0&Y.=z(B!:d?HNxL}yTuIS^5T8W\iGv_s'oSFfLp%X|naUNr