HDTenEightyP/NetNews huggingface dataset:
From: kitchin@lf.hp.com (Bruce Kitchin)
Newsgroups: comp.os.os2.programmer
Subject: Re: # of File Handles?
Date: 4 Jan 1993 21:23:03 GMT
Organization: Hewlett Packard Santa Clara Site
NNTP-Posting-Host: eden.avo.hp.com
X-Newsreader: TIN [version 1.1.2 PL7]

Andrew Lighten (Andrew.Lighten@f383.n634.z3.fidonet.org) wrote:
: HXC6@psuv>From: H. Choe <HXC6@psuvm.psu.edu>
: HXC6@psuv>Organization: Penn State University
: HXC6@psuv>
: HXC6@psuv>Hi.  I want to open a bunch of files simultaneously in my fortran
: HXC6@psuv>(Watcom F77/386) program.  Here are questions:
: HXC6@psuv>(1)  What is the default number of files handles?
: HXC6@psuv>(2)  How to set the number of file handles?  (Is there something
: HXC6@psuv>     similar to FILES=xx [in config.sys for dos] for OS/2?)  Or,
: HXC6@psuv>     do I misunderstand something?
: HXC6@psuv>Thanks.
: 
: (1) No idea at all. Never bumped into it.
: 
: (2) You can do it dynamically. Look at the DosSetMaxFH() function. The
:     FILES=n statement in your OS/2 config.sys file is for DOS apps.
: 

In DOS there were two problems: the number of file handles total per system,
and the number that one program could open.  It appears that OS/2 does not
put a small limit on the first and provides no way to change it that I
have seen.  However, there is apparently a limit per program which
DosSetMaxFH() adjusts.  However there can be a third problem.  In C,
there is a structure setup by the Run Time library in some compilers that
must allocate a fix space for all files.  With MSC, there was a couple
of source modules that had to have a constant redefined and be recompiled
to allow the C run time library access more than the default of 20 files
even AFTER telling the operating system to allow more.  I have no idea
if Watcom F77/386 has this sort of problem or not.  If they do, there may
be something in the documentation or in some sort of Readme file.  With
MSC you had to find it is the readme documentation.
Newsgroups: comp.os.os2.programmer,comp.os.os2.advocacy
From: rcain@netcom.com (Robert Cain)
Subject: Re: How to bet $100,000 on OS/2 and lose it.
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Thu, 7 Jan 1993 19:23:48 GMT

Oh, if there is anyone who is as disenchanted as I that uses the OS/2
compuserve forums I would appreciate having my last post transcribed
to there.

Bob
-- 
Bob Cain    rcain@netcom.com   408-358-2007

    'The meek shall inherit the earth--the rest of us will move on..'
                                                    Sameer Parekh


               PGP 1.0 or 2.0 public key available on request.
Newsgroups: comp.os.os2.programmer
From: elr@trintex.uucp (Ed Ravin)
Subject: Named Pipes: 1.3 program breaks under 2.0
Organization: Prodigy Services Co.
Date: Thu, 7 Jan 1993 18:15:50 GMT

Here's an odd one -- I have a pair of programs that communicate over
named pipes.

The server does a DosMakeNmPipe() and then DosConnectNmPipe(),
then repeatedly does a DosRead() looking for data.  If the DosRead()
fails, I do DosResetNmPipe() and then go back to the DosConnectNmPipe().

The client does a DosOpen() of the pipe, then a DosWrite() of the
message, then immediately does a DosClose().

Under OS/2 1.3, this all worked OK.  But when I moved the programs to
OS/2 2.0, they started breaking -- the server gets an error 109 (pipe
broken) while waiting for the client in DosConnectNmPipe().

I modified the client to sleep 5 seconds before doing the DosClose(), and
now everything works like it used to.  Somehow, the DosClose() was getting
ahead of the data written to the pipe and canceling the transaction.

What did IBM change in OS/2 2.0 with named pipes?
-- 
Ed Ravin- elr@trintex.uucp| I like to think (and the sooner the better!)
  elr%trintex@uunet.uu.net| Of a cybernetic meadow where mammals and computers
           +1-914-993-4737| Live together in mutually programming harmony
my opinions, nobody else's| Like pure water touching clear sky.  -R. Brautigan
Newsgroups: comp.os.os2.programmer,comp.os.os2.advocacy,comp.os.os2.networking
From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
Subject: OS/2 Frequently Asked Questions List 2.0i Now Available
Followup-To: comp.os.os2.misc
Reply-To: sip1@midway.uchicago.edu
Organization: Dept. of Econ., Univ. of Chicago
Date: Sat, 9 Jan 1993 06:11:11 GMT

The OS/2 Frequently Asked Questions List, Release 2.0i, January 9,
1993, has been posted to newsgroups comp.os.os2.misc,
comp.os.os2.apps, and news.answers.

It is available via anonymous ftp from ftp-os2.nmsu.edu.  It is
presently in directory /pub/uploads, but it will be moved to
/pub/os2/all/info/faq.

This release adds no new questions, but it does add several specifics,
notably a new chart listing current SuperVGA support for OS/2 2.x.

-- 
Timothy F. Sipples      | Read the OS/2 FAQ List 2.0h, available from
sip1@ellis.uchicago.edu | 128.123.35.151, anonymous ftp, in /pub/os2/all/info
Dept. of Econ., Univ.   | /faq, or from LISTSERV@BLEKUL11.BITNET (send "HELP")
of Chicago, 60637       | [Read the List, THEN post to ONE OS/2 newsgroup.]
Newsgroups: comp.os.os2.programmer
From: feustel@netcom.com (David Feustel)
Subject: CSet/2 Beta C++ Linking Problem
Organization: DAFCO: OS/2 Software Support & Consulting
Date: Sat, 9 Jan 1993 00:10:08 GMT

#include <iostream.h>
void main(int argc,char *argv[])
{
	cout << "Hello, World\n";
}

compiles and links correctly with no flags (i.e. static linking).
The same program fails to link ( cout and one other symbol undefined)
when the /Gd+ flag (dynamic linking) is used.

Does anyone know why htis happens and what the fix is?
Thanks.
-- 
Dave Feustel N9MYI <feustel@netcom.com>
 
                        Happy Holidays to ALL!!!
Newsgroups: comp.os.os2.programmer
From: skagos@mercury.cs.uregina.ca (Takis Skagos)
Subject: Re: malloc() and swapper.dat problems ....
Date: Mon, 11 Jan 1993 22:13:09 GMT
Organization: University of Regina, SK, Canada

In article <1993Jan10.200412.454149@sue.cc.uregina.ca> skagos@mercury.cs.uregina.ca (Takis Skagos) writes:
>
>#include <stdio.h>
>
>main()
>{
>  int k = 0;
>  int *p;
>  setbuf(stdout,NULL); setbuf(stdin,NULL);
>  p = (int *) malloc(12000000);  /* bytes */
>  printf("\n malloced 12000000 bytes.");
>  while(k <           10000000 )
>  {
>    p[k] = 1;
>    k++;
>    if(k % 10000 == 0)
>      putchar('.');
>  }
>  free(p);
>  printf("\n freed 12000000 bytes.\n");
>}
>

Yes ... I AM A FOOL!  Integers are  4 bytes!  UGH!  I hate it when I
do these silly mistakes.  Oh well.   It should read something like
"while (k < 3000000)".  UGH!

  P. Takis Skagos
  (skagos@cs.uregina.ca)
From: rvaniwaa@copper.denver.colorado.edu (Ronald J. Vaniwaarden)
Newsgroups: comp.os.os2.programmer
Subject: gnu make rebult for emx0.8f now on HOBBES
Date: 6 Jan 93 15:31:05 GMT
Organization: University of Colorado at Denver

I just uploaded a rebuilt version of gnu make to Hobbes.  It can be found in
the uploads directory.

--Ronald Van Iwaarden
Newsgroups: comp.os.os2.programmer
Subject: Re: A bug in EPM/Workframe and a workaround.
From: DEMOGRB@LUST.LATROBE.EDU.AU (BAKER,Gavin)
Date: Mon, 4 Jan 1993 04:34:56 GMT
Organization: La Trobe University
X-News-Reader: VMS NEWS 1.24

In <1i7pdeINNi7c@iskut.ucs.ubc.ca> duffy@theory.chem.ubc.ca writes:

> Hi All,
> 
> A while ago I got the WorkSet/2 package (gotta love those promotional deals :-)
> and just today got around to playing with it.  I went through the tutorial
> fine, except when I got to the part about moving the cursor over printf and
> typing ctl-h (in EPM) to get help for it.  
> 
> Well, I was puzzled, since the install program had put the environment
> variable 
> 
> SET HELPNDX=DDE4.NDX+EPMKWHLP.NDX 
> 
> (or something like that) into my config.sys for me when I had installed it some-
> time ago.  
> 
> I played around a bit and finally got the online help to work by putting the
> full path names of the two files in question into that environment variable
> and restarting.  For the record, I had installed to drive d, but left all other
> options alone.
> 
> I don't know if this was a known bug before I found it, but if it wasn't, it is
> now.  If it was, is there a fix (in the form of a CSD) I can apply to correct
> this?
> -- 
> Patrick Duffy, duffy@theory.chem.ubc.ca 
> 
> "It's raining cats?  You open the skylight, I'll get the relish."
> 				-- Alf


Well, this is not a bug at all.  It's just the setup - if you check the readme
that came with the toolkit, it says to add C:\TOOLKT20\BOOK to your DPATH
so it can find the files.  If you do this, you shouldn't need absolute paths
in the env. variable.

Rgds,

Gavin
/\/\

Xref: sparky comp.os.os2.programmer:7532 comp.os.os2.advocacy:12141
From: hendrik@vedge.com (Hendrik Boom)
Newsgroups: comp.os.os2.programmer,comp.os.os2.advocacy
Subject: Re: Why you should get everything in writing (long)
Date: 11 Jan 93 19:16:18 GMT
Organization: Visual Edge Software Ltd.

wcn@cs.brown.edu (Wen-Chun Ni) writes:
: In article <1993Jan8.002640.5554@gandalf.UMCS.Maine.EDU> jurlwin@gandalf.UMCS.Maine.EDU (Jeff Urlwin) writes:
:   <stuffs from Robert and Brian deleted>
: 
: The unfortunate event occurring to Robert is very messy now, and I hope
: that anybody SHOULD NOT take advantage of the situation to raise another
: thread of OS/2 vs. NT nonsense. Nobody can insure that Microsoft won't
: do the same thing to Robert. I sincerely hope that Robert won't be hurt
: the second time.
: 

It looks to me as if Microsoft did it to IBM by bailing ot of OS/2
and Robert got screwed in the process (because Microsoft's source to the
generic printer driver was no longer available).

-- 
-------------------------------------------------------
Try one or more of the following addresses to reply.
at work:	hendrik@vedge.com,  iros1!vedge!hendrik
at home:	uunet!ozrout!topoi!hendrik
Newsgroups: comp.os.os2.programmer
From: jurlwin@gandalf.UMCS.Maine.EDU (Jeff Urlwin)
Subject: Re: malloc() and swapper.dat problems ....
Organization: University of Maine, Department of Computer Science
Date: Mon, 11 Jan 1993 20:26:09 GMT

In article <1993Jan10.200412.454149@sue.cc.uregina.ca> skagos@mercury.cs.uregina.ca (Takis Skagos) writes:
>Hi,
>
>  I was curious to see how OS/2 handled malloc()ing big chunks of
>memory, so I wrote a quick and really-dirty program last night to
>test out some stuff.  Anyway, the program dumped core before
>completing.  Here is a copy of the code and following that is a
>copy of what was displayed when the program dumped.  By the way,
>I used "icc -c-" and "icc -c- -gd+" to compile the program, but the
>same thing happened either way.

Yes, it will.  Basically, you are not "malloc"ing enough space to skip
through 10 million integers.  You should really try:

p = malloc(10000000 * sizeof(int));
if (p == NULL)
{
  fprintf(stderr, "Malloc failed to allocate space...\n");
  exit(1);
}

(which will, using CSet/2, allocate 40 Million bytes...)  The sizeof(int)
allows the compiler to tell you how much it needs for each int size 
variable.  This will allow you to move the code to any platform, assuming,
of course, that you can allocate 10 million of these items... The if statement
should help in that situation...

OS/2 helps protect you from going past your own executable's bounds in
memory (like any GOOD protected OS...).  Essentially, when your program
tries to assign p[k] = 1 when k >= 3,000,000, you are out of bounds of
what you allocated.  The system could "dump core" anywhere after you are
out of bounds, but MAY not (if you don't go out of your executable's 
address space).  

A nice, safe, way to handle this could be:

#define MYMAX 10000000
...
p = malloc(MYMAX * sizeof(int)); 
if (p == NULL)
{
  fprintf(stderr, "Malloc failed to allocate space for %d items\n", MYMAX);
  exit(1);
}
...
while(k < MYMAX)
....
>
>---source code---
>
>#include <stdio.h>
>
>main()
>{
>  int k = 0;
>  int *p;
>  setbuf(stdout,NULL); setbuf(stdin,NULL);
>  p = (int *) malloc(12000000);  /* bytes */
>  printf("\n malloced 12000000 bytes.");
>  while(k <           10000000 )
>  {
>    p[k] = 1;
>    k++;
>    if(k % 10000 == 0)
>      putchar('.');
>  }
>  free(p);
>  printf("\n freed 12000000 bytes.\n");
>}
>
>---output---
>

That should fix it...

By the way, this code *could* fail on any Unix system too...

Jeff



-- 
--------------------------------------
jurlwin@gandalf.umcs.maine.edu

Newsgroups: comp.os.os2.programmer
From: stewarta@netcom.com (Alex Stewart)
Subject: Re: Putting Icons onto pushbuttons ?
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
X-Newsreader: Tin 1.1 PL5
Date: Fri, 8 Jan 1993 09:14:04 GMT

Jrn Norheim (benji@Lise.Unit.NO) wrote:
: I am trying to  make a PM application that use pushbuttons quite heavily. I would
: like to put Icons or Bitmaps onto these buttons, but I have not figgured out
: quite how to do this. I would prefer to attach the Icons or Bitmaps to the button
: without having to make a userbutton and catching the BN_PAINT message.

You might want to take a look at /pub/os2/2.0/programming/frmsub.zip on
ftp-os2.nmsu.edu.  I believe it does this, and as I remember it didn't take a
lot of coding.

-alex
-- 
-----------------------------------------------------------------------------
Alex Stewart:         Sysop of YBBS (510) 689-8952 |   This space for rent.
stewarta@netcom.com   .----------------------------'-------------------------
stewarta@carleton.edu | Somebody, somewhere, is offended by what I am saying.
-----------------------------------------------------------------------------
From: haug@zesi.do.open.de (Haug Buerger)
Newsgroups: comp.os.os2.programmer
Subject: Unix lib?
Date: 9 Jan 93 20:48:59 GMT
Organization: private

I'm still waiting for a library that supports all the "standart" Unix
library functions. Why is every program including the printf() stuff,
that's stuff for a dll, like the stringfunctions ...
I have found dirent source in a EMX archive and i have a version of the
zlib. I'm looking for a C standart library source and some pipe routines
to put them in a library. I don't want to do things twice is there any
such library?

Thanks,
            Haug

# haug@zesi.do.open.de (Haug Buerger)
# save a tree use email
Newsgroups: comp.os.os2.programmer,comp.os.os2.advocacy
From: greve@rs1.thch.uni-bonn.de (Thomas Greve)
Subject: Re: Fixed point sqrt anyone?
Organization: University of Bonn, phys. Chemistry
Date: Fri, 8 Jan 1993 13:44:38 GMT

In article <1idsq6INNced@flop.ENGR.ORST.EDU> murrayk@prism.CS.ORST.EDU (the Dodger) writes:
>
>Well? Does anyone know of a quick and dirty way to get a reasonably accurate
>square root of a fixed point integer number? My numbers are stored in a 16.16
>bit format. I've heard of a few ways, but I'm open for ideas. I just want to
>keep on avoiding floating point for ethical reasons. 8^)
I have read a method for integers in a computer magazine some time
ago, and it should work for fixed point numbers, also.

Here we go: You can interpret the 16.16 number as (32bit int)/(2^16),
true? The result can be up to 8.16 accurate, but this depends on the
upper 16 bits of your fixed point number. I'll show you a fast way for
8.8 accuracy and leave the remaining 8 bit as an exercise to the
reader ;-)...

The way to go is succesive approximation:
root is the (yet to be calculated) root  8, radicant is the radicant
<< 16, which is obtained by simply interpreting the fix as long.

	for (j = 128, root = 0; j || root*root == radicant; j >>= 1)
	  if ((root + j)*(root + j) >= radicant)
	    root += j;
	root <<= 8;	/* now you can cast it back to the fix format */

If you need performance, you can do some bit optimization by
calculating (root + j)^2 iteratively from the last value:

	for (j = 128, jj = 16384, root = 0, rr2 = rr = 0;
			 j || rr = radicant; j >>= 1, jj >>= 2, rr2 >>= 1)
	  if ((rr1 = rr + rr2 + jj) >= radicant)
	    root += j, rr = rr1, /* = root^2 */ rr2 += jj*2 /* = 2*root*j */; 

-- 
				- Thomas

   greve@rs1.thch.uni-bonn.de
   unt145@dbnrhrz1
From: tcscs!zeta@src.honeywell.com (Gregory Youngblood)
Newsgroups: comp.os.os2.programmer
Subject: Re: Surrendering timeslice under DOS?
Date: Sat, 09 Jan 93 12:11:53 CST
Reply-To: zeta%tcscs@src.honeywell.com
Organization: TCS Consulting Services

>kevin@wicat.com (Kevin Vigor) writes:

> Once you know you're in an OS/2 DOS box, calling interrupt 2F with AX set 
> 01680h will release the timeslice.
> 
Does anyone know how to do this in pascal?

.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.
.   TCS Consulting Services   P.O. Box 600008   St. Paul, MN  55106-0008    .
.   ..!srcsip!tcscs!zeta                 ..!src.honeywell.com!tcscs!zeta    .
.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.
Newsgroups: comp.os.os2.programmer
From: 5692330@mcimail.com  (Robert Gammon)
Subject: Re: FORTRAN for OS/2?
Nntp-Software: PC/TCP NNTP
Organization: Texas Instruments Materials and Controls Group
Date: Thu, 7 Jan 1993 23:00:13 GMT

In article <1993Jan7.131732.5595@cs.joensuu.fi> jahonen@cs.joensuu.fi (Jarmo Ahonen) writes:

 >> 
 >> Hello everybody,
 >> 
 >> Is there somewhere a decent FORTRAN compiler for OS/2 2.0?
 >> A FORTRAN-90 compiler would be nice, but -77 compiler is
 >> OK (hopefully it would have some -90 extensions).
 >> 
 >> If you do know a company that sells such a beast, then please
 >> inform me about the costs and wherefrom can I get it. 
 >> 
 >> Thanks in advance,
 >> 
 >> Jarmo J. Ahonen

Try the Watcom Fortran 77 compiler.  The Programmer's shop sells two
versions at $449 and $795  a fax sheet for each is available by calling
617-740-0025.  Each fax sheet comes with an order form including
voice phone numbers.  the fax ids are 1044-032 and 1044-034.
--
Regards,
Robert Gammon
(713)-274-3299       (voice)
(713)-274-2324       (fax)
5692330@mcimail.com  (Internet)
From: kevin@wicat.com (Kevin Vigor)
Newsgroups: comp.os.os2.programmer
Subject: Re: Surrendering timeslice under DOS?
Date: 5 Jan 93 23:13:03 GMT
Reply-To: kevin@elvis.wicat.com
Organization: WICAT Systems

David James Alexander Hanley <U16244@uicvm.uic.edu> writes:

>(global) int under_os2 = test_under_os2();

>{
>..
>..
>  while ( !kbhit() && !mouse_pressed() )
>    if ( under_os2 ) surrender_timeslice();
>}

>  Okay, that's not the most efficent way, but you see that I mean.  It
>drives me nuts to have a dos program that needs 3% of the CPU consuming
>100% of it.


<who maintains the FAQ for this group? This should probably be included...>

Anyway, there is some debate as to how best to determine if you're running
in an OS/2 DOS box. Myself, I prefer to check the DOS version; if the major
version is 20 or above, you're under OS/2 2.x.

Once you know you're in an OS/2 DOS box, calling interrupt 2F with AX set to
01680h will release the timeslice.

I have no idea if it works in OS/2 versions previous to 2.0; I do know it
works under Windows 3.x.

dd

-- 
		Peace & PopTarts, 
			Kevin
Email to the reply address will almost certainly bounce; use
72500.3705@compuserve.com
Newsgroups: comp.os.os2.programmer
Subject: Re: Putting Icons onto pushbuttons ?
From: DEMOGRB@LUST.LATROBE.EDU.AU (BAKER,Gavin)
Date: Mon, 4 Jan 1993 04:20:45 GMT
Organization: La Trobe University
X-News-Reader: VMS NEWS 1.24

In <1992Dec29.171040.955@panix.com> os2man@panix.com writes:

> In <1992Dec29.125326.5216@ugle.unit.no> benji@Lise.Unit.NO (Jrn Norheim) writes:
> 
> >I am trying to  make a PM application that use pushbuttons quite heavily. I 
> >would like to put Icons or Bitmaps onto these buttons, but I have not figured
> >out quite how to do this. I would prefer to attach the Icons or Bitmaps 
> >to the button without having to make a userbutton and catching the BN_PAINT
> >message.
> 
> >If anyone could help me with this problem, I would appreciate it very much.
> 
> The only way to do this is to make it/them userbutton(s) as you described.
> Of course, I could be wrong (and would appreciate a correction, if so).
> 
> Cheers,
> Q
> -- 
> "If you choose not to decide, you  | "My other body is in the shop" - seen
>  still have made a choice" - Rush  |  on a T-shirt
> ------------------------------------------------------------------------

I have been through the PM Ref online docs, as I needed to do the same thing,
and unsuccessfully tried to use the BS_ICON flag.

Using a BS_ICON style button, I had to use the pCtlData in WinCreateWindow
filling the BTNCDATA with the appropriate data.  This seemed to fail no
matter what I did.

So, I wrote my own button.  It handles text and bitmaps, and can also be
two-state (for a toggle), which was something else I needed.  It wasn't
that hard, really.  If you're interested, I can mail you sample code.

Also, have a look at the MMPM toolkit.  (I found this out _after_ I'd
written my own BUTTON control).  IBM have implemented a Bitmap button
which handles text, icons, bitmaps, and animations, as well as two-states.
Exactly what I needed, but until MM is included with the base product,
I can't use it.  Still, once 2.1 comes out it should be included, which
will make things a lot easier.

Hope this helps!

Gavin
------
demogrb@lust.latrobe.edu.au
.sig under construction

Newsgroups: comp.os.os2.programmer
From: gmcarthu@napier.uwaterloo.ca (Grant McArthur)
Subject: Re: Printing ASCII
Summary: DosOpen() 
Organization: University of Waterloo
Distribution: na
Date: Thu, 7 Jan 1993 21:46:18 GMT

In article <1ihok0INNmb8@morrow.stanford.edu> GG.MPD@forsythe.stanford.edu (Michael Durket) writes:
>Is there an interface into OS/2 printing that allows you to
>submit an ASCII file to be printed on any printer (i.e. does
>OS/2 have a general purpose ASCII to printer-dependent page
>formatting routine)? I'd like to avoid writing a routine to
>do this for my program if one already exists that I can use.
>
>Any assistance is appreciated.

Use LPT1: (or whatever printer port you wish) like a file.  Use DosOpen with 
LPT1: as the file name, and then treat it like a file with DosWrite() calls.

I found that worked nicely for printed ASCII to a printer.  (My case was 
information tables to a HP emulating printer by the NULL printer driver.)

Hope this helps,
Grant McArthur
University of Waterloo
Waterloo, Ontario, Canada
Organization: University of Illinois at Chicago
Date: Monday, 4 Jan 1993 22:56:26 CST
From: Bob Jackiewicz <U09046@uicvm.uic.edu>
Newsgroups: comp.os.os2.programmer
Subject: Creating windows with WinCreateStdWindow

I have a parent window defined. I then create child windows. Maybe 50%
of the time, however, the title bar of the child window is created 'under'
the menu bar of the parent window. That is, the child's title bar is
hidden under the parent's menu bar, or even further 'up.'

   Now, one way to take care of this is to call WinSetWindowPos with
SWP_MAXIMIZE to maximize the window. However, when I go back to a
non-maximized window, the title bar goes back to it's
original position. Is there a way to take care of this initial position?
Am I doomed to WinCreateWindow?

On a related note, is there any way to create a maximized window with
WinCreateStdWindow? It states in the online docs that all WS_
parameters affect the window style, except WS_MAXIMIZED and WS_MINMIZED
(so why are they there??). Right now, I'm doing it as above, with
WinSetWindowPos.

  Brought to you by the sick mind of      University of Illinois at Chicago
  Bob Jackiewicz, writer of wrongs,                    BITNET: U09046@UICVM
  wronger of rights; not UIC.                InterNet: U09046@uicvm.uic.edu
  Windows: From the people who brought you EDLIN!