HDTenEightyP/NetNews huggingface dataset:
From: nuscss1@vms1.iscs.nus.sg (Vax BULLET-IN-Board SysOps)
Subject: Window's co-ordinates ?
News-Software: VAX/VMS VNEWS 1.41    
Organization: National University of Singapore Dept. of Computer Sc.
Date: Sun, 13 Dec 1992 02:27:00 GMT

	Hi Gurus,

	I have this app in which some text is positioned and printed
	in a window using the TextOut function.  Mapping mode is the
	default MM_TEXT. In normal VGA mode, it
	works flawlessly. BUT, when I switch to SuperVGA with LARGE fonts,
	the text are wrongly positioned ! However, SuperVGA with SMALL fonts
	presents no such problem. 

	I'm really puzzled at this. Does the way Windows handles coordinates
	differ with different font sizes ? I've always thought that TextOut
	uses the logical coordinates, and therefore, Windows should be able
	to take care of any differences. Apparently I was mistaken.

	Any advice/tips/help would be greatly appreciated.
	Thanx. 

	BTW, I've tried this out on a Paradise SuperVGA and a Taiwanese
	Tseng Labs SuperVGA card, installed the 800x600 large font drivers,
	and both had the same problem.
From: kimmel@staff.tc.umn.edu (Eric Kimmel)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: how to find parentless non-child windows?
Date: 20 Dec 92 21:32:29 GMT
Organization: University of Minnesota

In article <1992Dec19.022439.8466@emr1.emr.ca> jagrant@emr1.emr.ca (John Grant) writes:
>My app behaves a bit like a MDI app, but not quite.  From the main
>window, several other parentless non-child windows can be created as
>follows:
>	CreateWindow("xxx",NULL,
>			WS_OVERLAPPED  | WS_CAPTION    |
>			WS_SYSMENU     | WS_THICKFRAME |
>			WS_MINIMIZEBOX | WS_MAXIMIZEBOX,
>			CW_USEDEFAULT,CW_USEDEFAULT,
>			CW_USEDEFAULT,CW_USEDEFAULT,
>			NULL,           //note - no parent
>			NULL,                           
>			hinstance,(LPVOID)xxx);
>
>Note: they have *no parent* and they are *not* WS_CHILD.
>
>When I close the application from the main window, these secondary
>windows do not receive WM_DESTROY (I breakpointed WM_DESTROY and
>it never gets there).  I guess the main window only sends WM_DESTROY
>messages to them if they have a parent and/or if they are WS_CHILD?
>Is that right?
>
>So, when I process WM_DESTROY for the main window, I want to find
>all of the secondary windows and shut them down too (so they can
>de-allocate their resources).  I tried doing this when I get
>WM_DESTROY for the main window:
>
>  void DestroySecondaryWindows(void){
>  HWND hwnd;
>	while((hwnd=FindWindow("xxx",NULL)){
>	  SendMessage(hwnd,WM_DESTROY,0,0);
>	}
>	return;
>  }
>
>Well, close but not quite.  The secondary window receives several
>WM_DESTROY messages, even though I am using 'Send' instead of 'Post'.
>I guess I need to wait until each window is destroyed before I
>try to 'find' another one?  If so, how?  
>
>I had a glance at GetWindow, but I'm a bit confused by it - should
>I be using GetWindow instead of FindWindow?  The problem is that the
>secondary windows have *no parent*.
>
I'd use:

PostMessage(hWnd,WM_CLOSE,0,0L);

instead of your SendMessage.  Additionally you can now redefine the WM_CLOSE
command to do other stuff like ask the user for confirmation.  If you don't
redefine it, it calls DestroyWindow, which is what you want.  -Rick

>-- 
>John A. Grant						jagrant@emr1.emr.ca
>Airborne Geophysics
>Geological Survey of Canada, Ottawa
Newsgroups: comp.os.ms-windows.programmer.misc
From: chris@chrism.demon.co.uk (Chris Marriott)
Subject: Re: FONT in TEDITWINDOW 
Distribution: world
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Date: Mon, 14 Dec 1992 18:33:17 +0000

In article <1992Dec13.192501.466@uoft02.utoledo.edu> tdani@uoft02.utoledo.edu writes:

>        I am using Turbo C++ for Windows to write an app.
>        It involves using a class derived from TEditWindow class. However i
>am not able to find a way to change the default Font of the text in the Edit
>Window.
>        Any ideas? Suggestions as to how to solve this problem.
>Tushar Dani
>Univ. of Toledo
>
>
I've no experience of Turbo C++, but the "normal" way to change the font
used by an edit control is to create the logical font you'd like to use
in the edit control, then send the control a "WM_SETFONT" message, passing
the font handle as the "wParam" argument of the message.
-- 
--------------------------------------------------------------------------
| Chris Marriott                           | chris@chrism.demon.co.uk    |
| Warrington, UK                           | BIX: cmarriott              |
| (Still awaiting inspiration              | CIX: cmarriott              |
|  for a witty .sig .... )                 | CompuServe: 100113,1140     |
--------------------------------------------------------------------------
From: ps@uta.fi (Pertti Suomela)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Create buttons dynamically, how?
Date: 14 Dec 92 21:37:06 GMT
Distribution: comp
Organization: Tampere University, Finland

How can you create buttons dynamically? That is, how the application
can decide during run-time the number and the positions of the buttons
it wants to create? All the demonstration programs (BC++/AF/OWL) seem
to have a fixed number of buttons. Some other button-like control
could serve as well, as long I can create and destroy them
dynamically.
--
Pertti Suomela

Internet: ps@uta.fi
X.400:    G=Pertti S=Suomela O=uta ADMD=fumail C=fi
From: cm@cmm.ovum.ka.sub.org (Christoph Mueller)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: where is my listbox horizontal scrollbar?
Keywords: Listbox, vertical scrolling
Date: Thu, 17 Dec 92 22:59:55 CET
Distribution: world
Organization: Christoph's PC, Karlsruhe, Germany

muffy@remarque.berkeley.edu (Muffy Barkocy) writes:

>
> I have created an MDI child window which has a listbox as its child.
> When I resize the MDI child window, I resize the listbox to fit in it.
> The listbox is created with WS_HSCROLL and WS_VSCROLL.  The vertical
> scroll bar is fine, but the horizontal one refuses to appear.  I tried
> doing a "ShowScrollBar," and it flashes in briefly, but then goes away
> again, even if I have resized the window so small that the listbox items
> definitely do not fit.
>
> Can anyone help?
>
> Thanks...
>
> Muffy

There was an article on this subject on the Microsoft Developers Network CD.
(it should also be available via ftp on ftp.uu.net in the
vendor/microsoft/developer-network/user directory)
I haven't tried this yet but I will summarize the article briefly.

Use WS_HSCROLL and WS_VSCROLL styles.

The problem is that while vertical scrolling is handled automatically by
the control, it needs some help with horizontal scrolling.
You need to supply the listbox with the extent of the longest visible
string: * Select the listbox font (WM_GETFONT) into the device context of
          the listbox.
        * With that device context get the text extent (GetTextExtent).
        * Add buffer to compensate for clipping (use text extent of 'X'
          as approximation, use same device context/font)
        * Send a LB_SETHORIZONTLEXTENT message to the listbox with the
          text extent you just calculated.
        * In Windows 3.0, maybe you have to cause the listbox to redraw
          its content

Hope this helps.
Hope you get done before Christmas.
Hope you have Happy Holidays.
Christoph.

---Christoph, Germany    ---   cm@cmm.ovum.ka.sub.org
-------------------------------------------------------------------------
Dysklaemours?  What's that?  How do you spell that?  Do I need that?
I  *AM*  the  SYSTEM,  the  EMPLOYER,  and  the  ORGANIZATION  !!
From: lfosdal@falcon.no (Lars Fosdal)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Developers Network program - What price ?
Date: 17 Dec 92 15:11:18 GMT
Organization: Falcon Information Services AS, Oslo, Norway


Would some of you that joined the Microsoft Developers Network program,
*mail* me the price you had to pay ?

One Canadian suggested it costed him approx US$20, so I suddenly got
this baaad feeling...

We paid 900 NOK (US$ 140) for the rest of 1992, and the yearly 
subscription is 3000 NOK (US$ 460), according to the Norwegian MS rep.

Lars F.

--
/ Mr.Lars Fosdal, Software Developer, Financial Analysis Systems  /
/ Falcon Information Services AS, Stranden 1, N-0250 Oslo, Norway /
/ E-mail:lfosdal@falcon.no  Tel:(47-2) 831310  Fax:(47-2) 831290  /
-- All opinions are personal and does not reflect company policy --
Newsgroups: comp.os.ms-windows.programmer.win32
From: calwa@bnr.ca
Subject: Re: Has anyone in Europe got Win NT Oct?
Organization: Bell-Northern Research
Date: Wed, 16 Dec 1992 15:15:45 GMT

In article <daavid.724490390@wombaj.kowari.cpsg.com.au> daavid@bohra.cpg.oz.au
(Daavid Turnbull) writes:
>nevries@accucx.cc.ruu.nl (Nico E de Vries) writes:
>
>>>Has anyone outside US got their October release of Win NT?
>>>I live in Sweden and I still haven't got my October (December?) release!
>
>Here in Australia we harrased Microsoft pretty hard and our first
>copy arrived on Monday, our second today.  We have let Microsoft
>here in oz know that we are rather sick of being treated as second
>class citizens just because we are not working from the states.

Ditto.  You'd think that since Canada couldn't be much closer to the 
US than it is (in fact Redmond is pretty darned close to Vancouver),
and since many of MS's developers are Canadian ex-pats, that we'd 
get service similar to that in the States.  Not so.  Although things
are getting better (especially since the start of the MS Developer
Network) we are still a month or more behind the US in getting development
tools.  Not as bad as Oz or Europe, perhaps, but still not good.


There are those who believe (not  including me) that MS gives priority to US
developers as a way of appeasing the US government.  The FTC is not as likely
to crack down, the theory goes, on a company which is the dominant worldwide
force in S/W and gives an edge to developers State-side.  

I suspect the slowness is due to several factors:
   - customs delays/tariffs
   - lack of staff/interest at MS branch offices
   - having thousands of boxes to ship and wanting to get the easy ones (i.e.,
US shipments without paperwork) out of the way first.

Kevin Chapman
Bell-Northern Research
Ottawa, Ontario
 

Newsgroups: comp.os.ms-windows.programmer.win32
From: sramsdell@ws19.ips.iacd.honeywell.com (Steve Ramsdell)
Subject: Diamond Stealth 24 for VESA local bus
Organization: Honeywell Industrial Automation & Control
Distribution: comp.os.ms-windows.programmer.win32
Date: Thu, 17 Dec 92 19:47:25 GMT

I was told by a salesperson that this card can run with the same drivers
as the current Stealth, which is on the Windows NT compatibility list.
Does anyone have information that supports or contradicts this?  This
board is claimed (by one vendor) to be faster than the ATI Ultra Pro VLB,
so I am considering it for a system that will run NT, but would first like
some assurances that I can use it at better than 640x480.  Diamond Computer
Systems told me on the phone that they will not produce drivers for NT
until it is released.

Please reply by email to the address below, as any posts to this group will
expire before I will read the news again (January).

Thanks for any information.
-- 

Steve Ramsdell
Honeywell, Inc.
sramsdell@ips.iacd.honeywell.com
From: matt@CIS.Prime.COM (Matt Judenfreund)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: Has anyone in Europe got Win NT Oct?
Date: 15 Dec 92 14:34:45 GMT
Reply-To: matt@CIS.Prime.COM
Organization: Computervision R&D Ltd


In article 724317807@meryl, tomwii@meryl.csd.uu.se (Tomas Wiiand) writes:
> Has anyone outside US got their October release of Win NT?
> 
> I live in Sweden and I still haven't got my October (December?) release!
> 

It arrived in the UK on 24th November...  Customs, (mumble, mumble) is cited for the
delay between the US version and rest of the world.

Matt
From: toddy@uni-paderborn.de (Thomas Rose)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Some Questions about NT
Date: 16 Dec 1992 09:42:28 GMT
Organization: Uni-GH Paderborn, Germany
Distribution: world
NNTP-Posting-Host: buche.uni-paderborn.de

Hi !

I have my October Release now for 5 Days, and i have some Questions :

	1. Is there any way (not compuserve) to post Errors, problems
	    or bugs to microsoft via elm.

	2. Are ther Drivers for Tseng ET4000 Cards (256 Colours Mode
	    ore higher) ?

	3. Are there people who use Wangtek 5150 ES SCSI Streamer with
	   Nt ?


         Thanks

                Tom


   toddy@uni-paderborn.de

From: vlj@hpfcso.FC.HP.COM (Victor Johnson)
Date: Wed, 16 Dec 1992 18:46:13 GMT
Subject: Re: Installation Problem on EISA KT486/33
Organization: Dances with Hawks
Newsgroups: comp.os.ms-windows.programmer.win32

In comp.os.ms-windows.programmer.win32, kewta@solomon.technet.sg (Kew Tow Ann) writes:

>  Help desperately needed!
> My system configuration is a EISA based KT486/33 with 16 MB RAM, 647 MB
> harddisk and a Hitachi CDR1700S CD ROM. I chose to use the dos2nt option for
> setting up as the CDROM is not supported. My Windows NT is the July 92
> version.
> 
> The installation was smooth. I set up my CD ROM following the installation
> procedure and could get it up and recognised as drive d: Next I followed the
> installation guide in Windows NT using the dos2nt option and could get up to
> Step 7 pg 11 of the release notes.
> When I reboot the system, I get the following message:
> 
>  WARNING! - Incorrect EISA memory configuration information
>             Windows NT will use the ISA memory configuration information.
> 
> Anybody has any idea what this mean?

  This most likely comes from your EISA configuration not being set for
  your 16 MB of memory.  Use your EISA utilities to correctly specify
  16 MB ram and this message should go away.  However, I do not think
  it is related to your other problem and I plead ignorance on how to
  mitigate it.

> The system then goes into the Flexboot and when I selected Windows NT, it
> gave the following message and hang:
> 
>   Microsft Windows NT  - Preliminary release for Developers
>   MmInit : 16064 Kb Available Memory
>   Fatal System Error : 0x00000069
>   Phase 1 I/O initialization failed
> 
> After this, the system completely hangs and only RESET could get it back.
> Ctrl-Alt-Del doesn't worked. I tried reinstalling  it a couple more times
> with the same results. I hope someone out there can help me.
> 
> Thanks and regards.

  Cheers,
  Victor "Dances with Betas" Johnson
  ----------------------------------
Newsgroups: comp.os.ms-windows.programmer.win32
From: johnm@CIS.Prime.COM (John Mason)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Porting X applications to NT/Win32
Date: 17 Dec 92 16:19:21 GMT
Reply-To: johnm@CIS.Prime.COM
Organization: Computervision R&D Ltd


I am currently looking into the feasibility of porting an X application to
Windows NT/Win32. My X application consists of two cooperating processes; a
UI engine and a graphics engine. Amongst other things, the UI engine is responsible
for creating graphics windows within a strictly defined presentation area, and then
passing the handles to these graphics windows to the graphics engine. The graphics
engine is then able to draw graphics and process X events in these windows, just as
if it had created the windows itself. My question is this. Will Windows NT/Win32
support this type of architecture (ie sharing windows between different processes) ?

Thanks
John Mason
Newsgroups: comp.os.ms-windows.programmer.win32
From: tad@wrq.com (Tad Marshall)
Subject: Re: Developing Regular Winapps On NT?
Organization: Walker Richer & Quinn, Inc., Seattle, WA
Date: Tue, 15 Dec 1992 03:32:40 GMT

In article <1gj243INN4si@smurf.sti.com> westes@smurf.sti.com (Will Estes) writes:
>Has anyone out there been using NT as a platform for the development of
>straight Win-16 Windows 3.1 apps?  Would it be better to use the
>NT-supplied SDK and 7.0 compiler to do this, or the Win-16 7.0 compiler
>now in commercial distribution?

Last time I tried, the commercial MS C 7.0 compiler wouldn't run under NT.
Have you found a way to make it work?

Also, I don't think the NT compiler can produce 16-bit code yet.

If this can be done, please let me know!

-- Tad
From: news@news.Brown.EDU (Netnews Maintenance)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: Mach32 & 16Meg
Date: 20 Dec 1992 22:40:52 -0500
Organization: Brown University -- Providence, Rhode Island  USA
Distribution: world
NNTP-Posting-Host: cat.cis.brown.edu
Keywords: ATI ISA Memory Aperture

Just to follow up to my own article and help ease ATI's FUD problems:

Let me say that I've gotten my the problem solved.  It seems I 
overlooked one small detail in installing the drivers: power-cycling
the machine.  it seems that enabling the aperture and saving that state
to the EEPROM requires a power cycle for the card to re-read the
settings....

I wish to thank ATI for making the drivers available, and all the people
who said "what's your problem, works fine for me" for forcing me to go
back and examine my own actions.  The problem was not with where the
aperture was set, although the way these beta drivers behave when
NT is initializing led me to believe so (there is visible flicker on the
screen, which implied to me that video memory was being scanned or
overwritten incorrectly, turns out that this is not the case, the
flicker happens all the time).

BTW, the new drivers work even better and faster; kudos to the ATI
developers!

I recommend that anyone who has one get the latest drivers from cica....

And one more note for the people who were concerned about getting the
ATI Ultra Pro (Local Bus version) and were worried by my previous
article: the new revision of the drivers are great, the card itself
work fine with NT, is zippy, and ATI's development efforts to date seem
to imply that they will certainly be directing their talent towards this
OS (seems there have been grumblings about ATI from the OS/2 people, you
think they'd know to wait for OS/3 [smiley goes here!] ....).

- eliel

--
Eliel Mamousette, Systems Development Group
Brown University Computing & Information Services
Email: Eliel_Mamousette@Brown.Edu
Post: CIS Box 1885 Brown University 115 Waterman St. Providence, RI 02906

-- 
James Mathiesen (with netnews hat)
internet: news@news.brown.edu
Newsgroups: comp.os.ms-windows.programmer.win32
From: chris@chrism.demon.co.uk (Chris Marriott)
Subject: Re: ANSI terminal emulation in console? 
Distribution: world
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Date: Fri, 18 Dec 1992 20:39:46 +0000

In article <1992Dec18.095040.4624@titan.ksc.nasa.gov> rushing@titan.ksc.nasa.gov writes:

>Is there any way to get ANSI terminal emulation in a console
>window?  There's a file 'ansi.sys' in the nt/system dir, but 
>sticking that into the config.sys file doesn't seem to do anything.
>The console API sample app doesn't mention anything about
>it either.
>
>-Sam Rushing
>rushing@titan.ksc.nasa.gov
>

No - Microsoft say that not including ANSI escape sequence support in
Console windows was a deliberate design decision, made for the sake of
performance.  However, ANSI support MAY appear in the retail.
Note, however, that you have all the low-level stuff you need - moving
the cursor, etc - so "rolling your own" shouldn't be too hard a job.

Chris
-- 
--------------------------------------------------------------------------
| Chris Marriott                           | chris@chrism.demon.co.uk    |
| Warrington, UK                           | BIX: cmarriott              |
| (Still awaiting inspiration              | CIX: cmarriott              |
|  for a witty .sig .... )                 | CompuServe: 100113,1140     |
--------------------------------------------------------------------------
 
Newsgroups: comp.os.ms-windows.programmer.win32
From: wright@lims01.lerc.nasa.gov (Ted Wright)
Subject: Using WinSock with Windows NT
Organization: NASA Lewis Research Center
Date: Mon, 14 Dec 1992 19:36:01 GMT

Is it possible for 16 bit Windows applications to make socket library 
calls to the 32 bit wsock32.dll library in NT?

If yes, would this work with the Win32s extensions under Windows 3.1?

Thanks, 

Ted Wright (wright@lims01.lerc.nasa.gov)
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.0

mQCNAiqvp90AAAEEAO0VFsrmnZhmALDOZEG6vPlTwB5jqM5swOkhDqJIOHOtyNug
2ZfCpsQUYcrVCKjGs4zaivEoiQxi+538mwNhL9HXQK+I3HR2xESzpJEoLiv62kMI
cwVbEw9QAuxY7Z01KHi+bNYhYQvzBczaVttPJdOTvNpbUCzWIeKXEM95WINbAAUR
tChUZWQgV3JpZ2h0IDx3cmlnaHRAbGltczAxLmxlcmMubmFzYS5nb3Y+
=uu9S
-----END PGP PUBLIC KEY BLOCK-----

Newsgroups: comp.os.ms-windows.programmer.win32
From: anzick@watson.ibm.com (Bill Anzick)
Subject: Install problems on IBM PS/2 M80
Summary: CD-ROM read errors installing on IBM PS/2 M80
Date: Tue, 15 Dec 1992 20:20:54 GMT
News-Software: IBM OS/2 PM RN (NR/2) v0.16 by O. Vishnepolsky and R. Rogers
Reply-To: anzick@watson.ibm.com
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J. Watson Research Center

I spent several days trying to install NT October Beta on an IBM PS/2 M80 A31
machine.  I would get through the phase 1 portion fine, but when phase 2 was
entered (system booted NT) and the rest of the system was being installed off
of the CD-ROM, the system would hang.  If I changed the amount of system memory
the hang would occur at a different place (% install complete).
After each hang, I would have to go back and reformat the partition because
the install process would not let me re-install over the same directory name.

I then attempted to install the July Beta.  With this system, instead of a
hang I got an error popup window stating that there were nonfatal read errors
on the CD-ROM drive.

In desperation, I removed the CD-ROM from the M80 and installed it in an
IBM PS/2 M95.  On this system, I had no problems with the install.

It would appear that there is some problem with the CD-ROM device driver
when running on the M80 A31 hardware.  That system has the IBM internal
SCSI adapter card, just as does the M95.  The BOOT install operating system
does not have any problems reading the drive nor does OS/2.

Has anyone heard of this problem before?

Bill Anzick
From: westes@smurf.sti.com (Will Estes)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Net Address For Doug Hamilton?  (Hamilton C-Shell)
Date: 14 Dec 1992 14:26:04 -0800
Organization: Mail Group
NNTP-Posting-Host: smurf.sti.com

Does anyone have a phone or email address for Doug Hamilton, author of
the Hamilton C-Shell for OS/2 and Windows/NT?  

For Microsoft: it would be really useful to have a small leaflet that
lists third-party development products available for NT bundled with the
NT pre-release CD-ROM kit.

-- 
Will Estes		Internet: westes@netcom.com
Newsgroups: comp.os.ms-windows.programmer.win32
From: chris@chrism.demon.co.uk (Chris Marriott)