Article View: news.software.readers
Article #80687[XNews] Folders menu proposal (Luu?)
From: Roman Kovbasiouk
Date: Fri, 22 Jun 2001 14:27
Date: Fri, 22 Jun 2001 14:27
47 lines
2536 bytes
2536 bytes
Hi, all! I wonder if Luu can do something with this... ******** Problems with current implementation of folders menu: 1. It can display no more than 30 folders in single column, therefore all other columns can be chosen from additional form. This isn't good, since: 1.1. Some folders are slower to access then others. 1.2. Additional form increases executable size. 2. When there's 25-30 folders configured, folders menu may stick out of XNews main window if it's small (like 800*600), which isn't neat to look at or use. 3. On high resolutions menu with 30 isn't big enough to fill all window height, thus problem 1 seems even more annoying. Proposed solution: 1. Making number of folders in menu dependent on XNews main window client area's height. 2. In case when there's not enough room in Folders menu, adding 'more...' item at the bottom, like it's being done in XNews now. 3. Choosing that 'more...' item brings up submenu with rest of the folders as long as they fit into client area. 4. Repeating 2-3 for all folders in "folders.ini". I developed small demo program which reads actual XNews folders.ini with 46 folders and fills up menu with them accordingly to above proposals. Source code (written in Delphi 5, though nothing unusual used, so it should work in earlier versions, too) can be found at <http://www.elsyst.km.ua/~roman/xnews/FoldersMenu.zip> (12kB). May be used freely by anyone. -- Remove something (guess what) from address to reply by mail. Or reply here.
Technical Details
Message-ID:
<Xns90C8B1E6C203Cromanatelsyst@130.133.1.4>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!elsyst.km.UA!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <Xns90C8B1E6C203Cromanatelsyst@130.133.1.4>
Subject: [XNews] Folders menu proposal (Luu?)
Date: Fri, 22 Jun 2001 14:27:04 +0000
From: roman.remove.this@elsyst.com (Roman Kovbasiouk)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!elsyst.km.UA!not-for-mail
Newsgroups: news.software.readers
Lines: 46
NNTP-Posting-Host: elsyst.km.ua (193.220.72.2)
X-Trace: fu-berlin.de 993220024 11735838 193.220.72.2 (16 [70797])
User-Agent: Xnews/4.05.11
X-Face: &$qM~Q%`2%*K3l^ncCXiK>aq|`mC0B|RD;xkG@3\|o4@PJ3Q{g+AbRnwE-.Y<=z8~~dKy9y).=dP~~MSb{s<Im6MC\p(4D5+&/VcKui:p`M,O3!Cl{[A8lmW"aJpEMT2stnBn>JDTzI06!%bABC>QCHhI:Pz|)U^jMnwa0Z1AK^>o5yR(`E_;\?\^@'q3hF?bP!n(b.ZTyPg.nXkYN,