HDTenEightyP/NetNews huggingface dataset:
From: steven@syacus.acus.oz.au (Steven Malikoff)
Subject: Re: Straw poll: comp.os.ms-windows.visual-basic ?
Organization: ACUS Australian Centre for Unisys Software, Sydney
Date: Sat, 7 Nov 1992 10:04:02 GMT

yfwu@Uz.nthu.edu.tw (EE U780935) writes:
: doug@cc.ysu.edu (Doug Sewell) writes:
: > In article <1992Oct13.142255.20959@news.ysu.edu> I wrote:
: > >This is just a straw poll.  How many would be interested in a separate
: > >newsgroup comp.os.ms-windows.visual-basic ?
: > >Please reply by e-mail, if there's sufficient interest I'll consider
: > >going the RFD/CFV route on it.
:  I don't know the thing about voting for VB group. If I knew, I vote
: YES! YES! YES! YES!!!!!!!!!!!
: 								Y.F. WU

What?? ..There's hardly any traffic in a.l.b as it is. Best thing would
be to have comp.lang.basic, as others have already suggested, and wait
and see how that goes. The problem with more groups is you miss things,
and you don't get the variety.

Steve Malikoff.
steven@syacus.acus.oz.au
From: bytor@milton.u.washington.edu (Jill Patterson)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Setting Up Dual Monitor Mode for BC++
Keywords: mswindows
Date: 13 Nov 92 04:39:28 GMT
Organization: University of Washington

huangch@xenolith.cps.msu.edu (Cheng Chang Huang) writes:

>Can anyone give me some idea about how I can set up dual monitor mode for
>developing Windows Program with BC++?

>I have two monitors at hand. One is NEC 3D and the other is CompuAdd Mono
>VGA.  I have a VGA card on my machine. What kind of adapter  should I  
>use/add in order to use them both and, for MS Windows, what kind of change  
>should I make to sys.ini?
  What you need to do is get a monochrome video adapter.  I have done this
to my computer at work with an old Hercules Adapter, and a Video-7 Vga.
 
Since you already have the VGA Card in the Machine, Stick a monochrome card
in there also.  I don't know if the Mono VGA Monitor will work, becuase it
is probably not Pin compatible with the Monochrome Video Card.  But if 
you get a Regular old Hercules type monitor, use that.

Then Make sure you are not using the Address Space B000-B7FF for mapping
extra memory.
If you are you can no longer do this.
Then reboot your machine.  At the DOS prompt type
C:\>MODE MONO
you should see the Prompt switch over to your Mono Monitor. To get
it to switch Back to the VGA Type
C:\>MODE CO80

If it doesn't work then something is not right.  But if it does work
thats basically all you need to do.  To Start Turbo Debugger and let it
know about the mono monitor you need to include the -dO switch.

C:\Borlandc\Bin\TDW.EXE -dO MyProgram.Exe.

I'm not sure if it is a big "O" or a little "o" tho'.  No Need to change
anything with windows. Good Luck!

bytor@milton.u.washington.edu


>Thanks,

>Chengchang Huang

>Email: huangch@cps.msu.edu
From: tmorgan@andromeda.rutgers.edu (Talib K. Morgan)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Selecting text
Summary: Trying to find a way to click on text like in help screen
Keywords: text selecting help windows
Date: 7 Nov 92 22:37:15 GMT
Organization: Rutgers Univ., New Brunswick, N.J.

I would like to create a program that highlights words that can be clicked on
and explained.  What I am looking for is often used help screens, where a word
is underlined and can be selected to be further explained.  However, I don't
ever remember seeing it using in an actual program.  Is it possible?  If so, 
how do I go about doing it.

All help welcome.  Suggestions about where I can find examples are very welcome.

Talib
tmorgan@andromeda.rutgers.edu
Newsgroups: comp.os.ms-windows.programmer.misc
From: schoger@valerie.fmi.uni-passau.de (Matthias Schoger)
Subject: BCPP and TDialog
Keywords: BCPP TDialog
Organization: University of Passau, Germany
Date: Mon, 9 Nov 1992 15:57:04 GMT

Hello,

I hope, my problem is not too easy, but I dont think so.

I'm using a Dialog as a template for my MainWindow with

  MainWindow = new TMyDialog(..., ID_MAINWINDOW);
 
It worked quite fine until I wanted to include the option to iconify that 
Window (Dialog). It's a BorDlg-Window and I've tried nearly everything to
get my own icon, but everytime OWL uses the built in one. I'm already using
my own Class (BorDlg_MyClass) and I'm overloading GetClassName() and 
GetClassInfo() ... no use (sigh).
Any hints or solutions will be greatly appreciated.
 

-----------------------------------------------------------------------------
- Matthias Schoger			schoger@eva.fmi.uni.passau.de	    -
-- Theresienstr.2 							    -
--- 8390 Passau								    -
-----------------------------------------------------------------------------
From: karlth@rhi.hi.is (Karl Thoroddsen)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: How to implement two listboxes a'la FileManager?
Date: 12 Nov 92 16:09:13 GMT

In <1992Nov12.122304.18701@cs.hut.fi> s34090e@kaira.hut.fi (Petri Taavila) writes:

>The Win 3.1 FileManager has (as we all know) a multiple document
>interface where each child contains a pane containing a directory tree
>list and a filelist linked to the selected directory.  

>According to spy, each MDI child seems to be a custom class which has
>the drive buttons and two listboxes as childs, and this class handles
>the resizing of childs. It appears that win-api does not have any kind
>of Pane control for positioning the child windows (like many X widget
>sets have).

>Any ideas how this is implemented? Is it a custom control? Is there
>source code implementing such beast somewhere (publicly available)?

When the MDI child recieves a notification of it being resized, it 
simply changes the size of its child windows.

Look up: WM_SIZE and WM_MOVE.  For a complete example see Peter Norton's and
Paul Yao's "Windows 3.0 Power programming techniques." page 412.

-- 

\ Internet: karlth@rhi.hi.is             \ Karl Thoroddsen University Of Iceland
 \ Respect...            , Peter Ustinov  \ Department Of Computer Science
From: ae302@cleveland.Freenet.Edu (Peter Haller)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Status lines in MDI frame windows: how?
Date: 7 Nov 1992 18:12:01 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: ae302@cleveland.Freenet.Edu (Peter Haller)
NNTP-Posting-Host: slc4.ins.cwru.edu


In a previous article, nmurrayr@cc.curtin.edu.au (Ron Murray) says:

>   How are the dinky little grey status lines on MDI frame windows (like the
>WfW status line: the one with the current line/column, caps lock status etc.)
>done? The fact that they all look very much alike from app to app makes me
>suspect that there's a standard function that does it, but I can't seem to
>find any reference to it. Or do you have to do it the hard way by creating
>child windows, limiting the size of the client area, and so on?
>

The hardway. I just brokedown and developed a custom control that I keep in
a DLL. This way I have a configurable 'status' window class for everything
I do. The hardway, yes, but I only had to do it once.

PCH
-- 
Peter C. Haller                         |       'If you do what you
Lorain Products                         |       have always done,
ae302@cleveland.Freenet.Edu             |       expect what you have
"Are we having fun yet?"                |       always received.'
Newsgroups: comp.os.ms-windows.programmer.misc
From: hill@netcom.com (Tom Hill)
Subject: Re: Virtual Device Driver for COM Ports
Keywords: virtual device drive serial
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Thu, 12 Nov 1992 20:39:43 GMT

In article <11@mcnnet.UUCP> steve@mcnnet.UUCP (Steve Corso) writes:
>Several months ago there was a write-up in a magazine about how to
>implement a virtual device driver for com ports in windows.  Does
>anyone out there remember what magazine it was and when?
>
>Also, is there any code out there that performs this function?
>
>Steven J. Corso
>steve@mcnnet.mi.org

The articles were in Windows Tech Journal, around august. You can order
back issues from them (800) 234-0386. Source is on compuserve (GO CMLFORUM,
lib 9).

Of course, the DDK also includes source for the windows 3.1 VCD.

I'm in the process of implementing a VCD for a non-standard (8530 based)
serial port, so if you want to trade ideas, send me mail.

Tom Hill
hill@netcom.com
From: alenzini@hpcc01.corp.hp.com (Andrew Lenzini)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Q+E DLL in VB?
Date: 11 Nov 92 16:55:21 GMT
Organization: the HP Corporate notes server



Hi,

I'm trying to use a database in a VB application.  I'm currently using DDE to
communicate with Q+E.  This is not good.  I'd rather use the DLL that is part
of Q+E (QEDBF.DLL).  Unfortunately, I have no idea what the calling syntax is.
Does anyone have the answer?

P.S.  This is for prototyping purposes only.  If and when it comes time to do
the real application, I plan to purchase the Q+E VB software package.

P.P.S.  Q+E and the associated DLL come as part of Excel.

Thanks in advance,

Andy

   ____________________________   _________________________________________
 
   Andy Lenzini                   e-mail  : alenzini@hpasdd.mayfield.hp.com
   Hewlett-Packard                HPDESK  : Andy LENZINI / HP0000
   Software Technology Division   US Mail : 690 East Middlefield Road, 30LR
   Phone : (415) 960-5845                   Mountain View, California 94043
   ____________________________   _________________________________________
Newsgroups: comp.os.ms-windows.programmer.misc
From: nmurrayr@cc.curtin.edu.au (Ron Murray)
Subject: Re: WinHelp file syntax for BWC++3.1 HC31.EXE??
Organization: Curtin University of Technology
Date: Sat, 7 Nov 1992 12:04:16 GMT

In article <1992Oct20.103548.14245@zeus.franklin.edu>, sawczyn@zeus.franklin.edu (Michael Sawczyn) writes:
> In article <1992Oct17.063426.137467@zeus.calpoly.edu> ejajko@hertz.elee.calpoly.edu (Edward Jajko) writes:
>>Summary line tells all... I have purchased the Borland C++ with Windows
>>support & managed to find the HC31.EXE file, the undocumented help
>>compiler for WinHelp files.
>>
> 
> There IS documentation. It's in the utility manual. Pages 101+.
>

   I'm not sure about this. In my copy of the BC++ 3.1 utility manual at least,
the documentation is the same as that which came with BC++ 2.0. I was unable
to find anything on HC31; not even on a disk file somewhere. In fact, the
only way I was able to get the browse buttons to show themselves was to look
in one of the example files (helpex, I think) and see how that did it. I know
there are a few more things HC31 can do (some of the Borland stuff at least
manages to get "Group", "Up" and "Overview" buttons), but I have no idea how.

   Is it just that I have an early copy of the manual, or is Borland's
documentation not up to scratch (again)? Is there any better documentation
around (apart from the SDK, that is)?

 .....Ron
 
-- 
                                 ***
 Ron Murray
 Internet: nmurrayr@cc.curtin.edu.au
     Are we having fun yet?    -- Garfield
From: tmorgan@andromeda.rutgers.edu (Talib K. Morgan)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: HELP!!! Need to be able to click on words
Summary: Clicking on words
Keywords: words help click
Date: 10 Nov 92 22:57:37 GMT
Organization: Rutgers Univ., New Brunswick, N.J.

Could someone please tell me if there is a way that I can write a program that allows me to click on words and to give more information.  Sort of like hypertext/hypercard.  Windows Help allows it; but I recognized an API function that might be able to it.  If anyone can help, please do.  Thanks.

Talib
tmorgan@andromeda.rutgers.edu
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Developing network apps for Win for Workgroups
From: ccdps@levels.unisa.edu.au
Date: 2 Nov 92 08:16:39 +1030
Organization: University of South Australia

In article <BIELSIKFJ.30@MAIL.BECKMAN.COM>, BIELSIKFJ@MAIL.BECKMAN.COM (Frank J Bielsik) writes:
> Is there going to be any development tools for developing network
> applications for Windows for Workgroups?  Or is the standard NetBIOS calls
> used?

Maybe you want the Lan Manager 2.1 Programmers Toolkit? Ask Bob Baggerman
on <bob@comlab.gatech.edu> who has it (legally!) up for anon ftp.

--
 Dan Shearer                        email: Dan.Shearer@UniSA.edu.au
 Information Technology Branch      Phone: +61 8 302 3479
 University of South Australia      Fax  : +61 8 302 3385
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.apps
From: jfh@netcom.com (Jack Hamilton)
Subject: Mapping CGM fonts to Windows fonts
Followup-To: comp.os.ms-windows.programmer.misc
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Wed, 11 Nov 1992 04:56:49 GMT

I am creating some CGM files on a mainframe.  I will later import them into
MicroSoft Word for Windows. 

The mainframe program lets me specify the names of the fonts that the CGM
file will use.  If I look at the resulting CGM file, I'll see the font
names near the beginning.  

Here's the odd thing... when I import the resulting files into Word, some CGM
fonts are converted correctly to Windows fonts, and others aren't.  For 
example, Script is converted to Script and TimesRomanBoldItalic is
converted to Times Roman in bold and italicized. 

Most other font names don't convert, however.  LetterGothic, WingDings, and
a whole host of other fonts (including some from MicroSoft) are converted
to Ariel.

Does anyone know what's going on, or why some fonts might be converted but
others not?  I also tried the generic Windows names, and they all converted
to Ariel as well, so it doesn't seem to be running the names through the
Windows font matcher.

-- 

-----------------------------------------------------------------------
Jack Hamilton   jfh@netcom.com   P. O. Box 281107   SF, CA   94128-1107
From: huangch@xenolith.cps.msu.edu (Cheng Chang Huang)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Setting Up Dual Monitor Mode for BC++
Keywords: mswindows
Date: 13 Nov 92 01:44:57 GMT
Organization: Michigan State University

Can anyone give me some idea about how I can set up dual monitor mode for
developing Windows Program with BC++?

I have two monitors at hand. One is NEC 3D and the other is CompuAdd Mono
VGA.  I have a VGA card on my machine. What kind of adapter  should I  
use/add in order to use them both and, for MS Windows, what kind of change  
should I make to sys.ini?


Thanks,

Chengchang Huang

Email: huangch@cps.msu.edu
From: cs90mdh@cen.ex.ac.uk
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Vertical blank
Date: 11 Nov 92 16:07:06 GMT
Organization: University of Exeter, UK.


Can anyone tell me how to test for the vertical blank within a Windows program?
(or the position of the electron beam, ie of the monitor)

This is to provide flicker-free animation, which requires updating an image
uninterrupted by the monitor refresh.

There is probably not a generic solution, so just VGA specific code would be
excellent.



Thanks in advance.



		Mark.H.
Newsgroups: comp.os.ms-windows.programmer.misc
From: yarbroug@gdstech.GRUMMAN.COM (Danny Yarbrough)
Subject: Drive Switching with DlgDirList
Organization: Grumman Data Systems, Herndon VA
Distribution: comp
Date: Mon, 2 Nov 1992 17:23:00 GMT

I'm developing an application that uses calls DlgDirList to fill
listboxes with file and directory information.  This seems to work
fine for what I'm doing, but I have a small problem that I've seen
occur in other applications that apparently do the same thing: if
DlgDirList is called to display the contents of floppy disk, and then
called again to display a different drive, DlgDirList accesses the
current drive (the floppy) first.  If there is no disk in the floppy
drive, a system error is generated.  DlgDirList will refuse to change
to another drive until a floppy is inserted into the drive.

It seems like there should be a way around this problem, because while
I've seen numerous applications fail the same way mine does, I've
probably seen an equal number that proceed right on and switch drives.

Anyone have any suggestions?  A post here will do, or email if you
like.

Any ideas much appreciated.

Danny
-- 
+------------------------------------------------------------+
|  Danny Yarbrough (yarbroug@gdstech.grumman.com)            |
|  Grumman Data Systems, Herndon, Virginia (703)-713-4136    |
+------------------------------------------------------------+
From: christb@infmuc (Christian Barmala)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Smartdrive
Date: 9 Nov 92 08:23:35 GMT
Organization: Informix Software, Inc.
X-Newsreader: Tin 1.1 PL3

Is there an API call, that a Windows program may use in order to flush
Smartdrive's write behind cache?

I notice considerable disk activities after a screensaver starts. Is this
because Windows causes smartdrive to be flushed?

Regards, Christian Barmala
Newsgroups: comp.os.ms-windows.programmer.misc
From: s34090e@kaira.hut.fi (Petri Taavila)
Subject: How to implement two listboxes a'la FileManager?
Reply-To: s34090e@kaira.hut.fi (Petri Taavila)
Organization: Helsinki University of Technology, Finland
Date: Thu, 12 Nov 1992 12:23:04 GMT



The Win 3.1 FileManager has (as we all know) a multiple document
interface where each child contains a pane containing a directory tree
list and a filelist linked to the selected directory.  

According to spy, each MDI child seems to be a custom class which has
the drive buttons and two listboxes as childs, and this class handles
the resizing of childs. It appears that win-api does not have any kind
of Pane control for positioning the child windows (like many X widget
sets have).

Any ideas how this is implemented? Is it a custom control? Is there
source code implementing such beast somewhere (publicly available)?

//pete






! Petri Taavila ! petri.taavila@hut.fi! Nainen, poliisi ja taxi, ei     !
! t  5673492    !                     ! niit{ koskaan tarvitessa n{y.   !
! k  5061553    !                     ! - Tuntematon kotimainen artisti !

Newsgroups: comp.os.ms-windows.programmer.misc
From: bonneau@hyper.hyper.com (Paul Bonneau)
Subject: Re: Changing Window's focus: possible?
Reply-To: bonneau@hyper.UUCP (Paul Bonneau,,)
Organization: HyperCube Inc.
Date: Thu, 5 Nov 1992 14:57:45 GMT

In article <682@lax.lax.pe-nelson.com> twbrown@PE-Nelson.COM (Tom W. Brown) writes:
>In article <4NOV199210331435@zeus.tamu.edu>, sam4628@zeus.tamu.edu writes:
>|> Is it possible to write a program which changes the way Windows focuses?
>|> I would like the active window to be selected by mouse pointer position,
>|> without necessarily bringing the window to the front.  Has anybody done
>|> anything similar to this?  Thanks.
>
>This would seem to be hard to do.  MS Windows kinda has a built-in
>window manager (or, Windows *is* the window manager, may be a better way
>of saying it).  I've not seen anything of the sort and there's probably
>enough interest that if it were easy it would've been done.
>
Actually I think this would be doable.  Given the fact that
3.1 now has 2 z orders (topmost and non-topmost windows), and
coupled with a DLL hosted message hook, it might not be that
hard to cobble up a solution.  BTW, you can think of USER as
the window manager, but there are many ways to modify its
behaviour.

cheers - Paul.
Newsgroups: comp.os.ms-windows.programmer.misc
From: josteinl@saga.oih.no (LEIRA JOSTEIN)
Subject: Re: BORDLG class dialog boxes
Summary: problems with bordlg style dialog boxes
Keywords: borland mswindows dialog
Organization: Oslo College of Engineering
Date: Mon, 9 Nov 1992 14:15:37 GMT

In article <10966@uqcspe.cs.uq.oz.au> jonmac@cs.uq.oz.au
(John McCormack) writes:

>I've created a number of dialog boxes using Borlands BORDLG style
>in the resource workbench. They work fine on my system ( which has
>all of the borland stuff included ) but when I move the application
>to a machine which doesnt have Borland C++ installed, the dialog boxes 
>won't come up. I assume the problem has something to do with windows
>being unable to find the BORDLG style ( ?? missing DLL ?? ). I've included
>the BWCC.DLL with the app and it still doesnt work. Any ideas would be
>appreciated!

You'r right. You must load the BWCC.DLL. There are two ways to do it.

First method:

  Enter these two lines of code at the start of your program:

    HANDLE hDLL;         /* This line could be defined in the app-class */
    hDLL = LoadLibrary("BWCC.DLL"); /* and this line in the constructor */

  and this line at the end (of WinMain):

    FreeLibrary(hDLL);              /* and this line in the destructor */

  Then you should link your program with BWCC.LIB and IMPORT.LIB. (The 
  Borland documentation says the linking order i important.)

Second method:

  Insert this line into WIN.INI under the [windows]-paragraph:

    load=loadbwcc.exe

For both methods you still have to include the BWCC.DLL file, so I don't
know which method you'd prefer. I would fall down on the first (I think).

Jostein Leira in Oslo (now programming CommonView)
From: rioj7@fel.tno.nl (M.L.M.Veraart)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Why do we need the operation code in a ROP?
Keywords: ROP
Date: 5 Nov 92 08:51:19 GMT
Organization: TNO Physics and Electronics Laboratory

When specifying a Raster Operation Code in a call to BitBlt 
we must look up the operation code that belongs to a certain
operation index (values 0..255).
Isn't Windows capable of using a lookup table or is their a
direct mapping from the 32 bit ROP number to the operation
(AND, OR, XOR) that has to be performed on the Destination,
Brush and Source bitmaps?
I want to know this out of curiousity and because I have to 
implement a couple of these ROPs in my own windows application.
I was not able to use a 4 bit color memory BITMAP, drawing
on it, and then using GetPixel() to determine the value of the
pixels.

Can anybody help me?
======================================================================
Mario Veraart                  TNO Physics and Electronics Laboratory
email: rioj7@fel.tno.nl        The Hague
-- 
======================================================================
Mario Veraart                  TNO Physics and Electronics Laboratory
email: rioj7@fel.tno.nl        The Hague
Newsgroups: comp.os.ms-windows.programmer.misc
From: pjsmith@iastate.edu (Phil J Smith)
Subject: need DBase DLL
Keywords: dbase, dll
Organization: Iowa State University, Ames IA
Date: Thu, 12 Nov 1992 06:04:13 GMT

Does anyone know of a public domain/shareware DLL for reading/writing
DBase files?  And if so, where can I get it?  I am using Turbo C++ for
Windows V3.1.


Thanks,


Phil Smith

Newsgroups: comp.os.ms-windows.programmer.misc
From: carty@ists.ists.ca (Ed Carty)
Subject: Dialog instance data...
Organization: Institute for Space and Terrestrial Science
Distribution: na
Date: Mon, 9 Nov 92 16:16:04 GMT


9 Nov. 1992

Anyone walked this road before...

I'd like to encapsulate instance data with a modeless dialog.  I'm creating
the dialog with CreateDialogParam(), passing initialization data via the
lParam.

I'm using the standard 'message-cracker' dialog methods, modified as per the
standard 'message-cracker' window methods, allocating an instance data
structure on creation, which I'd like to attach to each instance of the 
dialog window.

In <windows.h> there are several interesting things;

/* cbWndExtra bytes needed by dialog manager for dialog classes */
#define DLGWINDOWEXTRA  30

/* Get/SetWindowWord/Long offsets for use with WC_DIALOG windows */
#define DWL_MSGRESULT   0
#define DWL_DLGPROC     4
#define DWL_USER        8

It seems that the dialog window procedure get 30 extra bytes, with offsets
for the return long, the dialog procedure and something called DWL_USER.  I
assumed that I could use DWL_USER to attach the pointer to my instance data
structure, but this causes 'GDI: HFONT not deleted' warnings.  It seems
like windows is using this location...

I ain't got the guts to muck around with the remaining 18 of the 30 extra
bytes.  Also, we're writing a commercial app., and can't risk 'undocumented
windows' tricks.

Any suggestions?

Thanks in advance,

Ed Carty
carty@ists.ists.ca