HDTenEightyP/NetNews huggingface dataset:
From: jagrant@emr1.emr.ca (John Grant)
Subject: large postscript driver
Followup-To: jagrant@gsc.emr.ca 
Summary: need large postscript driver for Versatec/Synergy electrostatics 
Keywords: POSTSCRIPT, VERSATEC, SYNERGY
Organization: Geological Survey of Canada, Ottawa
Date: Thu, 1 Oct 1992 03:40:43 GMT

We have large format 36" Versatec & Synergy raster plotters.  These companies
do not supply any postscript drivers for Windows for these plotters because
simply put, they are *not* postscript devices.  Ah yes, but don't forget
about GhostScript, Freedom of the Press etc.  They can make raster files
for these plotters from postscript files.  All I need to do is make the
postscript files.

I need a postscript driver
for windows that will allow me to make *large* (i.e. 36" by a few metres
in length) postscript files.  You're probably asking - what application
would allow that? - well mine for one.  I have a mapping application for
Windows that allows me to plot at any scale, like 1:50,000 etc.  I do the
normal things like GetDeviceCaps to get the page size & resolution.  All
of the postscript drivers supplied with Windows are for 8.5" X 11" or
similar size paper.

When PrintDlg is called for a postscript driver, it shows many different
things in the dialog box(es) - print quality, resolution, paper trays and
paper sizes.  So it would make sense to have a postscript driver that
would allow me to specify the X & Y paper size, i.e. perhaps 1000mm X 1000mm.
by filling in fields in a dialog box.

Enough preamble.  Question time:
  1. Is such a 'generic' postscript driver available for any size paper?

  2. What would it take to create one using the DDK kit?  I haven't seen
     this kit - do they provide skeletons and all you have to do is create
     a table of parameters and compile & link and you're done? (HA!).
     I understand that Windows uses a very generalized printer driver that
     can handle almost any printer with the appropriate table of capabilities
     and attributes.

  3. Is there a way I can kludge such a driver by patching an existing
     driver so that, i.e. the 8.5" X 11" paper returns a size of 1000 X 1000
     mm or something like that?  I would hope that there was a single
     location inside that would contain the paper dimensions in both mm
     and dots (i.e. the values that GetDeviceCaps accesses).

John A. Grant
Geological Survey of Canada
Ottawa, Ontario
Newsgroups: comp.os.ms-windows.programmer.misc
From: growe@ctp.com (Geoffrey Rowell)
Subject: Re: Can MDI be implemented in VB?
Date: Thu, 1 Oct 1992 17:51:06 GMT
Organization: Cambridge Technology Partners

In article <1992Sep24.185528.22428@ee.gatech.edu> eric@eedsp.gatech.edu (Eric Hyche) writes:
>Is it possible to implement a MDI (Multiple Document
>Interface, like Program Manager) in Visual Basic?
>I want to create an application similar to Program
>Manager, where there are parent-child window
>relationships, and the child window cannot go outside
>the parent window.
>
>Eric Hyche
>
>
>-- 
>Eric Hyche
>Georgia Tech, School of Electrical Engineering, Atlanta, GA  30332
>INTERNET: eric@eedsp.gatech.edu

I have tried doing this with VB 1.0 via every conceivable method and
have been unable to do it.  The Professional Toolkit for VB contains
a child window control, but every control you put on the child window
is actually placed in the parent window's control list.  As a window
may only contain 256 controls, several complex child windows will
quickly fill up the parent's control list.

The good news is that VB 2.0 will have true frame/child window support
built in and will not have a control list problem.

	Geoff

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%        Geoffrey B. Rowell        % "Mister!" He said with a saw-   %
%        Tel. (617)374-8343        % dusty sneeze, "I am the Lorax.  %
%      E-Mail: growe@ctp.com       % I speak for the trees." - Seuss %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Newsgroups: comp.os.ms-windows.programmer.misc
From: jim@edscom.demon.co.uk (Jim Thomas)
Subject: Re: Finding DLL function params?
X-Disclaimer: #include <std/witty/disclaimer.h>
Reply-To: Jim Thomas <jthomas@edscom.demon.co.uk>
Organization: EDS-Scicon, Milton Keynes, UK
Date: Thu, 1 Oct 1992 11:56:36 GMT

>>>>> In article <1992Sep30.103254.96@va.nkw.ac.uk>, ">>" ==
>>>>> f_tawb@va.nkw.ac.uk writes:


>>> 	Can anyone tell me how to find the number of parameters, and
>>> their 	types of funtions in a DLL? I can get the names no prob,
>>> but the 	params, no way. Am I missing something obvious?

>>> 	I want to do it so that I can have a poke around all these DLL's
>>> that breed on my hard disk !


I also enjoy seeing what DLL's do and the only way I know to find the
parameters fo their functions is to disassemble them. I find using
the EXEHDR program with /v (for verbose) very useful as it not only
gives the names of the exported functions and where they are but also
indirectly the Windows functions it calls and where it calls them.

Jim Thomas
Newsgroups: comp.os.ms-windows.programmer.misc
From: jcmorris@mwunix.mitre.org (Joe Morris)
Subject: Re: Runtime Version of Windows
Organization: The MITRE Corporation
Date: Tue, 29 Sep 1992 14:45:34 GMT

boag@world.std.com (Scott A Boag) writes:

>I remember a long time ago that there was something 
>called a "runtime" version of the windows kernel.  This 
>would be bound to the application so that the user would 
>not have to run the full windows shell.  Does my memory 
>err?

>My need is this:  our client needs to have a special 
>version of our app in which the workstation runs our app 
>and only our app. 

Microsoft discontinued the run-time Windows product with the introduction
of Windows 3.0.  There may be private deals for such a specialized
version of the product, but everything I've seen on the subject from 
Microsoft people says there is no run-time version available.

If your client is the end user (as opposed to a vendor) and wants the
run-time code for convenience rather than security, you can get much of
the functioning of the run-time code by editing SYSTEM.INI to replace
the line:

   shell=progman.exe

by:

   shell=myprog.exe

which causes Windows to load myprog.exe, run it, and terminate when
myprog terminates.  Obviously, this also precludes a user from doing
such things as changing printer settings or other tasks which you may
or may not wish to be restricted.

In the old run-time system the Control Panel was accessible from the 
control button rather than from the menu bar, so this the user did have
access to printer selection and similar functions.

A less drastic approach (but one which can be subverted) is to use
the restrictions which can be imposed by the network manager in setting
up a master copy.  Check the Windows setup documentation for the
technique and see if it offers what you need.

Joe Morris / MITRE
Newsgroups: comp.os.ms-windows.programmer.misc
From: cwvernon@napier.uwaterloo.ca (Colin Vernon)
Subject: EDit window font
Organization: University of Waterloo
Date: Sun, 4 Oct 1992 18:37:59 GMT


How do I change the font used by an edit window?  I want to use a fixed
font instead of a variable width font.
Newsgroups: comp.os.ms-windows.programmer.misc
From: elan@tasha.cheme.cornell.edu (Elan Feingold)
Subject: Is there a FAQ?
Reply-To: elan@tasha.cheme.cornell.edu (Elan Feingold)
Organization: Cornell University
Date: Sun, 4 Oct 1992 19:22:26 GMT



Is there a FAQ for this group?  If so, could someone email me and tell me where I could get it?  I would greatly appreciate this!

Thanks, 

Elan

--
---------------------------------------------------------------------------
|  Elan Feingold       |  19-OCT-89:  Dan Quayle calls the San Francisco  |
|  CS/EE Depts.        |  earthquake, "a heart-rendering sight.           |
|  Cornell University  |  The loss of life will be irreplaceable."        |
|  Ithaca NY 14850     |             *** VOTE CLINTON/GORE ***            |
---------------------------------------------------------------------------
Xref: sparky comp.os.ms-windows.programmer.misc:2247 comp.protocols.nfs:2429
From: cbt@cam-orl.co.uk (Chris B Turner)
Newsgroups: comp.os.ms-windows.programmer.misc,comp.protocols.nfs
Subject: Re: PCNFS and tklib.dll/rnm*.dll problems under Windows
Date: 30 Sep 92 12:58:06 GMT
Organization: Olivetti Research Ltd

I finally got the PCNFS v4 developers kit a couple of weeks ago and
I've since got it up and running in a Windows 3.1 app. NB I'ts not
winsock compliant, that will be in the next NFS developers kit which
is some time away I guess. I don't load the dlls, I let the import
library do all the work. I'm careful to call the dll clean up routines
when I've finished. In summary it all works for me.

BTW I always get two compiler warnings from tklib.h about named type
definititions being in parentheses, but it doesn't seem to hurt
anything.



-- 
-----------------------------------------------------------------------------
Chris Turner cbt@cam-orl.co.uk
Olivetti Research Laboratory        If it doesn't smell it isn't multimedia!
Cambridge. England
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.misc
From: PRAETHE@YaleVM.YCC.Yale.Edu (Ethan Evan Prater)
Subject: Re: How to change fonts in Win3.1 and NDW2.0
Organization: Yale University
Date: Thu, 01 Oct 92 22:19:30 EDT

In article <6668@blue.cis.pitt.edu.UUCP>
sylst+@pitt.edu (Siu Y Luie) writes:
>
>I tried to add IconTitleFaceName=Times New Roman and
>IconTitleSize=9 to Win.ini file but it did not work.
>
>Any suggestion?
 
Did you restart Windows?
 
--Ethan
From: euamih@eua.ericsson.se (Mikael Hausmann)
Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer
Subject: Windows to DOS "APPC", HELP wanted !!!!!!!
Date: 29 Sep 92 15:13:11 GMT
Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden

Is there any possibility to make a Windows application communicate with
a DOS application ???

(This might seem strange but it'll make my life easier, that's for sure :-) )

Thanks, Mike
Newsgroups: comp.os.ms-windows.programmer.misc
From:  Fyodor@msoft.msk.su (Fyodor Zubanov)
Subject: Re: Capture messages in Visual Basic
Date: Sun, 27 Sep 1992 09:09:30 GMT
Reply-To: Fyodor@msoft.msk.su
Organization: Microsoft Moscow

>
>   I need to do this because in my application:
>       I use 2 forms.
>       When I minimize 1, the 2nd will be minimize as well.
>       The problem arises, when I restore the main form from
>       an icon, I cannot restore the 2nd form because my
>       application does not know that it had been restore.
>

It's not true. Your application knows about any form
resizing. Check your Form_Resize procedure.

Fyodor.
-- 
=================================================================
        Fyodor Zubanov          fyodor@msoft.msk.su
        Moscow, Russia
=================================================================

Newsgroups: comp.os.ms-windows.programmer.misc
From: wongl@rs6006.ecs.rpi.edu (Lance)
Subject: Custom Listbox?
Reply-To: wongl@rpi.edu
Organization: Rensselaer Polytechnic Institute, Troy, NY.
Date: Tue, 6 Oct 1992 20:43:56 GMT

is there a special style of "pop-up listbox" for creating listboxes that get pulled
down after the user clicks a down arrow button?  An example of this is on the 
Desktop configuration for Windows.  When you select a desktop pattern and other stuff,
a pop-up (actually pull down ) listbox is created.

Right now i just have a programming guide for Windows and im in the process of getting
the reference guide.
thanks
.

Keywords: 

Newsgroups: comp.os.ms-windows.programmer.misc,comp.lang.c++
From: 890751r@dragon.acadiau.ca (Dave Ritacco)
Subject: Memory Problems with TC++ App
Organization: Acadia University
Date: Sun, 4 Oct 1992 13:38:07 GMT



  I am modeling the bouncing of a ball on an oscillating table for
my thesis and first wrote the necessary equation solvers in straight
C, under TC++, using the basic windows.h include file. This worked fine
until I decided that I needed to graph my results, and the only
book I had (besides the straight TC++ ones that come with the
package) did it for DOS, with the graphics.h header file. At least,
I assumed that this is true, but maybe not.
  Anyway, I decided to give ObjectWindows a try and I have finally
got a program that works, but there are a few bugs that I am not
sure how to fix, so here goes:

  1) The program fills up 3 arrays, currently with 4000 elements
     each. I would like this bigger, so I tried declaring the
     arrays huge but have them in my TMyWindows : TWindows 
     class , and anything larger than about 4000 gave me a 
     structure too large error for TMyWindows. What is the 
     easiest way around this? I originally thought compiling
     with the HUGE memory model would get around this, allowing
     larger than 64k structures, but I only seem to been able
     to set up to LARGE memory model under Compiler|Options.
 
  2) Though the program works, and produces results, I would
     like to know what happens when you run in two or three
     times in a row. Sometimes, after being run more than 
     once in a row, it totally screws up and draw meaningless
     graphs. This seems like a memory problem, but I'm not
     sure. Would making a member class function that zeroed
     all the arrays each time the left mouse button was clicked
     , for example, solve the problem?

  3) What is the easiest way to do the equivalent of a 
     clrscr() in OW? Each  time my graphing item is 
     selected, I would like it to clear the screen and
     draw from scratch.

  4) Last question, I promise. Has anyone else notice that
     TC++ seems to get a bit confused when you have 
     a few source files open and have been compiling one
     and then try to switch? Usually it just compiles and
     runs the one you have already been working on, even though
     you have selected a new window with the another program
     in it?

Well, sorry about the lengthiness of these questions, but any
help would be appreciated. As I don't read the net much, please
mail any suggestions/letter bombs to 
   890751r@dragon.acadiau.ca


-- 
************************************************************************
*        Dave Ritacco                Product of Acadia University      *
*           "Why don't you pull the trigger and find out?"             *
*        ritacco@otter.phys.uvic.ca                W.H.Bonney          *
From: franca@vandi.ars.cl (Franca Oppici S.)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: File Open Dialog Box
Distribution: world
Organization: Ars Innovandi (El arte de innovar)
Date: Wed, 30 Sep 1992 01:36:52 CST

Does any body know if Windows 3.1 provides functions to help the
creation of an Open File dialog box, according to the new standard, used
in all the new Microsoft applications?

This dialog boxes use special icons to display drives, directories and
files.

Do I have to use owned-draw list boxes and display each item using bitmaps?

I have been reading "The Windows Interface: An Application Design Guide",
that cames with Windows 3.1 SDK. It explains in details how this dialog
box should be, but it does not give any help on how to implement it.

I will appreciate very much any help.

Thanks, Franca


-----------------------------------------------------------------------
   Franca Oppici		   uucp  : franca@vandi.ars.cl
   ARS INNOVANDI		   Voice : +56-2-225-5072
   Santiago - CHILE
-----------------------------------------------------------------------
Newsgroups: comp.os.ms-windows.programmer.misc
From: matts@microsoft.com (Matt Saettler)
Subject: Re: Animation under Windows
Date: 01 Oct 92 22:27:53 GMT
Organization: Microsoft Corporation

In article <9664@emory.mathcs.emory.edu> sb@next.neuro.emory.edu writes:
>
>
>  Hi,
>
>    Can anyone provide any recommendations on how to do fast and  
>reasonably flicker free animation under windows ?  I've read the
>suggestions about using the MM API to provide fast timers, but
>what is the best way to display images on the screen without
>a large amount of flicker.
>
>    We are thinking of getting ATI ultra cards which I hope will
>help.  Is this the best/fastest card for this purpose, or is
>there some other card which would be better for animation ?  What
>would really be nice is a video card with hardware double buffering.
>
>
>Steve Berger (sb@onripx.neuro.emory.edu)

Check out my Graphics Design and Optimization technote.  Sample
code is also available.  I suggest TRANSBLT; it shows how to do
fast blits.  If you are doing animations,check out RLEAPP.

All these are available on CIS in the WINSDK forum, or by anon. ftp
at ftp.uu.net \vendor\microsoft\multimedia.  Sample code is in the
\sample directory, and technotes are in the \technote directory.

\msftmm.zip gives an overview of all sample code and technotes
that are available.

Matt Saettler/Microsoft Multimedia
--------------------
I speak only for myself...

Newsgroups: comp.os.ms-windows.programmer.misc
From: hanke@nessie.cs.id.ethz.ch (Norbert Hanke)
Subject: Re: Access to D000:0000 thru FFFF
Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
Date: Wed, 30 Sep 1992 10:13:39 GMT

In article <1992Sep24.200809.249@wuecl.wustl.edu> wilcox@swarm.wustl.edu (Don Wilcox) writes:
>>
>>   extern WORD PASCAL __D000H   // NOTE: two underscores!
>>
>>And to make a pointer to the a given offset within this address range do
>>the following (e.g. making an LPSTR):
>>
>>   LPSTR p = MAKELONG(offset, &__D000H);
>>
>This is really frustrating for me.  I have tried nearly every conceivable form
>of this expression, and I have yet to get the real data into my application.
>Is there anyone around who would be willing to look over my code for some
>mistake that I have made?  Basically, I have to read data starting at __B000H
>and going into the middle of __E000H.  I always get garbage.

If you're using a memory manager (QEMM/386MAX/EMM386), be sure to exclude the
memory region you want to do I/O from or to. Otherwise, the memory manager will
map RAM to that region so that you will never get through to the (physical) 
addresses you want to read or write.

Beside that, if you're running Windows in 386 Enhanced mode, you might include
a EMMEXCLUDE line to your SYSTEM.INI file. See the docs for details.

Norbert Hanke
ETH Zurich, Switzerland
Newsgroups: comp.os.ms-windows.programmer.misc
From: chriswa@microsoft.com (Chris Waldron)
Subject: Re: More on getting the size of a menu bar
Date: 27 Sep 92 21:46:13 GMT
Organization: Microsoft Corporation

In article <1992Sep24.085932.1553@harlqn.co.uk> paulb@harlqn.co.uk (Paul Butcher) writes:
>Re. my previous message, I probably ought to have explained myself more
>carefully (all the replies I've received so far have, I think, misunderstood
>what I'm after).  What I want to do is find out how wide the *text* of the
>menu bar is, not the whole bar itself.  I want to do this so I can forbid
>the user from resizing the window so small that the menu bar stops being
>one line deep, and "wrapping round".
>
>The reason I want to do this is I'm trying to write a "visual basic" style
>"menu window", i.e. a frame window which contains nothing but a menu bar.
>I want to allow the user to move and resize this window, but not so far that
>they cause the menu bar to become more than one line...
>
>I can obviously "hard code" this width into the program, but this would have
>to be updated whenever we change the menu bar, so instead it would be nice
>to be able to find out what the width is on the fly.
>
>Thanks a lot,
>
>PaulB->msgCount++

 Use GetSystemMetrics(SM_CYMENU)

ChrisWa.
Newsgroups: comp.os.ms-windows.programmer.misc
From: sdj@franz.com (Steve D. Jacobson)
Subject: Re: ChooseFont() and Font Style
Organization: Franz Incorporated, Berkeley CA
Date: Wed, 30 Sep 1992 00:50:16 GMT

I answered the question myself:

Write probably uses the CF_NOSIMULATIONS flag.
Newsgroups: comp.os.ms-windows.programmer.misc
From: pmoore@hemel.bull.co.uk (Paul Moore)
Subject: drag n drop in VB
Organization: Bull HN UK
Date: Tue, 6 Oct 92 08:44:18 GMT

Somewhere I saw (in the prog FAQ I think (BTW big vote of thanks to the
FAQ compliler for the winhelp format - excellent idea)) a refernce to a
VBX for drag and drop - DD.ZIP. They said its on compuserve (which I dont
use) and perhaps cica. Well its not on cica - anybody care to point me at it.
From: bsb@hpuerca.atl.hp.com (Brett Baumberger)
Date: Mon, 5 Oct 1992 15:23:50 GMT
Subject: Re: Can I use mem at D000 and I/O ports?
Organization: the HP Response Center, Atlanta
Newsgroups: comp.os.ms-windows.programmer.misc

Hi,

I posted the last question about D000:0000 -> D000:FFFF.  I did not have
to do anything special to access the I/O ports.  I to have a frame
grammer (Truevision ICB) who's memory I have placed at D000.  All my 
writes to I/O worked first time - no special tricks.

I could grab the frame with an I/O write, but couldn't suck the bits
out of the board... until the net helped.

Go for it!

Brett

From: galenr@hpgrla.gr.hp.com (Galen Raben)
Date: Wed, 30 Sep 1992 16:00:45 GMT
Subject: Re: Can MDI be implemented in VB?
Organization: Hewlett-Packard, Greeley, CO
Newsgroups: comp.os.ms-windows.programmer.misc

In comp.os.ms-windows.programmer.misc, eric@eedsp.gatech.edu (Eric Hyche) writes:

>Is it possible to implement a MDI (Multiple Document
>Interface, like Program Manager) in Visual Basic?

Microsoft's VB pro toolkit has a child window control.
It would seem possible to do this via API calls as well (though I've
not seen any examples)....  Perhaps MDI will be supported in VB 2.0
as well??

- Galen -
galenr@hpgrla.gr.hp.com
From: s_furrer@irau28.ira.uka.de (Andreas Furrer)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Undocumented functions
Date: 5 Oct 1992 15:43:21 GMT
Organization: University of Karlsruhe, FRG
Distribution: world
NNTP-Posting-Host: irau28.ira.uka.de

Does anybody know the usage of the undocumented functions

ExtractAssociatesIcon
ExtractInternalIcon (or InternalExtractIcon??)
GetIconHeader

It seems that you have to use them for setting the icon of
a DOS-Application.

Or - Who you set the icon of a DOS-Application?

Andreas Furrer
s_furrer@ira.uka.de
Newsgroups: comp.os.ms-windows.programmer.misc