HDTenEightyP/NetNews huggingface dataset:
From: dcb@mulka.ph.unimelb.edu.au (David Bell)
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.win32,comp.os.ms-windows.misc,comp.os.os2.programmer
Subject: WIN NT Beta Availability?
Date: 30 Jul 92 02:19:43 GMT
Followup-To: comp.os.ms-windows.programmer.misc
Organization: University of Melbourne, Australia



	Could any kind person send or post details on 
how to get the Windows NT beta or development cdrom.
ie, how much was it and where can I send to get it.
The Microsoft people in Australia seem to know very little
about it and it would help if I had a US reference to it.

	Many thanks for the help,
	Regards
	David 
----------------------------------------------------------------------
      /\       David Bell, Diffraction Group 
     /  \      INTERNET  :-dcb@electron.ph.unimelb.edu.au
    /    \     MAIL      :-David Bell, Rm302 School of Physics
   /______\               The University of Melbourne
Fax :-(03)347-4783        Parkville, Victoria, AUSTRALIA, 3052
----------------------------------------------------------------------
From: dj@ssd.kodak.com (Dave Jones)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Multiple Scroll Bars
Date: 24 Jul 92 15:17:25 GMT
Organization: :noitazinagrO

In article <1368@sousa.ltn.dec.com> gmccoy@decwin.enet.dec.com () writes:
>
>
>I am using multiple scroll bar controls in a dialog box and I'm having
>trouble selecting between them.
>
Buy yourself a copy of Petzold's "Programming Windows".  He covers using
scrollbars and much more besides.  I've implemented his scrollbar
example and it works just fine.


-- 
||))) If you build it                          )))))))))))))))))))))))))))))|
||))) They will cancel it   - Field of Dweebs. )))))))))))))))))))))))))))))|
||))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))|
||Dave Jones (dj@ekcolor.ssd.kodak.com) | Eastman Kodak Co. Rochester, NY   |
Newsgroups: comp.os.ms-windows.programmer.misc
From: death@acca.nmsu.edu (The Grimm Reaper)
Subject: Re: TPW : Dialogs and Transfer Buffers
Organization: New Mexico State University
X-Newsreader: Tin 1.1 PL4
Date: Wed, 29 Jul 1992 09:19:19 GMT

PAULETTI@biel.be.tech.ascom.ch (Pauletti Andreas) writes:
: Hi
: 
: I have a problem with defining a typed constant for a dialog transfer
: buffer, that has a ComboBox as a control object. In the TPW Windows
: Programming Guide is stated on page 188 that the transfer buffer for
: a ComboBox should consist of 2 elements. One is of type PStrCollection
: and holds the list box strings and the other is an array of char.
: 
: Question :
:    How do I define a typed constant of type PStrCollection ?
:    There is no where stated how to do this. Logically this should
:    be an array of Strings that will be listed in the listbox.

I ran into the same problem a while back.  PStr is a typo.  Try
PStringCollection instead....
Newsgroups: comp.os.ms-windows.programmer.misc
From: steve@monu6.cc.monash.edu.au (Steve Balogh (+61 3 565 4747))
Subject: Re: Format of .ICO files
Organization: Monash University, Melbourne, AUSTRALIA
Date: Fri, 24 Jul 1992 05:14:29 GMT

In article <1992Jul23.170553.9575@waikato.ac.nz> pdenize@waikato.ac.nz writes:
>
>Hello,
>
>Does anybody out there have the file format for Window's .ICO files?
>I have quite a few that I would like to convert to another format.
>Any help would be greatly appreciated.
>

There is a shareware program called ico2bmp which will convert .ICO files to
.BMP files. You can then use Paintshop Pro (another shareware product) to
convert .BMP files to about 15 other formats.

Both of these programs are vailable on ftp.cica.indiana.edu

The actual format of the .ICO files is described in the SDK Reference Manual
(volume 2) which I don't have with me at work.

Steve

----_--_-_-_--_-__-_------_-__---_-___-_----_-____-_-_--__-_--_--___-_-_-_--__-_
Steve Balogh  VK3YMY   (Maths G.14)   | steve@monu6.cc.monash.edu.au
Monash University, Clayton Campus     |      37 54'38.8"S  145 07'47.1"E ...ICBM
Wellington Road, Clayton.  	      |      +61 3 565 4747 Voice (Office)
Melbourne, AUSTRALIA. 3168	      |      +61 3 565 4746 Fax
From: mheller@genesis.nred.ma.us (Martin Heller)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: ACK! Problem with GlobalDosAlloc() !!!!!
Summary: look at TDOSMEM and GDOSMEM examples
Date: 29 Jul 92 10:13:45 GMT
Organization: Genesis Public Access Minix  +1 508 664 0149

Communicating between DOS boxes and WinApps is demonstrated in the
TDOSMEM and GDOSMEM example programs in the Windows 3.1 SDK.
From: Steve_Goyette@mindlink.bc.ca (Steve Goyette)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Visual Basic Prof. Ext. Radio & Option Buttons
Date: 27 Jul 92 21:08:03 GMT
Distribution: world
Organization: MIND LINK! - British Columbia, Canada

Hi,

   For a little while now, I have had a problem with the option and
radio buttons in the Visual Basic Proffesional Extensions.  When a
form containing any of these controls was over-written with another form or
dialog, the controls wouldn't get re-drawn.  After wrestling
with this problem (and tearing most of my remaining hair out) I came up with
the following solution.  I hope that this helps other people
experiencing the same problem.

In your Global file, declare the following windows API functions and
constants.

------------------------------------------------------------------------
Declare Function GetFocus% Lib "User" ()
Declare Function SendMessage Lib "User" (ByVal hWnd As Integer,
                                         ByVal wMsg As Integer,
                                         ByVal wp As Integer,
                                         lp As Any) As Long
Declare Function APISetFocus% Lib "User" Alias "SetFocus" (ByVal hWnd%)
Global Const WM_PAINT = 15
------------------------------------------------------------------------

Now, you need to declare a function either in a module or a form.  I use
it at a module level so that I can call it from ALL forms.

------------------------------------------------------------------------
Sub Refresh_Control (Cntrl As Control)

Dim OldHwnd As Integer
Dim CtrlhWnd As Integer

    OldHwnd = GetFocus()
    Cntrl.SetFocus
    CtrlhWnd = GetFocus()
    Dummy% = SendMessage(CtrlhWnd, WM_PAINT, 0, 0)
    Dummy% = APISetFocus(OldHwnd)

End Sub
------------------------------------------------------------------------

The basis of this function is the fact that windows calls the Form_Paint
sub everytime the window get's over-written.  By calling Refresh_Control
in your form paint (For all VB Prof. Ext. Radio and Option buttons) you
can force Visual Basic to redraw them.  The following is an example.

------------------------------------------------------------------------
Sub Form_Paint ()

    For x = 0 To 6
        Call Refresh_Control(Days(x))
    Next x
    Call Refresh_Control(Course_Type(0))
    Call Refresh_Control(Course_Type(1))

End Sub
------------------------------------------------------------------------

Days(x) is a set of 7 option buttons with indexes from 0-6.  Course_Type
is a set of 2 Radio buttons with indexes from 0-1.  You could also call
this function for any Control used in VB but so far these two types of
controls are they only ones that I have experienced problems with.

I hope that this code can help out other users as it has helped me.  If
you have any comments, suggestions, or general banter please feel free to
contact me.



                                             Steve Goyette
                                             (604) 421-8864
Newsgroups: comp.os.ms-windows.programmer.misc
From:  ksa@org.sensor.zgrad.su (Sergey A. Krasnov)
Subject: Re: Why is inserting text into an edit control so slow?  Must it be?
Reply-To: ksa@org.sensor.zgrad.su
Organization: Firm Sensor, ORG department. Zelenograd, Russia
Date: Thu, 23 Jul 92 22:30:31 +0400

        Adam Dingle writes

>   I am developing an application which uses an edit control to hold textual
>   output which the user can scroll and edit.  Unfortunately, inserting
>   text into the edit control is intolerably slow, especially when the
>   edit control occupies much of the screen...............

        Send messsage WM_SETREDRAW with wParam = 0 to edit control
before inserting test and WM_SETREDRAW with wParam = 1 after.
Then redraw control - InvalidateRect(hWnd, NULL, TRUE).


-- 
  Sergey Krasnov

Firm "Sensor", Zelenograd, Russia     | Phone: +7 (095) 5325633, 5329090
Internet, Relcom: ksa@sensor.zgrad.su | Fax:   +7 (095) 5366927
From: msaletni@jade.tufts.edu (Michael J. Saletnik)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Carriage Returns in Dialog Edit Controls
Date: 29 Jul 92 17:02:26 GMT
Organization: Tufts University - Medford, MA

Well, after watching for 2 weeks I've seen nothing on this topic, so
I'll go ahead and ask...

Under 2.x and 3.0, I could put carriage returns (\n) into text strings
that were then loaded into dialog box multiline edit controls.  These
would then act as carriage returns, putting in blank lines, etc.

Under 3.1, these show up as | characters only.  This happens with both
direct typing (hitting <return>), and with loading strings.

Is there a way around this, and/or a better way to break lines in
these multiline edit controls?

				Thanks so much,
				Michael J. Saletnik, Programmer
				Tufts Curricular Software Studio

--
Michael J. Saletnik, Tufts University E'91 G'93  / I reserve the right
Department of Civil Engineering Computer Lab TA / to be utterly and
michael@binkley.ext.tufts.edu (daily uucp)     / completely wrong.
From: evansj@crs.cl.msu.edu (Jeffrey Evans)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: How Do I Run My Prog. Before and after Another?????
Date: 30 Jul 92 19:06:16 GMT
Organization: Michigan State University


    This may be a FAQ, but unfortunately I can't find a posting of regular 
FAQ questions and answers.  OK, here's my prob, I need to run my application
before I run a regular windows application such as WordPerfect for windows.
I also need to run another application after the main application is finnished.


BASIC RUNDOWN:
    -user points and clicks at icon for main application(word for windows or 
     something like that)
    -control is given to my application
    -my application spawns off or better yet execs the main application
    -the main application runs as it would normally
    -after th main application terminates, my application is given control 
     again


    The concept is similar to the dos batch files.

BTW, I will soon own the mswindows software developement kit for windows 3.1.


I would really appreciate any help that could be offered, source examples
in MSC 7.0 would really be appreciated.


-
--
Jeff Evans - evansj@crs.cl.msu.edu 
Xref: sparky comp.os.ms-windows.programmer.misc:1062 comp.windows.ms.programmer:7402
From: baldwin@csservera.scs.usna.navy.mil (J.D. Baldwin)
Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer
Subject: Displaying L-O-N-G windows with a scrollbar
Date: 29 Jul 92 00:20:59 GMT
Followup-To: comp.os.ms-windows.programmer.misc
Organization: Comp. Sci. Dep't., U.S. Naval Academy, Annapolis, MD

Sorry if this is a FAQ (I can't believe that it is), but I've been
looking for the FAQ every day for two weeks and haven't seen one.

In all of the following, I am using Borland C++ 3.0 with ObjectWindows
under Windows 3.1 (yes, I am waiting for them to ship the upgrade to 3.1).

My problem is this: I wish to display a very long graph for the user
to scroll through.  I've gotten this to work for medium-size graphs,
but when I try to display all the points (some of these graphs have
more than 65000 points), I get parts of the graph overwriting each
other--it's a real mess.

I'm pretty sure that the problem is that MoveTo and LineTo take *int*
parameters when I am trying to send *unsigned* int parameters.  So,
for example, if I try to plot a point at [38000,190] it gets plotted
at [5232,190] -- not what I had in mind.

So, I started messing around with Scroller -> ScrollTo() and drawing
only the visible area of the graph during each Paint operation, but I
realized that this wasn't going to help, since I still have to supply
the "world coordinate" of the x-coordinate (the y-coordinate is not a
problem, as there isn't even a vertical scroll bar; I am only
interested in stretching out the x-dimension).

Does anyone have any workarounds, example code, ideas, etc. as to how
I can defeat this?

If you reply by post, please e-mail me a copy of the post.  I keep up
with this newsgroup, but I am 3000 miles from my news-reading machine,
and I don't get real reliable telnet connections.  Also please note
the address "change" below and don't use "reply."

Thanks in advance for any help or ideas.

SUMMER ADDRESS:  baldwin@spectrum.lanl.gov (Los Alamos Nat'l Labs)
--
 From the catapult of:              |+| "If anyone disagrees with anything I
   _,_  J. D. Baldwin, Comp Sci Dept|+| say, I am quite prepared not only to
 _|70|___:::)=}-  U.S. Naval Academy|+| retract it, but also to deny under
 \      /   baldwin@usna.navy.mil   |+| oath that I ever said it." --T. Lehrer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: thanos@reef.cis.ufl.edu (Thanos Karras)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Group File Format
Date: 22 Jul 92 13:20:38 GMT
Organization: Univ. of Florida CIS Dept.


I would like to know if there is a better reference out there of
the group file format (.GRP files) other than the one from SDK
manuals. Does anyone have source code to read and write .GRP files
that he/she may be willing to share? If yes, please e-mail.

Any help pointing to the right direction or sharing some source
code is appreciated.

Thanos Karras
thanos@reef.cis.ufl.edu
From: rvuori@klaava.Helsinki.FI (Rasmus Vuori)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Bitmaps and palettes - where do I get info?
Date: 29 Jul 92 21:47:19 GMT
Organization: University of Helsinki

I would like to get some information about using the palette for
bitmap-resources. I have all my bitmaps in one DLL, but haven't found
any documentation about how to optimize the palette for the bitmaps
(when using 256 and 32k colour bitmaps).

I am using BC 3.0.

I would be grateful for any information leading to an answer. References
to books, articles or ftp-sites with info.


-- 
.signature minimized
From: Steve_Goyette@mindlink.bc.ca (Steve Goyette)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Visual Basic: Alignment
Date: 24 Jul 92 21:53:07 GMT
Organization: MIND LINK! - British Columbia, Canada
Distribution: world

Are you setting this up durring the form load??? If so, try relocating the code
to the form paint with code to do it only durring first paint. Ie. Initialize
an integer variable in the declarations section of the form, and in the form
Load set it to true.  In the form Paint, test for true then reset to false
after you have set it.  Should possibly take care of the problem.


                                                        Steve Goyette

Xref: sparky comp.os.ms-windows.programmer.misc:1100 comp.windows.ms.programmer:7432
From: whedon@netcom.com (Bill Whedon)
Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer
Subject: HELP WANTED PUTTING BUTTON ON TITLEBAR
Keywords: button titlebar
Date: 30 Jul 92 16:31:14 GMT
Followup-To: poster
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

One down, one to go.  I still need some help placing a pushbutton on the
titlebar of a child window.  If possible, I don't want to resort to using
bitmaps.  I know I can get text up there using GetWindowDC, and just need
some info on how to get the (frame window?) handle to place the button
out of the client area.  I see folks from Microsoft on here occasionally,
maybe you can ask some of the gurus there?  I really NEED this info!
  
Thanks to Marius from Norway for the reply in re. colored text in listbox
and comboboxes.  Not what I wanted to hear (ownerdraw), but I guess I can
grind through it.

Parting shot... I am baffled at why Microsoft chose to carry on the 
nonsense of using ints instead of longs for window extents in Win32 API.
What about us pore folks whut hafta go past -32768..32767, huh?  Do we
hafta waste our 386/486 32-bit arithmetic doing conversions forever?
I do lotsa GDI programming, and getting rid of wraparound (not to 
mention only partially-functional clipping) is a real pain in the
bouzouki, Microsoft!  Howzabout you find it in your hearts to fix it?

(Flamers, I know they read this stuff.  Bitch at me privately instead
of repeating it and wasting further bandwidth, please.  Like you never
do it, yourself.  Yeah, right.)

IN THE ABOVE CONTROVERSIAL BS, DON'T FORGET MY TITLEBAR BUTTON NEEDS!
:-) Thanks! :-)
bw
From: joero@microsoft.com (Joe Robison)
Subject: Re: Visual Basic & Helv Font?
Date: 24 Jul 92 04:45:42 GMT
Organization: Microsoft Corp.

In article <ycfm7sg.jfh@netcom.com> jfh@netcom.com wrote:
> In article <1992Jul20.031752.23132@microsoft.com> joero@microsoft.com (Joe 
> Robison) writes:
> >
> >On Windows 3.1 (which I assume you are running since you have Arial) the 
> >default is MS Sans.
> 
> I have the Ariel fonts, and I have Windows 3.0.  I think it came with Word
> for Windows 2.0 or Excel 4.0.
> 
> >MS Sans is exactly the same as Helv, it just has a 
> >different name (for good reasons that aren't worth going into here).  
> 
> Copyright or trademark on the name? 

Essentially. (BTW, that should MS Sans Serif, not just MS Sans)

> 
> >Windows converts all requests for Helv into MS Sans, but only provides MS 
> >Sans (not Helv) when asked to enumerate all the fonts (which is why you can't 
> >find Helv in the font list).
> 
> Helv does show up on my font list in 3.0.  I've noticed that when I
> enumerate the fonts I get duplicate names.  Why is this, and will it still
> happen in 3.1? 

I was talking about Windows 3.1 in the above; you won't see Helv in 3.1
I haven't seen duplicate fonts, but I imagine it is possible if you
(or the setup program for some application) installs a duplicate of an
existing font in a way that convinces Windows that they're distinct
(they might in fact be distinct but have identical names).  
I'm not a font god, so I'm guessing here.

...........
Joe Robison
...I am not a Microsoft spokeshuman: usual disclaimers apply...
From: romkey@asylum.UUCP (John Romkey)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: Windows NT and SoundBlaster Pro "SCSI" CD-ROM
Date: 22 Jul 92 17:10:59 GMT

RFowler@kelvin.jpl.nasa.gov (Robert A. Fowler) writes:
>In article <344@asylum.UUCP> romkey@asylum.UUCP (John Romkey) writes:
>>lothar@cyrcle.uucp (Bob Trembley) writes that the NT SDK doesn't detect
>>the Soundblaster Pro "SCSI" CD-ROM interface and asks if Microsoft will
>>fix this in the near future.
>>It's not Microsoft's problem (really). The SoundBlaster Pro doesn't have
>>a *SCSI* CD-ROM interface. It's got a proprietary one supported by only a
>>few CD-ROM drives, and most assuredly is *not* SCSI.
>HU? The SoundBlaster Pro uses a proprietry controler-to-CD interface, but 
>form the software(CPU)-to-controler it adhears to the MSCDEX requirements(?) 
>and comes with a version of MSCDEX that lets it work with dos/Windows 3.x.

I think you'll find that MSCDEX is meaningless in the context of NT. NT
has a set of SCSI device drivers for certain SCSI adapters; it can layer
one of several filesystems including ISO9660 on top of the SCSI drive. MSCDEX
is a filesystem translater and redirector for MS-DOS; it intercepts filesystem
calls to specific drive letter and redirects them to a different
filesystem (an implementation of ISO9660), and the filesystem calls a device
driver. That's entirely an MS-DOS artifact and is probably irrelevant in the
context of NT. For NT to be able to use the Soundblaster Pro non-SCSI CD-ROM
interface, someone will have to write a driver for it specifically for NT.
The fact that it's supported under MS-DOS with MSCDEX is pretty much
irrelevant; what I was talking about in my previous message was that the
interface is *not* SCSI, as the first message stated, and that NT is
currently supporting CD-ROM drives over *SCSI* and then only over a few
SCSI adapters. Expecting NT's SCSI drivers to work with the Soundblaster
Pro's non-SCSI interface is a waste of time.
-- 
	- john romkey	  ELF Communications	 romkey@ELF.com
Newsgroups: comp.os.ms-windows.programmer.win32
From: victor.ng@rose.com (victor ng)
Subject: NTFS specs
Organization: Rose Media Inc, Toronto, Ontario.
Date: Thu, 30 Jul 1992 23:25:27 GMT
X-Gated-By: Usenet <==> RoseMail Gateway (v1.70)


Date Entered: 07-30-92 17:49
>If you were looking to better understand Windows NT's file system, then
>I might suggest posting in the comp.os.ms-windows.programmer.win32
>group.

I don't really read this group that often, but can somebody send me the
specifications on the NTFS?

Thanks
Vic
(victor.ng@rose.com)
---
   OLX 2.1 TD   Nature always sides with the hidden flaw.
   RoseMail 1.70: RoseNet<=>Usenet Gateway : Rose Media 416-733-2285
Newsgroups: comp.os.ms-windows.programmer.win32
From: alistair@microsoft.com (Alistair Banks)
Subject: Re: NT Promises?
Date: 30 Jul 92 07:28:25 GMT
Organization: Microsoft Corporation

In article <16832D20F.SDENARO@vm.poly.edu> SDENARO@vm.poly.edu writes:
>Will NT solve these problems, if so how?
> 
>8.3 names? Is this a new, backward compatible files system?
 
Windows NT supports multiple file systems including FAT, HPFS, ISO 9660
and "NTFS" - FAT is MS-Dos FAT, with 8.3 names (no long names), HPFS
is the OS/2 file system, ISO 9660 is the format used on most
cd-roms, and NTFS is the new file system in Windows NT - NTFS
supports both a longname & a concurrent 8.3 name on each file.

All file systems can make their files visible to MS-DOs & Win16
apps (HPFS only shows those with shorter names). FAT only supports
shorter names, and NTFS will always show all files, since it
maintain two name spaces. FAT is the only file system that will
be recognisable by MS-Dos systems, after re-booting to MS-Dos

>Will NT solve all my network NetMares? How? Will I have to set up a
>peer to peer lan, Or can I still use Novell?
 
We hope that WIndows NT's built in networking will solve some
of your problems, but I doubt any software will solve them all! You
can still use Novell's Netware, and Novell have announced that they'll
be deliverring Windows NT client software in a timely fashion, as
soon as they can [we hope to see versions later this year]

>Speed. Will 32bit apps run faster under NT than DOS/Windows?
 
We feel this certainly should be true for the majority of 32-bit apps,
but their will always be some weird benchmark program which will
find the exception

>Will Billy and the gang at Redmond put out an NT-lite? Most of our
>users don't need POSIX and OS/2 (Or MS Lan-Mangler). I would like
>to see win32 without DOS, OR all the NT stuff. In 4mb on a 386, >40mb disk.

We've committed to adding more and more of the Win32 API to Windows for
MS-Dos over time, of that's what you mean by "NT-Lite" - the first
delivery of this line will be the Win32s extensions for Windows 3.1,
which add 32-bit versions of the Windows 3.1 API, binary compatible
with the Win32 APIs in Windows NT

Alistair
From: lothar@cyrcle.uucp (Bob Trembley)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Windows NT and SoundBlaster Pro "SCSI" CD-ROM
Date: 21 Jul 92 03:45:13 GMT
Reply-To: lothar@angus.mi.org
Organization: Cyrcle Systems

A friend and I have both got SoundBlaster Pros.  He recently got the CD-ROM
upgrade for it and it's working just fine.  I'll be getting mine in the mail
any day now.

My friend also got the $69.00 NT "Alpha" last week and was looking forward
to installing it over the weekend.  He informed me that the install crapped
out with a message like: "No SCSI CD-ROM detected, Install aborted."

My thoughts on this: "AIEEEEE!"

Can anyone at Microsoft (Alistair) please tell me if this will be fixed in
the (very) near future?

--
lothar@angus.mi.org (Bob Trembley)