HDTenEightyP/NetNews huggingface dataset:
From: cjs33278@uxa.cso.uiuc.edu (Carl+Chris Samos)
Newsgroups: comp.os.os2.programmer
Subject: Re: Receiving LN_ENTER with a LS_MULTIPLESEL listbox?
Date: 14 Oct 92 18:08:41 GMT
Article-I.D.: news.Bw4IEL.JHn
Organization: University of Illinois at Urbana


For those who are interested, here is my solution to the LN_ENTER
notification problem with a multiple selection listbox.

The problem was that I do not know the index of the item that was double
clicked in a multiple selection listbox.  LM_QUERYSELECTION cannot be used
because it returns the first selected item, and then the next selected item.

My first idea was to keep track of the selection stated of all the items, and
when a double click occurred, check to see which one changed.

I settled on a different solution, however.  I declare the listbox to have
the LBS_OWNERDRAW style, and I intercept the WM_MEASUREITEM and 
WM_DRAWITEM messages.  WM_MEASUREITEM is only sent once when the listbox is
created.  WM_DRAWITEM is sent whenever an item needs to be drawn.  I return
FALSE from this message so I don't actually have to draw the items, but
the second MPARAM that's passed in is a pointer to a OWNERITEM struct:
     typedef struct _OWNERITEM {
	 HWND   hwnd;
	 HPS    hps;
	 USHORT fsState;
	 USHORT fsAttribute;
	 USHORT fsStateOld;
	 USHORT fsAttributeOld;
	 RECTL  rclItem;
	 SHORT  idItem;
	 ULONG  hItem;
	 } OWNERITEM;

The idItem field is the position index of the item that needs to be drawn.
So I just keep a static int called nLastIndex in the dialog box function
that always keeps track of the last item drawn.


MRESULT EXPENTRY DialogBoxProc(HWND hWnd, unsigned message, MPARAM mp1, 
			       MPRAM mp2)
{
static int nLastIndex;

switch (message) {
    case WM_INITDLG:
	nLastIndex = 0;
	return(0);
	break;

    case WM_DRAWITEM:
	if (SHORT1FROMMP(mParam1) == ID_LISTBOX) {
	    // store the position index of the item that is going to be drawn
	    nLastIndex = ((POWNERITEM) mp2) -> idItem;
	    }
        return(FALSE);
	break;

    case WM_CONTROL:
	if (SHORT1FROMMP(mp1) == ID_LISTBOX) {
	    if (SHORT2FROMMP(mp1) == LN_ENTER) {
		// got the double click, so get the position index
		nIndex = nLastIndex;

                // now use nIndex in what ever way you need.
		WinSendDlgItemMsg(hWnd, ID_LISTBOX, LM_QUERYITEMTEXT,
				  MPFROM2SHORT(nIndex, 256), MPFROMP(szBuffer));
                return(0);
		}
	    }
	break;
    }

return WinDefDlgProc(hWnd, message, mp1, mp2);
}



If anybody has any questions, feel free to ask.

-Carl Samos
 cjs33278@uxa.cso.uiuc.edu
Newsgroups: comp.os.os2.programmer
From: hafting@Lise.Unit.NO (Helge Hafting)
Subject: Re: Minor wishlist item: any IBMers out there?
Organization: Norwegian Institute of Technology
Date: Fri, 9 Oct 92 12:55:15 GMT

In article <-192829998@hpopd.pwd.hp.com>, yuk@hpopd.pwd.hp.com (Yuk Lun Chan) writes:
 > Simple. If I put all my code in a DLL and just have a small main program.
 > Every time I run one more copy. All the system do is to load the small
 > main program and data area. If your program is a large one (> 1Mbyte in code
 > size), it save you a lot of memory and time. Also, if the program has many
 > parts and not all parts used at any time. It is much better to divided the
 > program into many DLL. I don't want each of my DLLs has a C library in it.
 > I want one C library in memory only.
 > 
I thought that os/2 does share code even if it is not in a DLL.  
I.e. If I run 4 instances of the same program, only the data is duplicated
while the code is loaded once.  This would make DLL's necessary only
when two different programs uses the same code.
The included posting indicates that only DLL's is shared.  What is correct?
-- 
 |  |      ^         |  |      /   ^   o
 |__| _   /|  _  _   |__| _   /|  /|   |    _   _
 |  |/_| / | / \/_|  |  |/ | /-+-/-+- /| /|/ | / \
 |  |\__/  |/\_/\_   |  |\_|/  |   \_/ |/ |  |/\_/
            __/                /              __/
From: Robert.Mahoney@f347.n109.z1.fidonet.org (Robert Mahoney)
Sender: Uucp@blkcat.UUCP
Newsgroups: comp.os.os2.programmer
Subject: locking-Command and Un-I
Date: Thu, 15 Oct 1992 13:16:02 -0500

JK>2. Is there something like an IPFC-reverse compiler for converting  
JK>   *.INF file to ASCII? The idea is to convert the IPFC input files to
JK>   Microsoft-HELPMAKE input format since MS-Quickhelp is much faster
JK>   than VIEW.

   Someone on Fidonet has a program that will convert INF files to
QH files.  He will be releasing shortly.

Bob
___
 * MR/2 1.1 #10 * IBM's OS/2 marketing is being done by Moe, Larry and Curly

Newsgroups: comp.os.os2.programmer
From: tdukes@eng.auburn.edu (Todd J Dukes)
Subject: Borland Container Class Libraries
Organization: Auburn University Engineering
Distribution: comp
Date: Thu, 8 Oct 1992 19:07:18 GMT

I have a rather large DOS program I have written using BC++ 3.1 and
made rather extensive use of a few of the BC++ container classes.
Mainly the List, Array, Bag, and BTree classes.

I have the source to the container classes and tried recompiling them
with GCC 2.2.2. List and Array compiled ok, BTree gave quite a few warnings
and a couple of errors. I have never been very good at looking at Borlands
code and figuring out what they are trying to do so I was wondering if
anybody else had tried to make use of the BC container classes already.
If you have, I would be interested in hearing how successfull you were.

Also, if anyone wants to know if I get these working with GCC 2.2.2 and
what I had to do in order to get it to work. email me.

Thanks
Todd



Newsgroups: comp.os.os2.programmer
From: bsn@world.std.com (Brent S Noorda)
Subject: How to kill MouReadEventQue(...MOU_WAIT) thread?
Summary: How to kill MouReadEventQueu(...MOU_WAIT...) thread?
Keywords: killthread, MouReadEventQue
Organization: The World Public Access UNIX, Brookline, MA
Date: Fri, 16 Oct 1992 17:16:01 GMT

I have a REXX dll thread that is waiting for mouse events to occur.  But I
am unalbe to kill if no mouse events are happening because it is waiting
in a MouReadEventQue(...MOU_WAIT...) call.

Is there some way to force it out of the MouReadEventQueu()?  The only way
I'm getting out of it now is to use MOU_NOWAIT but I feel very silly
polling on mouse activity in this day and age.

Should I not be doing MouReadEventQueu() and use IOCTL instead?  This is
supposes
to be a simple port from a DOS program.

Thanks

Xref: sparky comp.os.os2.programmer:5699 comp.os.os2.apps:7208
From: ghenniga@NMSU.Edu
Newsgroups: comp.os.os2.programmer,comp.os.os2.apps
Subject: PSFax/2 Source code available, almost!
Date: 15 Oct 92 17:44:41 GMT
Reply-To: ghenniga@NMSU.Edu
Organization: New Mexico State University - Electromagnetics Group


	Please note the cross-posting when doing any followups!

	I have pretty much completed the little project I was working on.
It's a program which sends faxes out using a Fax modem on a COM port. It
relies on GNU Ghostscript to convert postscript files to G3 fax files so
you have to have a compiled version of GNU Ghostscript with the device
dfaxhigh compiled in. I compiled the GNU stuff myself with GCC (couldn't
get EMX to produce a working copy) and for the little test documents I've
tried it works great!
	As stated I'm willing to distribute the source code as well as an
executable copy, along with an executable copy of Ghostscript with the
fax drivers compiled in.
	I can only guarantee that my program works with a Supra v.32bis
faxmodem and I've only tried it at 9600 baud. Also, I don't have time, at
present, to guarantee any bug fixes that may arise or any other form of
support. I would like to hear from people about problems they have with the
program but don't have the time to fix any. I'd like to see if these
conditions are acceptable and if there is sufficient interest to warrant
placing the program on ftp-os2.NMSU.Edu?
	Eventually, when I'm outta school, and if the market is still good,
I plan on releasing a shareware version with a nice WPS interface. The
current version is just a command-line version.

Any comments/suggestions are welcome!
Gary Hennigan
---------
PhD Student, Computational Electromagnetics
New Mexico State University
email: ghenniga@NMSU.Edu
Newsgroups: comp.os.os2.programmer
From: feustel@netcom.com (David Feustel)
Subject: Hey IBM!!! Where are DHCALLS.LIB and ADDCALLS.LIB???
Organization: DAFCO: OS/2 Software Support & Consulting
Date: Tue, 13 Oct 1992 02:51:50 GMT

I need these to files to be able to recompile the os/2 disk driver to
support a controller at the alternate disk anddress and different IRQ.
How can I get them? They ought to be in the IBM OS/2 Device Driver
Development Kit which I would like to get a copy of. How do I get it?
-- 
Dave Feustel N9MYI <feustel@netcom.com>
 
[.sig on vacation]
From: john.navas@uttsbbs.uucp (John Navas)
Newsgroups: comp.os.os2.programmer
Subject: Developers' Assistance Pr
Date: 8 Oct 92 11:57:00 GMT
Reply-To: john.navas@uttsbbs.uucp (John Navas)
Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591

drkszk@ocf.berkeley.edu (Derek Suzuki) writes:

 >      Hello all.  I'm wondering just how open the DAP is.

Very!

 > What do I have to do to get in?

Just ask.

 > I really do plan on developing software, but in the past I've found
 > it hard to deal with IBM as a non-corporate individual.  Also, I
 > know the number has been posted a few times, but could someone send
 > it to me again?

(407)982-6408.  But the easiest way to apply is to GO OS2DAP on
CompuServe starting 10/18 and fill out the short on-line registration
form.

 > Can the [PDK] CD be read by a DOS system for transfer to floppies?

Yes.

Best regards,
John
          
Newsgroups: comp.os.os2.programmer
From: aaa@hpuerca.atl.hp.com (Simon Fowler)
Subject: Re: I need a c/c++ compiler and debugger for OS2 2.0
Date: Wed, 14 Oct 1992 19:04:11 GMT
Organization: Hewlett-Packard Company, Atlanta GA

In article <1992Oct12.183530.8733@networx.com>, mikel@networx.com (Mike Lempriere) writes:
> I've used Zortech with OS/2 1.3 for quite a while at work.
> The debugger is very powerful.  On extremely large programs, however,
> it is kinda slow.
> I recall my boss saying it doesn't work under OS/2 2.0  I've used
> both the compiler and debugger under 2.0 just fine -- I think he
> might have meant that the debugger won't deal with 32 bit code.

I also have been using Zortech to port an application from DOS/Windows to 1.3 (and
eventually to 2.0). The application uses XVT and was originally written in Borland
C++.  There are a lot of differences between the two (Borland works). I have tried
to run the Workbench under 2.0 and I do not have the use of the mouse. Since then,
I have stuck with make files (Zortech make appears to be a very minimal implementation).
I am waiting for the IBM C++ to come so that I can see what a difference this makes for
2.0.

simon
Newsgroups: comp.os.os2.programmer
From: henke@lte.e-technik.uni-erlangen.de (Robert Henke)
Subject: Re: Where to get IBM's OS/2 developers' CD in Germany ?
Organization: LTE, University of Erlangen, Germany
Date: Mon, 12 Oct 1992 19:22:16 GMT


Try the official disk / CD distributor for IBM - betas:

   VCS Computer GmbH
   Tel. (0711) 621832

   Forst-Str. 53
   W-7000 Stuttgart 1

Or try the IBM line: (0130) 4567 in Germany.

Gruss,
      Robert

email:      henke@lte.e-technik.uni-erlangen.de
mail:       Robert Henke, Damaschkestr. 57, W-8526 Bubenreuth, Germany
Tel.:       [University] (09131) 85-7190
FAX:        +49 9131 25594
CompuServe: 100042,2201

---
Gruss,
      Robert
      
email: henke@lte.e-technik.uni-erlangen.de
mail:  Robert Henke, Damaschkestr. 57, W-8526 Bubenreuth, Germany
FAX:   +49 9131 25594
Newsgroups: comp.os.os2.programmer
From: shiva@well.sf.ca.us (Kenneth Porter)
Subject: Problems with toolkit headers
Cc: cset2@vnet.ibm.com
Organization: Whole Earth 'Lectronic Link
Date: Thu, 15 Oct 1992 23:18:43 GMT

I'm getting lots of spurious warnings while using the standard system 
header files. These mostly take the form of signed/unsigned errors
when using constants.

For example, the return value of most system calls has type unsigned,
but bseerr.h defines all of its constants as signed (ie. there's no
trailing "u" on the numbers). This requires a cast every time I compare
a return value to a named constant to suppress the signed/unsigned
warning. Why aren't there trailing U's on the numbers?

Another problem occurs with the Dos Timer services, which use an event
semaphore (HEV) but are prototyped as taking a non-specific semaphore
(HSEM). Why not use HEV in the prototype?

And how about adding a pragma to suppress warnings for specific
unused parameters? I'm thinking of the Borland "pragma warn -par".
For example, all window procedures must have the standard 4 arguments
(hwnd,msg,mp1,mp2), but might not use all of them.  This is an
example of the general case of virtual functions (functions called
through a pointer) in which not all candidate functions use all of
the supplied arguments.

Ken
Newsgroups: comp.os.os2.programmer
From: mikel@networx.com (Mike Lempriere)
Subject: Re: I need info about IBM
Organization: NetWorx
X-Newsreader: TIN [version 1.1 PL6]
Date: Tue, 6 Oct 1992 22:11:11 GMT

But who can afford a CD-ROM drive?

I blew it all on 486, memory, hard-drive, monitor, etc...

Maybe next year...
From: dic5340@hertz.njit.edu (David Charlap)
Newsgroups: comp.os.os2.programmer
Subject: Re: SOM compiler gotcha with implied metaclasses
Date: 15 Oct 92 18:18:28 GMT
Organization: New Jersey Institute of Technology, Newark, N.J.

In article <Bw3EDL.MG5@watserv1.uwaterloo.ca> giguere@csg.uwaterloo.ca (Eric Giguere) writes:
>Which brings me to my biggest beef about SOM as it currently stands:
>If you make major changes to the CSC file, as you are liable to do
>in the beginning stages of a system, it's hard to keep the corresponding
>C files in sync with the CSC file, the example above being one of the
>problems you'll run into.

How hard is it to use separate compilation and keep most (if not all)
of your own C code out of the files generated by the SOM compiler?
This way, CSC files wouldn't munge any of your code.

-- 
David Charlap         |"there aren't 50,000 things for which it's worth writing
dic5340@hertz.njit.edu| software; and the computer industry doesn't have enough
----------------------+ programmers to create that much good software.
Therefore, most of it must be worthless" -- Boris Beizer "The Frozen Keyboard"
From: wayned@cybernet.cse.fau.edu (Wayne Desmond)
Newsgroups: comp.os.os2.programmer
Subject: Re: Price to join DAP?
Date: 14 Oct 92 17:06:06 GMT
Organization: Cybernet BBS, Boca Raton, Florida

Tom.J.Parry@f1.n100.z60.wlink.nl (Tom J Parry) writes:

> DAP Australia are also looking into finding some competitive CD drive
> prices. Apparently there are two suppliers with brand new, fastest yet,
> drives which may be available through DAP here for around $700-$800 which
> are supposed to retail around $1200-$1300. IBM doesn't believe they can
> provide a competitively priced alternative themselves.

CD Technology, Inc. has a special deal for IBM customers.  Info is 
included when you get the PDK CD.  It's the same deal that Microsoft has 
with them.

Toshiba XM-3301 External             $450.00 USD
Toshiba XM-3301 Internal             $400.00 USD

Their address is:

CD TECHNOLOGY, INC.
766 San Aleso Avenue
Sunnyvale, CA 94086

Tel: 408-752-8500
Fax: 408-752-8501

I ordered an internal from them.  Works great with OS/2 and my Adaptec 
SCSI controller.  Just plugged it in and away it went.
I believe you need to have a coupon from IBM or Microsoft to get this 
deal.


+-----------------------------------+-----------------------------------+
| Wayne Desmond                     | Happily using and working (read:  |
| OS/2 Consultant/Programmer        | earning a GOOD living) with       |
| (wayned@cybernet.cse.fau.edu)     | OS/2, since version 1.1.          |
+-----------------------------------+-----------------------------------+
From: john.navas@uttsbbs.uucp (John Navas)
Newsgroups: comp.os.os2.programmer
Subject: DLLs and LIBPATH (Was: Re
Date: 8 Oct 92 11:57:00 GMT
Reply-To: john.navas@uttsbbs.uucp (John Navas)
Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591


 > If anyone's still reading at this point, I'd like to know if
 > there's any way of determining a revision level of a dll.  Or is it
 > dependent on the programmer to provide this functionality?  I can
 > see this as becoming a problem as more code becomes shared, and
 > dependencies arise.

Just encode the revision in the file name; e.g., VBRUN100.DLL (aka
Visual Basic RUNtime library version 1.00).  ;-)

Best regards,
John
                                                                                 
Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
From: slumos@unlv.edu (Steve Lumos)
Subject: Re: OS/2 2.0 Frequently Asked Questions, Programmer's Edition 1.3
Organization: UNLV Computer Science
Date: Sat, 10 Oct 92 01:57:43 GMT

In article <1992Oct09.133902.21903@watson.ibm.com> cnadler@vnet.ibm.com (Cliff Nadler) writes:
>In  <1992Oct08.202944.17236@watson.ibm.com>  cnadler@vnet.ibm.com (Cliff Nadler) writes:
>>The offer has been extended until the end of October.
>
>Sorry, I remembered my facts incorrectly.
>
>There is a NEW promotion for the Workset/2 product from IBM. It starts next
>week and runs til next March (1993). I believe it is going for $395 US. This
>contains the Technical Reference, the WorkFrame Development Environment, and
>the C-Set/2 compiler.

Is the technical reference with this deal also in .INF format?

-- 
Steve Lumos - slumos@cs.unlv.edu
From: sl31+@andrew.cmu.edu (Stephen M. Lacy)
Newsgroups: comp.os.os2.programmer
Subject: What's the format of the DAP CD?
Date: 13 Oct 92 05:31:47 GMT
Organization: Junior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA

I have ordered the DAP CD, but only have access to CD ROM drives on
DecStation 5000's.  I've been told that they read the IS09660 format. 
(I think thats right...)  Is this the format that the CD is on?  How
many floppies will it fit onto?  Or, how much harddrive space is it
(uncompressed) 

Steve


"I don't like much really, do I?  But what I do like, I love
passionately!" -Pet Shop Boys
From: francis@vnet.ibm.com (Tim Francis)
Date: Wed, 7 Oct 92 18:15:06 EDT
Subject: Re: Minor wishlist item: any IBMers out there?
Newsgroups: comp.os.os2.programmer
Reply-To: francis@vnet.ibm.com
Organization: IBM Canada Lab, WorkFrame/2 development
Disclaimer: This posting represents the poster's views, not those of IBM

In article <1992Oct7.195130.17312@unixg.ubc.ca>,
ochealth@unixg.ubc.ca (ochealth) writes:
>
>
>I used to see a lot of IBM posts from the C compiler people. They are strangely
>silent on this issue....

We're still here... I'm not sure what you want us to say though.  Both
version support in DLLs, and a system supplied C runtime, would be nice
to have.  Necessary?  Debatable (as has been done here).  Nice?  Sure.
Neither, however, can be implemented by the compiler developers -- you
should be registering your suggestions with the OS/2 developers.  -tim

Xref: sparky comp.os.os2.programmer:5725 comp.os.os2.apps:7223
From: ochealth@unixg.ubc.ca (ochealth)
Newsgroups: comp.os.os2.programmer,comp.os.os2.apps
Subject: Re: PSFax/2 Source code available, almost!
Date: 16 Oct 1992 18:27:07 GMT
Organization: University of British Columbia, Vancouver, B.C., Canada
NNTP-Posting-Host: unixg.ubc.ca

In article <GHENNIGA.92Oct15104441@ampere.ampere> ghenniga@NMSU.Edu writes:
>
>	Please note the cross-posting when doing any followups!
>
>	I have pretty much completed the little project I was working on.
>It's a program which sends faxes out using a Fax modem on a COM port. It
>relies on GNU Ghostscript to convert postscript files to G3 fax files so
>you have to have a compiled version of GNU Ghostscript with the device
>dfaxhigh compiled in. I compiled the GNU stuff myself with GCC (couldn't
>get EMX to produce a working copy) and for the little test documents I've
>tried it works great!
>
>Any comments/suggestions are welcome!
>Gary Hennigan


Sounds neat. NOw if someone knew how the OS/2 printer and spooler stuff
worked, GhostScript could be squished in between the OS/2 postscript driver,
and the spooler, and the FAx stuff. That way all you do is select print
from any application. and OS/2 will do the PostScript thing, then ghostscript
will generate the FAX. GhostScript for OS/2 also has a preview and other
stuff.

>---------
>PhD Student, Computational Electromagnetics
>New Mexico State University
>email: ghenniga@NMSU.Edu


-- 
______________________________________________________________________________
jpm: ochealth@unixg.ubc.ca         
                            Happily using OS/2 2.0 because MS Windows isNT ___
                                                      Insert VapourFeature ^^^
From: msf@skaro.as.arizona.edu (Michael Fulbright)
Newsgroups: comp.os.os2.programmer
Subject: Inquiry about Beta Sound Support
Date: 7 Oct 92 08:49:23 GMT
Distribution: na
Organization: University of Arizona UNIX Users Group

I have a question for those of you with the beta. I know Win 3.1
has built in support for sound. I've read that the new beta includes
this support. My question is this - has sound been integrated into
the OS/2 environment as well. I mean, if I dont load any DOS or
Windows support, are there sound device drivers for OS/2 and PM?
I'm asking because I have a SB Pro device driver working under OS/2.
If the service pack is going to include such a driver i'm not so
motivated to spend any more time working on my driver.

michael fulbright
msf@as.arizona.edu
Newsgroups: comp.os.os2.programmer
From: smackinl01@cc.curtin.edu.au
Subject: NEED MOUSEMSG MACRO! (third try....)
Organization: Curtin University of Technology
Date: Fri, 16 Oct 1992 04:30:41 GMT

Pluheeeeeeezzzzzzz.....

I need the MOUSEMSG macro out of the IBM C Set /2. Can some kind soul post it
to me? This macro is _not_ in the GCC 2.2.2 (non-emx) port and I need it to
compile an OS/2 v1.2 PM program.

-- 
Simon.
Have you got a form 27/b?

Newsgroups: comp.os.os2.programmer
From: so-ecs@stekt2.oulu.fi (Derek Heino Jr)
Subject: Some programming questions. HELP !
Organization: University of Oulu, Dept. of EE, Finland
Distribution: comp.os.os2.misc,comp.os.os2.programmer
Date: Wed, 7 Oct 1992 07:14:01 GMT

Here wo go:

1. After inserting 1271 items in a combobox, I get a WIN1012 error:
Maximum heap size reached: 65532 bytes. Those items that I inserted
are strings with length of 29 bytes ( 29*1271=about 36kB ). So what I
going to do ? Increase heap ( HOW ? )...

2. How to control WM_SIZE ?

3. Where can I find docs for GAS 1.38.1 ( & the filename )

Thanks in advance.
--
 ===Derek Heino Jr=========================so-ecs@stekt.oulu.fi===
   When I feel myself slowing down , I know for sure that I've been
here before, 'cause if it isn't an action replay, what else could it be.
			  -=* THUNDER *=-
From: os2man@panix.com (Larry Salomon Jr.)
Newsgroups: comp.os.os2.programmer
Subject: Re: Changing window title & PM's compressed bitmaps
Date: 12 Oct 92 13:57:21 GMT
Organization: PANIX Public Access Unix, NYC

In <1992Oct11.163011.8231@news.tu-graz.ac.at> tom@piassun1.joanneum.ac.at (Tom Leitner) writes:


>Hi fellow programmers,                                      Graz, 11.10.92

>I got two (almost:-) short PM programming question:

>1.) I want to modify the window title of the main window of my application
>    using the following code in my ClientWindowProc:

>               DosPostEventSem(hevStartMeasuring);
>               sprintf(WindowTitle, "%s -- measuring", szAppName);
>               WinSetWindowText(hwnd, WindowTitle);

>    but this simply refuses to change the title. I already tried to
>    use the HWND handle returned by the WinCreateStdWindow call in main()
>    but no avail.

Try WinSetWindowText(WinQueryWindow(hwnd,QW_PARENT),WindowTitle) (add a 
",FALSE" after "QW_PARENT" if this is a 16-bit call).

Cheers,
Q
-- 
"If you choose not to decide, you  | "A fool and his money are fun to go
 still have made a choice" - Rush  |  out with" - seen on a T-shirt
------------------------------------------------------------------------