HDTenEightyP/NetNews huggingface dataset:
From: hadgraft@eng2.eng.monash.edu.au (Roger Hadgraft, Civil staff, ext 4983)
Subject: Re: Testing MS Windows Help
Organization: Faculty of Engineering, Monash University 
Date: Thu, 10 Sep 1992 05:19:48 GMT

In article <18laepINNrf9@seven-up.East.Sun.COM> 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?
>
>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.
>
I had a need to keep parallel paper and online documents, so I created a 
Word for Windows macro which translates a document into a Help file (with 
the help of the Help Compiler of course). It uses the "header" styles to 
determine the hierarchical structure. I'm working on the implementation of 
cross-references. Such a macro allows one to migrate a lot of printed 
documentation into Windows Help with little initial effort. I am about to 
distribute a beta version. It will be shareware ($20). Drop me a line if you'
re interested.

--
Roger Hadgraft, Senior Lecturer in Civil Engineering
Monash University, Clayton, Victoria, AUSTRALIA, 3168.
phone: 03 565 4983  fax: 03 565 4944 or 3409 intnl: +61 3 565 ....
e-mail: roger.hadgraft@eng.monash.edu.au
Xref: sparky comp.os.ms-windows.programmer.misc:1831 misc.books.technical:1438
From: quanbook@world.std.com (Quantum Books)
Newsgroups: comp.os.ms-windows.programmer.misc,misc.books.technical
Subject: Re: Petzold's Programming Windows Is Here!
Date: 14 Sep 92 17:21:08 GMT
Organization: The World Public Access UNIX, Brookline, MA

In article <1992Sep12.003431.28632@techbook.com> jamesd@techbook.com (James Deibele) writes:
>quanbook@world.std.com (Quantum Books) writes:
>
>>Our 300 advance copies arrived earlier than expected.
>
>>Order while they last.
>
>I've noticed a decrease in the amount of information that Quantum is
>posting and a lot more "hype".  This is contrary to the spirit of what
>misc.books.technical (IMHO) is supposed to be.
>
...
>
>Most previous postings from Quantum contained mostly info, little hype.
>But I've now noticed several "buy now before they're gone" postings and
>I think it's time somebody said something ...
>
We are sensitive to this issue.  We did not feel we were breaking 
with the spirit of this newsgroup, but merely announcing a special 
event which was timed with the long-awaited arrival of Petzold's 
new book.
 
It is not at all our intention to replace informative postings
with hype.  Our book postings are as frequent and comprehensive
t(as staff time permits.

-- 
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: jholdern@casper.cs.uct.ac.za (J E Holderness)
Subject: Re: Minimized icon not displayed correctly
Organization: Computer Science Department, University of Cape Town
Date: Sun, 6 Sep 1992 17:24:48 GMT

Sorry about this - I did eventually manage to find the answer somewhere
in TFM. It appears I had to set the class name in the resource file as well
as in the GetClassName function.

Another problem arose from this, however, in that I needed my classname in 
the resource file to be "bordlg" to get the "Borland look". The solution
to this was in the "bwccapi.rw" file in the docs directory.

Hope that is of help to anyone that might have the same problem I had.

Newsgroups: comp.os.ms-windows.programmer.misc
From: wlb@progress.COM (Warren Bare)
Subject: Cashola for VB controls
Organization: Progress Software Corp.
Date: Mon, 14 Sep 1992 14:27:06 GMT

Howdy Folks,
  I few weeks ago I posted a request for information about
the availability of a outline control for VB.  Since I did
not receive any responses, I thought I would give it one 
more try.

  Do any of you know of a company (or person) that sells 
an outline control for visual basic.  This is sort of like
a list control, but each item has a parent, and items can
be opened and closed.  Each item generally starts with some
visual affordance indicating whether it contains children
or not and whether it is open or closed.

Thanks,
Warren

--
Warren L. Bare                UUCP: mit-eddie!progress!Warren.Bare
Progress Software Corp.   Internet: Warren.Bare@progress.com
14 Oak Park                    FAX: 1 617 275 4595
Bedford, MA  01730
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: COM port access under Windows
From: chris@actrix.gen.nz (Chris Double)
Date: Mon, 7 Sep 1992 04:03:30 GMT
Organization: Actrix Networks

Hi.

I'm trying to send commands to a modem under Windows. I can open and
close the COM port (using OpenComm & CloseComm) but I'm not sure how
to send and receive.

Using C, what function calls should I be using to send and transmit
characters?

Your help would be appreciated.

Thanks,

Chris Double.
chris@actrix.gen.nz
From: rusbasan@expert.cc.purdue.edu (Bob Rusbasan)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Petzold Book and Substitutes
Date: 4 Sep 92 22:06:07 GMT
Article-I.D.: mentor.Bu2qq8.4vy
Distribution: usa
Organization: Purdue University Computing Center

In article <1992Sep2.170649.12611@cbnewsj.cb.att.com> drv@cbnewsj.cb.att.com (dennis.r.vogel) writes:
>A while ago people were singing the praises of Petzold's
>Windows programming book.  I believe the Windows 3.0
>version (the second edition of the book) is no longer
>available.  A new edition aimed at Windows 3.1 is to be
>coming soon.  My questions are:

>	1. Does anyone know when the new Petzold edition (3rd?)
>	   is due?

Microsoft Press ran an ad for it in the current issue of Windows
magazine.  I called them up and asked if was out yet, and the person
I talk to told me that it will be released on September 14.

-- 
   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  / Bob Rusbasan                  |     Dance to the tension       \
 /  rusbasan@expert.cc.purdue.edu |      of a world on edge         \
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Newsgroups: comp.os.ms-windows.programmer.misc
From: shen@cis.uab.edu (Frank)
Subject: Combo Box selection?
Originator: shen@saturn
Organization: University of Alabama at Birmingham
Date: Sun, 6 Sep 1992 20:11:07 GMT

Hi!  I have a combo box in my dialog box and when I run my program, 
I have to hold the mouse button in order to change the selection
in the combo box.  I have check my code against the examples come with
Borland and SDK, I can't find any differences.  Is there a trick soemwhere?

Please help.  Thanks.
From: rasnurmi@sara.cc.utu.fi
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: enumFonts for Actor
Date: 9 Sep 92 10:51:45 GMT
Organization: University of Turku, Finland

I'm trying to do Callback method enumFonts for Actor 4.0. This method should
return a Set containing all the Fonts available in system. Screen + selected
Printer. Does anyone know how to make this kind of method. I haven't been able
to do this method myself.

Thanks in advance!

Rasmus Nurminen
From: karol+@pitt.edu (Filip M. Gieszczykiewicz (fmgst@unix.cis.pitt.edu))
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: MS-DOS (windowed) & Win 3.1 communication
Summary: almost works(tm) but need help
Date: 15 Sep 92 05:21:54 GMT
Followup-To: comp.os.ms-windows.programmer.misc
Organization: University of Pittsburgh


	Greetings.

	I'm trying to let an MS-DOS program talk to a Win 3.1 program
	through the clipboard using the PC Magazine routines. While
	it does work, reliable it is not! I wrote an application in
	MS-DOS that gets executed from a window, it brings up a
	Visual Basic front-end and when that is done, the Visual Basic
	passes the user's selections to the clipboard from where the
	MS-DOS app read it.

	That's should work, in theory. I've tested it quite well but
	when I try the above I get random "clipboard locked" and
	associated errors. I've had it to about here with this hoopla
	and am in the process of writing a DDE server (clipboard)/
	client (VB) in the hope that this will eliminate/reduce these
	problems.

	So, what's my question? Well, does anyone know of a way I can
	just transfer, say, 20K of TEXT between MS-DOS (in a window)
	and Windows 3.1 (VB or a DDE server). I don't care about whether
	this would be documented or not (since I'm already "pushing my
	luck"). 

	I can not afford the time waste it would take to write the
	data to a file in one app and read it in the other. So, can
	I somehow pass a GlobalAlloc? Is my best bet just writing a
	protocol (we may need to transfer around 500K of text but the
	clipboard holds only 32K so a protocol is the only way).

	Someone, please help. I've looked in all books (got the "Undoc
	Win" but it doesn't even go into this) with no help.

	Please reply to fmgst+@pitt.edu or here, if it's easier.

	I will summarize & repost in a week or so.

	Take care.
-- 
________________________________________________________________________________
________________________________________________________________________________
_______________________karol@unix.cis.pitt.edu__________________________________
________________________________________________________________________________
From: GWR@ib.rl.ac.uk (Graham Robinson)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: DOS application screen updating problem under Windows
Summary: DOS application sometimes incorrectly updates window
Keywords: DOS Window
Date: 11 Sep 92 15:08:51 GMT
Organization: Rutherford Appleton Laboratory, SERC


I have a DOS terminal emulator which is now being used in a DOS session
under Windows 3.1.  All works fine except that in some cases the window is
not completely updated usually after it has been cleared and is being
totally rewritten.  The application is written in assembler and writes
directly to the screen buffer.  Windows is in 386 enhanced mode and the
problem does not occur when running in full screen mode.  It is thus
something to do with the updating of the window and this can be
demonstrated by moving another window on top of it and then away again
which causes it to be redrawn correctly.

I have tried changing the WindowsUpdateTime value and this had no effect.
What I need is a call similar to the Topview Int 10 function FF to tell
Windows that the window has been updated.  Does anyone know if such a
Windows call exists and what its specification is?

Many thanks in anticipation

Graham Robinson
Newsgroups: comp.os.ms-windows.programmer.misc
From: pjsinc@zombie (Petri Salonen)
Subject: Re: StretchDIBits and one other question...
Organization: University of Oulu, Finland
X-Newsreader: Tin 1.1 PL4
Date: Mon, 14 Sep 1992 10:46:53 GMT

mccreary@sword.eng.hou.compaq.com (Ed McCreary) writes:
> I'm having an odd problem with StretchDIBits (and SetDIBitsToDevice also.)
> 
> I'm using it do display grey scale images but for some reason it
> doesn't seem to work with certain dimensions.  Here's a code fragment:

I seem to have almost identical problems, so if someone has an answer
please tell me too..

> --
> McCreary@sword.eng.hou.compaq.com     Computers are like Old Testament gods;
> Me? Speak for Compaq?  Yeah, right.   lots of rules and no mercy.
>                                                              Joseph Campbell
>  

-----------------------------------------------------------------------------
    ########################## | Yes, I do have some prior knowledge in this.
   ##########################  | There is nothing dangerous in these dragons,
  ####   / ///   /             | they are totally harmless... But my opinion
 ####   /  /    / /// ///      | is that kicking them might not be the right
#### /// ///   / / / /// /     | way to test it. So shut up and RUN!
-----------------------------------------------------------------------------
pjsinc@sunrise.oulu.fi  pjsinc@phoenix.oulu.fi  pjsinc@tolsun.oulu.fi
If it's possible that there are some opinions above, they must be all MINE.
From: wwn8108@tamsun.tamu.edu (Weldon Nash)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Writing Custom Controls.
Date: 11 Sep 1992 21:11:49 GMT
Organization: Texas A&M University, College Station


	I was trying to write a Borland Custom Control for use with Resource
Workshop and I have a few questions.  I have looked at the examples that they
have given for c programming and I pretty much understand the documentation
on how to make the required DLL.  However, since the control I am trying to
make is an offspring of the built-in scrollbar (actually I just want a
scrollbar with a different class cursor within by dialog box) I would like to
use OWL.  I am very familiar in using OWL for writing applications, however,
I am not too familiar with the steps that I need to go through in order to 
use OWL to make a DLL or a custom control DLL.  What I really need to know
is what I should put in the LibMain function.  Should I treat the whole 
situation as if I was writing just another plain old application?

					-Trey

wwn8108@tamsun.tamu.edu
Electrical Engineering Dept
Texas A&M University
Newsgroups: comp.os.ms-windows.programmer.misc
From: dtam@fraser.sfu.ca (Dominic Pok Man Tam)
Subject: .FNT -> .FON, How?? 
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Sun, 13 Sep 1992 08:37:10 GMT

Hello,
 
How to change windows .FNT (font resource) to .FON file? I am using Borland C++
V3.0 resource workshop and I have found that the help text on the above topic
has serious error so I can't follow it.
 
Regards.
         
Newsgroups: comp.os.ms-windows.programmer.misc
From: death@acca.nmsu.edu (Jeff Garzik)
Subject: Re: Borland's Internet Address??
Organization: New Mexico State University
X-Newsreader: Tin 1.1 PL5
Distribution: usa
Date: Mon, 7 Sep 1992 10:48:54 GMT

Frank (shen@cis.uab.edu) wrote:
: 	Does anyone know Borland's internet address for technical
: 	supports for ms-windows programming?  When I have a programming
: 	question for ms-windows, Do I ask Borland or Microsoft?  I am 
: 	using Borland C++.  

The only publicly announced address is customer-support@borland.com, which
is not, repeat IS NOT, technical support.  For tech support you can either
try chard@ (he wrote some manuals for one or more of the Borland
programming products), otherwise you must go off the Internet and ask for
help on CompuServe (xxxxx.yyyy@compuserve.com).

--
"Only sheep need a leader." - Nomeansno

death@acca.nmsu.edu
From: daavid@bohra.cpg.oz.au (Daavid Turnbull)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: WinExec return useful?
Date: 8 Sep 92 11:14:36 GMT
Distribution: usa,world
Organization: Computer Power Software

In article <dobbins.271.715550243@lan.ccit.arizona.edu> dobbins@lan.ccit.arizona.edu (Gary Dobbins) writes:
> When an app calls WinExec, the return value is described somewhat vaguely
> in the SDK as a task handle, which I presume is an instance handle. (?)
This might be the case for a windows program but it is certainly not the
case when WinExec()ing a vanilla dos app, ie a .pif file.  Because WinExec()
is essentially a fork there is little that WinExec() can return apart from
an instance handle and in the case of a vanilla dos app all it really can
return is success or failure to start the app.

A problem that I am currently trying to solve (I have been successfully
putting it off so far), is how to obtain information about the exit code
of a dos app.  I know that I can set up the dos app to write a file etc.
but I would much rather not have to resort to suc a messy solution.  The
real problem is that the exit code of the app becomes part of the 
enviroment which In my case is essentially lost when the app terminates.

Any suggestions ? 

Thanks in advance, daavid


-- 
	Daavid Turnbull
	daavid@bohra.cpg.oz   +61 3 823 0222    (fax) +61 3 824 8068
	uunet!munnari!bohra.cpg.oz!daavid
	CP Software Export Pty Ltd                   ACN 006 640 133
From: hm329sc@unidui.uni-duisburg.de (Scheunemann)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: StretchDIBits and one other question...
Date: 14 Sep 1992 18:15:08 +0200
Organization: Universitaet Duisburg GH
Distribution: world
NNTP-Posting-Host: unidui.uni-duisburg.de

In <1992Sep13.231220.686@twisto.eng.hou.compaq.com> mccreary@sword.eng.hou.compaq.com (Ed McCreary) writes:

>I'm having an odd problem with StretchDIBits (and SetDIBitsToDevice also.)

>I'm using it do display grey scale images but for some reason it
>doesn't seem to work with certain dimensions.  Here's a code fragment:

> lpbmi = (LPBITMAPINFO)GlobalLock(hbmi);
> lpImageBits = (char huge *)GlobalLock(hImageBits);


> i=StretchDIBits(hdc, 0, 0,
>		nZoomFactor*nImageWidth,
>                nZoomFactor*nImageHeight,
>		0, 0, nImageWidth, nImageHeight,
>		lpImageBits, lpbmi,
>		DIB_RGB_COLORS, SRCCOPY);

>nZoomFactor is an integer used to perform a quick and dirty zoom on
>the image.  The rest should be self explanatory.  Now it works fine with
>images with dimensions of 200x200 and 800x800, but when I try 130x130
>or 255x210 it fails.  It returns 0 meaning 0 lines displayed.

>I've checked all of the variables right before the function is called,
>and they all are correct, yet it still fails!!  I'd appreciate any
>hints.

I had the same problem using StrectDIBits. For certain dimensions the
function just returned 0. In my case the reason for this was, that each
line of the image had to be expanded to a multiple of 4 byte (adding some
zero bytes if neccessary). Somehow StretchDIBits seems to check the size
of the image (which is in the BITMAPINFO) against a value which it calculates
itself and if it finds a difference it apparently does nothing.

Hope this helps
Thomas Scheunemann







Newsgroups: comp.os.ms-windows.programmer.misc
From: jagrant@emr1.emr.ca (John Grant)
Subject: PDRAWITEMSTRUCT vs LPDRAWITEMSTRUCT
Organization: Energy, Mines, and Resources, Ottawa
Date: Wed, 16 Sep 1992 04:32:04 GMT

I am confused over the use of LPDRAWITEMSTRUCT & PDRAWITEMSTRUCT.
Help for LPDRAWITEMSTRUCT says this is a 32-bit pointer and says I 
should use PDRAWITEMSTRUCT instead and let the memory model decide 
on the size of the pointer.

But, in help for WM_DRAWITEM, the example is something like:
   LPDRAWITEMSTRUCT lpdis;
   ...
   lpdis=(DRAWITEMSTRUCT FAR *)lparam;
   ...

So...
   1. why didn't they just say:
		lpdis=(LPDRAWITEMSTRUCT)lparam;
	since it is already defined for them
   
   2. why didn't they just use PDRAWITEMSTRUCT and let the memory
	model take care of the pointer size?  How did they know it
	had to be FAR (i.e. LPDRAWITEMSTRUCT)?
From: shite@sinkhole.unf.edu (Stephen Hite)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Is there a Windows programmer FAQ?
Date: 15 Sep 92 11:53:59 GMT
Organization: Univ. of North Florida



    Could someone please send me the ftp address of where the Windows
programmer FAQ can be had?  Thanks!

Steve Hite
shite@sinkhole.unf.edu
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.win32
From: shah@cherry.NoSubdomain.NoDomain (shahrin abdullah)
Subject: How to change color of a .bmp file upon loading 
Keywords: Change color of a bitmap file
Organization: Institute of Systems Science, NUS, Singapore
Distribution: na
Date: Sat, 12 Sep 1992 05:10:58 GMT

Hi there. I am wondering whether is there any kind windows' soul out there who could help me in my current agony.
 
I would like to know whether is there a function in the SDK which allows me to change the color of a bitmap after loading. I have use the Image editor to cre-  ate the bitmap file with a choice of 16 colors. Now upon loading by using the LoadBitmap  function, I would like to change its color to one of the 256 RGB values. How do I do this ? Is there anyone of U who have done this before and would like to share with me the sample source code ? Any reference is also appreciated. Thank U.

PS. I using MS C7.

Shah
Newsgroups: comp.os.ms-windows.programmer.misc
From: edshost%Solomon.Technet.sg (Wang Bin)
Subject: custom control programming
Organization: National University of Singapore
X-Newsreader: Tin 1.1 PL5
Date: Wed, 9 Sep 1992 02:57:38 GMT
From: beaurega@ireq.hydro.qc.ca (Denis Beauregard)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: printf and Windows
Date: 11 Sep 92 20:56:17 GMT
Organization: Institut de recherche d'Hydro-Quebec, Varennes, Canada

We shall not use printf or scanf or functions like that in Windows.
But, is this true?

As for input functions, I understand scanf can't work.
But, printf is printing on background, then it is enough for debugging,
or is there some drawback (i.e. sometimes it will not work for some
mysterious reason?) ?.

The same way, is fscanf, sscanf and fprintf enough reliable, or is this
true only in MS-SDK 3.0?  

I am using Zortech 3.00r4 and avoided until now fopen, etc.  But now,
was I right and will my programs stop to work someday, or I am safe
now in using fopen?  Did I just misread the books ?  Or is there
some restriction because of memory model so that while I use only
local memory I am safe?

I have to use fcvt to print floating point numbers.  wsprintf does not
support floating point.  But, can I use safely sprintf (with near ptr) ?

-- 
  \_\    Denis Beauregard  *  internet:beaurega@ireq.hydro.qc.ca
 /   \   Genealogiste officiel : Beauregard/Jarret/Jarest/Vincent
J   __>  Un Quebec renouvele dans une Amerique renovee
\_.-===                                                  Opinions ? Et pis non !
From: stefan@olson.acme.gen.nz (Stefan Olson)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Looking for screen dump utility...
Date: 6 Sep 92 16:18:35 GMT

In <1992Sep3.181023.8255@cs.wright.edu> mccavitt@valhalla.cs.wright.edu (Dean McCavitt) writes:
>I'd like to take some snapshots of my application GUIs for
>documentation purposes. 
>Where can I find a decent snapshot
>utility?  I know about the ones available for dumping the entire
>screen, but I'm looking for something which I could use
>for a single window (not the whole screen). (a la Openwindow's
>snapshot tool).

Press ALT and PRINTSCREEN and your current window will get
sent to the clipboard...

...Stefan

-- 
------------------------------------------------------------------------
   Stefan Olson                     Mail: stefan@olson.acme.gen.nz
   Kindness in giving creates love.
------------------------------------------------------------------------
Newsgroups: comp.os.ms-windows.programmer.misc
From: ekalenda@netcom.com (Edward J Kalenda)
Subject: Realizing my palette
Date: Thu, 10 Sep 92 19:22:13 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 


I am trying to implement the discussion in the Win 3.1 SDK
SetSystemPaletteUse() documentation where they tell you how to increase
the number of free slots so your own colors get loaded into the hardware's
color palette.

Unfortunatley, I have only been doing Windows for a couple of months and
am having problems figuring out exactly how to code things when they
say to do something without even mentioning a routine to use.

If anybody has managed to get this working so their applications colors
become active whenever they have the focus, and is willing to send some
code fragments, please speak up. What I could really use is the code I
need to put in the startup, get focus, lose focus and exit event handler
case statements.
-- 

Ed
ekalenda@netcom.COM