HDTenEightyP/NetNews huggingface dataset:
From: wargopl@sun.soe.clarkson.edu (Peter L. Wargo)
Subject: Re: Testing MS Windows Help
Organization: Clarkson University
Date: Thu, 10 Sep 1992 12:56:37 GMT

kstout@medieval.East.Sun.COM (Kate Stout - Sun PC Network Engineering) writes:

>I'd like to get a sense of how people are testing OnLine Help systems
>in Windows. Are you using tools? If so what, and how good are they?

Yecch.  We've (Enable Software) been evaluating automated testing
systems for windows. We sent one back - Sqarobot - that was not up to
our testing standards.  Now we're waiting for a tool from Microsoft, the
name of which escapes me.

>What other ideas do you have? We'd like to test 

Dunno, as this (Windows) is pretty new to us.  For the past 10 years,
we've been using our own testing system.

>As a side note, has anyone created a .dll or a macro for help that
>lets you print all the topics in one file with one command? If not,
>Microsoft... are you listening???? It would be great to go paper free.

Not a bad idea at all.  I'm gonna ask and see how hard it would be to
program.  I've already requested an addition to our product code (for
development) that would pop up the hypertext tag passed to the system
when help is requested in a given place.  As it is, keeping track of
this is going to be a nightmare.  (And I thought it was tough in the DOS
product, when we had to read code to extract the HTX calls.)

-Pete "Just trying to cope" Wargo


--
----------
Peter L. Wargo        | wargopl@sun.soe.clarkson.edu | "In other words...
Documentation         |                              |  R.T.F.M..."
Enable Software, Inc. | GEnie mail: PSYCLOPS         |
Newsgroups: comp.os.ms-windows.programmer.misc
From: jagrant@emr1.emr.ca (John Grant)
Subject: same code to draw on screen & printer?
Organization: Energy, Mines, and Resources, Ottawa
Date: Wed, 16 Sep 1992 04:30:56 GMT

Every GDI example I see shows a segment of code designed to
either print something on the printer OR draw something in the
client area, but never both.  I want to use the same code to do
both, but I am unsure of the best way to structure the code.  The
picture is not simple, but is quite complex (a map of roads, lakes,
rivers, etc) which involves reading a selection of files.  Copying 
the screen to the clipboard & printing is not a real solution - I
need full scale control and better quality.
        
I thought that the following might be a good approach:

(a) to screen (i.e. for WM_PAINT)
    hdc=BeginPaint(...);
    DrawMap(hdc,0,FALSE);
    EndPaint(...);
        
(b) to printer
    hdc=CreateDC(...);
    StartDoc(hdc,&printinfo);
    DrawMap(hdc,50000,TRUE);  //1:50,000 scale
    EndDoc(hdc);
    DeleteDC(...);

void DrawMap(HDC hdc,float mapscale,BOOL printer)
{
    if(printer) Escape(...);
    ....
    if(printer) Escape(...);
}

mapscale=0 for the screen means 'scale to fit client area', otherwise
mapscale might be 1:50000 as for a real map.

The 'if(printer) ...' segments within DrawMap are printer-specific
things like 'Escape(..)' for 'banding' etc.  However it seems to 
get really messy doing it that way, because the code to print using 
banding is driven by the returned rectangle from 'Escape', but
that wouldn't necessarily be the way to draw in the client area.

Has anyone done something like this?  Any geographers out there?
What's the best way?

Please, no ++ or OWL just yet - I'm still learning API.
From: yfwu@Uz.nthu.edu.tw (EE U780935)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: A Visual Basic question
Date: 16 Sep 92 02:03:22 GMT
Organization: National Tsing Hua University (HsinChu)

You can use Visual Basic Professional Toolkit to accomplish this!
There is a new control called MCI (Media Control Interface) that you can
play sound, image, etc. 

If you don't have VB Pro. Toolkit, you can just call Multimedia API function.
								Y.F. Wu
From: edscl%Solomon.Technet.sg (Christopher Loke)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: "Programming Windows", 2nd Edition, For Sale
Date: 9 Sep 92 02:16:21 GMT
Organization: National University of Singapore
X-Newsreader: Tin 1.1 PL5

$18.00 includes postage from your place to Singapore?  3rd edtion will be out
soon, so you need to sell fast.

Wang Bin
From: thanos@reef.cis.ufl.edu (Thanos Karras)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Fatal error in using RC
Keywords: Resource compiler
Date: 3 Sep 92 13:36:11 GMT
Organization: Univ. of Florida CIS Dept.

Your problem might be that you are running out of disk space in the
drive that your temp directory exists. Make sure you have enough space in
your hard disk.

I hope that helps.

Thanos Karras
thanos@reef.cis.ufl.edu

Newsgroups: comp.os.ms-windows.programmer.misc
From: judej@microsoft.com (Jude Jacob)
Subject: Re: Free System Resources problem
Date: 14 Sep 92 01:11:18 GMT
Organization: Microsoft Corporation
Distribution: usa

In article  slahiri@magnus.acs.ohio-state.edu (Santanu Lahiri) writes:
>[...]
>nFSRSys = GetFreeSystemResources (GFSR_SYSTEMRESOURCES);
>nFSRGdi = GetFreeSystemResources (GFSR_GDIRESOURCES);
>
>always seem to return the same value
>[...] Can anyone confirm this?  If this is as it should be, what
>exactly is GFSR_SYSTEMRESOURCES returning?

GFSR_SYSTEMRESOURCES will return the minimum of the space free in GDI and 
space free in the USER heap. So, it would apear that in your system, you have 
less available GDI heap space than USER space.

Jude



Newsgroups: comp.os.ms-windows.programmer.misc
From: jagrant@emr1.emr.ca (John Grant)
Subject: fast image drawing like UNIRAS Gimage
Organization: Energy, Mines, and Resources, Ottawa
Date: Wed, 16 Sep 1992 04:28:18 GMT

Background:
Image display (i.e. BMP) is relatively straightforward: the file
already contains colour values and there is a 1:1 correspondence
between data cells & device pixels.  

But, suppose I have a file of N rows X M columns & each 'cell'
contains a float value, i.e. temperature, elevation or any value
which is usually contoured.  Each cell represents an area on the
ground of DX m X DY m square.  The idea here is to display the
file AT ANY SCALE and to map the float values to colours 'on the fly'.

We do this now with UNIRAS raster software (GIMAGE) on VAXes with
36" Versatec/Synergy colour electrostatic plotters.  Now I want
to do the same thing in Windows (forget the plotters for now).

I never did this in a DOS environment, because I didn't have 
dithered colours and 16 colours was insufficient.

The program must be prepared to display the data cells at any scale
to allow for zooming on the image.  For example, a data cell of
250 m X 250 m may be 20 X 20 pixels, 200 X 200 pixels etc, depending 
on current scale.

Conversion of the floating point numbers to a palette index or RGB 
value is simple - it is the drawing that is slow.  I compute the 4
co-ordinates of each data cell and use Rectangle to draw it with
the indicated fill colour.  For a 500 X 500 image, this requires
250,000 calls to Rectangle!  It is slow.  As for UNIRAS, I would
hope the system to take care of cases where the scale forces
the size of the data cell to be less than 1 pixel in size.

Is there a faster or more efficient way?  I looked at all of the
of the 'blt' functions, but they don't seem to apply here.  Should
I draw it in memory and then BitBlt it onto the screen?  That sounds
pretty good.

Please no ++ or OWL just yet - I'm still learning API.
Newsgroups: comp.os.ms-windows.programmer.misc
From:  Fyodor@msoft.msk.su (Fyodor Zubanov)
Subject: Re: Writing Help using Winword 2.0
Date: Sat, 5 Sep 1992 16:50:35 GMT
Reply-To: Fyodor@msoft.msk.su
Organization: Microsoft Moscow

>I use the WinWord 2.0' RTF filter to write help. I use the sample application
>helpex coming from SDK for testing. However, after I have imported and exported
>the same RTF file in helpex using WinWord 2.0, the HC (help compiler) generate
>an error message : the RTF file is not an usable topic file. Actually, what
>RTF editor should I use to author windows'help file?

You have to take hte latest revision of HC. You can find it, for
example, in Compuserve.

Regards,
Fyodor.


-- 
=================================================================
        Fyodor Zubanov          fyodor@msoft.msk.su
        Moscow, Russia
=================================================================

Newsgroups: comp.os.ms-windows.programmer.misc
From: carr@scinet.up.ac.za (Alan Carr)
Subject: Trapping keyboard events from owl
Date: Wed, 9 Sep 1992 08:34:42 GMT
Organization: University of Pretoria
Keywords: BC++ 3.1

I have created a class based on TEdit which defines the two methods,
one to trap the Enter key, the other to allow only numerical values
through:
    .
    .
    virtual void NumOnly(RTMessage Msg) = [WM_CHAR];
    virtual void HandleEnter(RTMessage Msg) = [WM_KEYUP];
    .
    .
    void XX::NumOnly(RTMessage Msg) {
        if(isfloat(Msg.WParam))
        .
        else
            MessageBeep(0)
    }
    void XX::HandleReturn(RTMessage Msg) {
        if(Msg.WParam == VK_RETURN)
        .
        .
    }
Queries:
    1) Shouldn't WM_CHAR also trap Enter, Tab, F-keys, BS etc ?
    2) Can these keys be trapped in a way other than my WM_KEYUP
method ?
    3) Is there a simple way (ie without flags) of trapping Ctrl- and
Shift-key sequences, including Ctrl-Enter & Shift-Enter ??

thanks
alan carr   
email: carr@scinet.up.ac.za
Xref: sparky comp.os.ms-windows.programmer.misc:1768 misc.books.technical:1402
From: quanbook@world.std.com (Quantum Books)
Newsgroups: comp.os.ms-windows.programmer.misc,misc.books.technical
Subject: Petzold's Programming Windows Is Here!
Date: 10 Sep 92 17:26:57 GMT
Organization: The World Public Access UNIX, Brookline, MA

Our 300 advance copies arrived earlier than expected.

Order while they last.




-- 
Quantum Books		    | A Technical and Professional Bookstore   
----------------------------+------------------------------------------
Cambridge: 617-494-5042     | E-Mail:		 quanbook@world.std.com
Philadelphia: 215-222-0611  | Mailing List:      quanlist@world.std.com
Newsgroups: comp.os.ms-windows.programmer.misc
From: bcmatusz@vela.acs.oakland.edu (Brian Matusz)
Subject: Using a dialog as main window ...
Organization: Oakland University, Rochester MI.
Date: Mon, 7 Sep 1992 22:16:16 GMT

I'm posting this for a friend who's UseNet feed is temporarily out
of order ...

------------------------------------------------------------

I am  writing a program with Borland C++ 3.0 that uses a Borland
Dialog (call BorDlg) as it's main window.  I have included a minimize
button on the dialog (as it's a main window), and it minimizes fine.
What I want to do is draw the icon in the upper corner of the dialog
when it is minimized and remove it when un-minimized.  Is that the
proper technique, and what's the best way to do it?  I tried something
like this before and got nowhere with it.

The way I think would be best is to capture the WM_SIZE message, and when
it's becoming iconic, paint, and when not, leave it alone.  What are
the pros and cons of doing this?  Would I place a window of type
"static bitmap" on the corner and kill it when the window is
restored?  I'm not sure just painting it is the answer, as this is what
I tried before and got nowhere.

PLEASE ... reply with the address below.  Not the followup address, and
not the UseNet, because my feed is down ... this is posted from a friend's
account.

Thanks!

Brad Wilson
99999w02@cps201.cps.cmich.edu
uunet!cps201.cps.cmich.edu!99999w02
From: scottm@intime.intime.com (Scott Michel)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: Internet vs Compu$erve support for NT developers
Date: 15 Sep 92 19:13:17 GMT
Distribution: comp
Organization: -- J/24 -- Racers Home for Programmers

In article <KEVIN.92Sep14115625@runningbear.edscom.demon.co.uk> kevin@edscom.demon.co.uk (Kevin Broadey) writes:

   Newsgroups: comp.os.ms-windows.programmer.win32
Path: intime.intime.COM!netcon!ucla-cs!usc!elroy.jpl.nasa.gov!sdd.hp.com!uakari.primate.wisc.edu!caen!uunet!pipex!demon!edscom!kevin
   From: kevin@edscom.demon.co.uk (Kevin Broadey)
   X-Disclaimer: These opinions are mine: others available on request.
   Sender: kevin@edscom.demon.co.uk (Kevin Broadey)
   Reply-To: Kevin Broadey <kbroadey@edscom.demon.co.uk>
   Organization: EDS-Scicon, Milton Keynes, UK
   Distribution: comp
   Date: Mon, 14 Sep 1992 11:56:25 GMT
   Lines: 15

   There's been a lot of traffic recently with people asking why
   Compu$erve is Microsoft's primary carrier for NT developer support when
   Internet is cheaper, easier to get at, etc, etc.

   Since anyone on the Internet can mail CI$ user id xxxxx,yyy by sending
   to "xxxxx.yyy@compuserve.com", is there a Microsoft user id that us
   Internetters can send our questions to and receive a reply from?

Their domain name is "microsoft.com", so try Microsoft's postmaster. I've
sent mail there before, asking for listings from the infamous building 21.

   That would save us the hassle of subscribing the CI$, joining the forum
   and all that junk, while still allowing Microsoft to use all their
   CI$-based support systems.

CI$ won't allow you to post to fora, or to FTP, or anything other than
send a mail message. Otherwise, you'd be using something for free that
other people pay money for, and then CI$ would lose money.

   Is this a viable suggestion?

Apparently not.

-scottm
scottm@intime.intime.com
Newsgroups: comp.os.ms-windows.programmer.win32
From: leehart@microsoft.com (Lee Hart)
Subject: Re: Boca Tseng 4000 svga driver
Date: 07 Sep 92 02:37:45 GMT
Organization: Microsoft Corp.
Summary: ET4000 cards are not all alike

In article <JKF.92Sep3210730@frisky.Franz.COM>, jkf@Franz.COM (Sean Foderaro) writes:
> 
>  What is strange is that for Windows 3.1 I use the ts4000 drivers distributed
> by Tseng labs so the boca board must be pretty vanilla.   Why does NT 
> require different drivers?

Remember that the Windows 3.1 drivers can make a real mode call down into 
the video BIOS (Int 10h) to set the appropriate display mode, etc.  The
Windows NT display drivers cannot do this (one reason is that this is not
portable i.e. the BIOS code will not run on a MIPS machine.  This may
sound foolish, for a driver to be portable, but we have (and do) run 
add-in boards in some of the MIPS machines we use.)  This has lead to the
minor variations in the drivers that you see.

Lee Hart
Win32 Support
Not even close to a Microsoft spokesman.
Newsgroups: comp.os.ms-windows.programmer.win32
From: johnhall@microsoft.com (John Hall)
Subject: Re: Getting the Process/Thread CPU Time:
Date: 09 Sep 92 22:29:37 GMT
Organization: Microsoft Corporation


Dig through winperf.h, I think.  You query the registry for it.

In article perkins@sousa.ltn.dec.com (Eric Perkins) writes:
| 
| Has anyone seen any API which will give the amount of CPU
| time a thread or process has used up? The program Pview that
| comes with the SDK can do this so there must be a way with the 
| API to do this, right?
| 
| -- Eric Perkins
| -- perkins@tallis.enet.dec.com
| 
| -- These questions and views are my own and do not represent those
|    of my employer.


-- 
-------------------------
My comments are my own.  They are independent and unrelated to the
views of my company , relatives or elected representatives.

Newsgroups: comp.os.ms-windows.programmer.win32
From: assela@aix.rpi.edu (A. Andre Asselin)
Subject: fatal error 0x69 on first boot
Summary: get a fatal error 0x69 when installing
Keywords: 69 boot install 
Date: Mon, 14 Sep 1992 01:29:25 GMT

Has anyone gotten a fatal error 0x69 followed by a message to the effect of
phase 1 - error initializing I/O?  I tried setting up NT using DOS2NT
and got this result the first time I tried booting NT.  My setup and
what I did is listed below. 

Setup:
   486/50 ISA with 16Megs
   213 meg IDE drive partioned as follows
      C 32 meg FAT
      extended partition:
        D 32 meg FAT
        E 32 meg FAT         <- This is the drive I'm putting the swap file--
                                it has 25 meg free
        F 9 meg FAT
        G 100 meg HPFS       <- OS/2 2.0 is installed here, and is also where
                                I installed NT
      OS/2 2.0 Boot manager - 1 Meg
   ATI 8514/A
   Twincom 9600 baud internal modem
   SCSI controller that comes with the NEC CDR-74
   IDE controller

The process I followed was:
   Boot OS/2.  Boot Dos 3.3 into a VDM and load SCSI driver and MSCDEX for
my NEC CDR-74.  Copy and edit DOS2NT so it doesn't play with boot sectors.
Run DOS2NT to copy from CDROM to drive G.  Edit registry.ini as per
the setup notes.  Reboot under dos.  Change the active partition to C.
Reboot.  Run the part of DOS2NT that changes the boot sector.  Edit boot.ini
as per instructions.  Reboot and select Windows NT.  Bomb-- can't find
NTOSKRNL.EXE.  Played with boot.ini until I figured out that NT sees
the HPFS partition as drive H (why?).  Reboot OS/2 and edit registry.ini
to reflect that.  Reboot, and it starts loading a bunch of device driver,
clears the screen, and gives me the fatal error 0x69.  I looked at the
release notes and couldn't find anything, so I decided to try the procedure
on page 50 to change your configuration (delete and recopy the
/winnt/system/config files, etc.)  Still same problem.   Any ideas? 
          - Andre Asselin (assela@rpi.edu)
Newsgroups: comp.os.ms-windows.programmer.win32
From: tracyb@bnr.ca (Tracy Blomquist)
Subject: Re: DDK Price too high??
Organization: Bell Northern Research
X-Newsreader: Tin 1.1 PL5
Distribution: na
Date: Tue, 8 Sep 1992 12:33:22 GMT

Definitely a release of the DDK with the documentation on the
CD-ROM disk would be great.  I'd buy it ASAP if it existed.
I also like the previous suggestion about including the PS
versions of the docs on the CD-ROM for those of us who have
access to fast PS printers.

--
,----------------------,------------------------.---------------------,
| Karl Tracy Blomquist | E-MAIL: tracyb@bnr.ca  | Fax: 1-613-765-4018 |
| P.S.C. Consultant    | ENVOY: T.BLOMQUIST     | Ph:  1-613-765-4886 |
`----------------------'------------------------'---------------------'
| Bell-Northern Research, P.O.Box 3511, Stn C, Ottawa, Ont., K1Y-4H7  |
`---------------------------------------------------------------------'
From: kenyee@ksr.com (Ken Yee)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: NT and WD7000FASST?
Date: 14 Sep 92 22:15:32 EDT

Has anyone gotten NT to work successfully with the Western Digital
7000 SCSI card?

  ken

 (kenyee@ksr.com)

Newsgroups: comp.os.ms-windows.programmer.win32
From: ebergman@nyx.cs.du.edu (Eric Bergman-Terrell)
Subject: Re: DDK Price too high??
X-Disclaimer: Nyx is a public access Unix system run by the University
	of Denver for the Denver community.  The University has neither
	control over nor responsibility for the opinions of users.
Keywords: Windows-NT DDK
Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
Distribution: na
Date: Sat, 5 Sep 92 06:19:06 GMT

In article <1992Sep5.015520.16946@colorado.edu> woodwort@piper.cs.colorado.edu (Lee Woodworth) writes:
>>The $500 price for the DDK includes preliminary printed docs
>>and the final versions of the DDK (with final printed docs)
>>as well. For comparison, the Win 3.1 DDK is also $500 but is
>>a one shot deal.
>
>>Question for all of you. Would you buy a CD only version of the
>>NT DDK?? Our assumption has been that anyone developing would
>>definitely want printed documentation, but perhaps we're wrong.
>>In answering this question, please assume the docs are on the CD
>>in Winword 2.0 format, and that everyone who buys it will print
>>out the 900 page overview manual, plus one or two other 800 page
>>manuals depending on the type of device you're writing. Is all the
>>effort to print this out (and you must have Winword) worth it??
>>Let me know.                                  
>
>This is what I would want.  I don't really have space for lots
>of manuals and being able to selectively print what I need
>saves lot of space on my bookshelf.  The figures would have
>to be included of course.
>
>Since you are thinking of a CD-ROM why not also generate the
>postscript files and include them?  There should be plenty
>of room on the CD-ROM.
>
>You might consider making a special purchase offer for
>Word for Windows 2.0 to those who order the CD-ROM only
>version.

Windows already has a satisfactory way to view documents on-line without
requiring a WP like Word for Windows:  .hlp files.

I use .hlp files all the time for documentation on the Windows API.  It's
better than paper.  Why not provide all on-line documentation as .hlp files,
which is a *standard*.

A big disappointment with the MS Win NT CD ROM is that all the docs are in
PostScript form - too expensive to print out even if one owns the PS printer -
and no keyword searches, etc etc.

So take advantage of Windows, use the built-in tools and provide on-line
help in its most useful format!

Terrell

Newsgroups: comp.os.ms-windows.programmer.win32
From: assela@aix.rpi.edu (A. Andre Asselin)
Subject: Re: fatal error 0x69 on first boot
Keywords: 69 boot install 
Date: Mon, 14 Sep 1992 22:48:34 GMT

assela@aix.rpi.edu (A. Andre Asselin) writes:

After furthur investigation, I am still having this problem.  I read the
FAQ and tried it's suggestions (checking to insure all the files were copied,
making sure none are read-only, etc.)  I also pulled every board out of 
my computer except for the IDE hard disk controller and the ATI 8514 board.
Still no luck.  Any ideas?   Any help would be greatly appreciated...
        - Andre Asselin (assela@rpi.edu)
   
>Has anyone gotten a fatal error 0x69 followed by a message to the effect of
>phase 1 - error initializing I/O?  I tried setting up NT using DOS2NT
>and got this result the first time I tried booting NT.  My setup and
>what I did is listed below. 

>Setup:
>   486/50 ISA with 16Megs (micronics)
>   213 meg IDE drive partioned as follows
>      C 32 meg FAT
>      extended partition:
>        D 32 meg FAT
>        E 32 meg FAT         <- This is the drive I'm putting the swap file--
>                                it has 25 meg free
>        F 9 meg FAT
>        G 100 meg HPFS       <- OS/2 2.0 is installed here, and is also where
>                                I installed NT
>      OS/2 2.0 Boot manager - 1 Meg
>   ATI 8514/A
>   Twincom 9600 baud internal modem
>   SCSI controller that comes with the NEC CDR-74
>   IDE controller
>   Logitech bus mouse
>
>The process I followed was:
>   Boot OS/2.  Boot Dos 3.3 into a VDM and load SCSI driver and MSCDEX for
>my NEC CDR-74.  Copy and edit DOS2NT so it doesn't play with boot sectors.
>Run DOS2NT to copy from CDROM to drive G.  Edit registry.ini as per
>the setup notes.  Reboot under dos.  Change the active partition to C.
>Reboot.  Run the part of DOS2NT that changes the boot sector.  Edit boot.ini
>as per instructions.  Reboot and select Windows NT.  Bomb-- can't find
>NTOSKRNL.EXE.  Played with boot.ini until I figured out that NT sees
>the HPFS partition as drive H (why?).  Reboot OS/2 and edit registry.ini
>to reflect that.  Reboot, and it starts loading a bunch of device driver,
>clears the screen, and gives me the fatal error 0x69.  I looked at the
>release notes and couldn't find anything, so I decided to try the procedure
>on page 50 to change your configuration (delete and recopy the
>/winnt/system/config files, etc.)  Still same problem.   Any ideas? 
>          - Andre Asselin (assela@rpi.edu)