HDTenEightyP/NetNews huggingface dataset:
From: se92psh@brunel.ac.uk (Peter S Hauke)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Book to complement BC3.0??
Date: 6 Nov 92 09:30:56 GMT
Organization: Brunel University, Uxbridge, UK
X-Newsreader: TIN [version 1.1 PL6]

Philip Shepherd (pshepher@elli.une.edu.au) wrote:
: 
: Can anybody recommend a good book to complement BC3.0 which
: documents Windows functions more completely???
: -- 

By complement, you probably means includes C++ code and preferably
OWL code as well.  I bought Peter Norton's book (he has done one
with C code and one with C++/OWL code.).  It's OK as an intro and
there is some more interesting stuff there.  But the book I would
definitely look at is WAITE's Window Bible.  It documents just about
all the functions giving examples (unfortunately only C code), and
it includes Windows 3.1 stuff as well (though not completely). Also 
Borland sells there Windows API in book form for about $30, but this
is more or less the Help files in paper form. 

Peter Hauke
-----------
Newsgroups: comp.os.ms-windows.programmer.misc
From: rvenkate@ux4.cso.uiuc.edu (Ravikuma Venkateswar)
Subject: Borland Pascal 7.0
Organization: University of Illinois at Urbana
Date: Mon, 9 Nov 1992 02:22:48 GMT

Does anyone know anything about it?
-- 
Ravikumar Venkateswar
rvenkate@uiuc.edu

A pun is a no' blessed form of whit.
From: tholo@amanda.bbb.no (Thorsten Lockert)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: How do you put a tiled bitmap on MDIFRAME background?
Keywords: windows bitmap MDI MFC C700 MSC MSC7 C7
Date: 5 Nov 92 21:08:30 GMT
Organization: Bergen By Byte A/S
NNTP-Posting-Host: amanda.bbb.no

I'm stuck.  I've tried about everything I could think of, but are still
unable to put a tiled bitmap in the MDIFRAME client area.  Does anyone
have a code fragmet that demonstrated how this should be done?  Either
using MFC, or using SDK calls only.

Thanks in advance,
-- 
Thorsten Lockert       |  postmaster@bbb.no  |
Ibsensgate 122         |  hostmaster@bbb.no  |  Universe, n.:
N-5037 Solheimsviken   |  tholo@bbb.no       |          The problem.
Norway                 |                     |
Newsgroups: comp.os.ms-windows.programmer.misc
From: m086414@pwa-b.uucp (Fred Comins)
Subject: Language parse help needed.
Organization: Pratt & Whitney Aircraft
Date: Fri, 6 Nov 1992 18:05:49 GMT

I am looking for any papers/algorithms/code that has 
to do with language parsing and interpetion for a
project that I am working on.   

If anyone knows where I can get access to ELISA
souce I would appreciate.

Thank you.

EMAIL: comins@pwfire.pweh.utc.com

-- 
Fred S. Comins				 Pratt & Whitney Aircraft
Email: comins@pwfire.pweh.utc.com        400 Main St. M/S 161-05
Sun Workstation Support                  East Hartford, CT 06108
From: twbrown@PE-Nelson.COM (Tom W. Brown)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: HELP!!! Problem with acessing system memory
Date: 10 Nov 92 18:14:50 GMT
Organization: PE-Nelson

In article <1992Nov8.224019.28221@rhrk.uni-kl.de>, baum@kirk.es.go.dlr.de (Peter Baumann) writes:
|> Hi!
|> 
|> I have a problem. I want to access the memory of a frame grabber installed
|> to my system (BC++, Windows 3.1). I found a note in a programmers guide that
|> something like this should be possible:
|> 
|> unsigned char far * fp;
|> fp = MAKELONG(0,&_E000H);
|> 
|> Then I have a pointer to memory location D0000 where the frame grabber is. 
|> __E000H is supposed to be a constant defined for windows. I CANT FIND IT!!!
|> Does anybody out there have a def for this constant or can I access the
|> memory in a different manner?
|> 

The selector __E000H is an exported symbol from KERNEL, you have to provide
a declaration for it:

   extern WORD __E000H;
   .
   .
   .
   {
      unsigned char far *fp = MAKELONG(), &__E000H);
      .
      .
      .
   }

If this doesn't work (I've only used it for accessing __0000H locations)
you may want to look into the AllocSelector(), SetSelectorBase(),
SetSelectorLimit(), and FreeSelector() calls which, although I've not used,
I've heard will work also.


----------------------------------------------------------------------------
Tom Brown               |  "'ow d'you know 'e's a king?
PE Nelson Systems       |            'cause 'e 'asn't got shit all over 'im!"
twbrown@pe-nelson.com   |                    Monty Python and the Holy Grail
----------------------------------------------------------------------------
Organization: Penn State University
Date: Tue, 10 Nov 1992 08:55:50 EST
From: <F0O@psuvm.psu.edu>
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Scroll bar usage in TPW 1.0

   I've found what seems to be a quirk with the scroll bar controls.  In
the scroll app example program, if I change the XRange and YRange values
to 0 in the init constructor, the scroll bars don't show up.  So far all
is ok.  I've read this is what is supposed to happen.  However, when I
set the XRange and YRange values to 0 in the init method in a program I
wrote, the scroll bars still appear!  My code is:

     Scroller := New(PScroller, Init(@Self, 0, 0, 0, 0));

   I set them all to 0's at the start since I don't yet know what they
should be until the user loads a file.  When I try this same line of code
in the scrollapp example program, they don't show up.
   Has anyone else ran into this?  Anyone have a clue as to what is going on?

                                                             [Tim]
From: steve@monu6.cc.monash.edu.au (Steve Balogh)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: How to get WINSOCK.DLL & drivers ????
Date: 9 Nov 92 07:20:50 GMT
Organization: Monash University, Melbourne, AUSTRALIA

In article <1674@rwja.umdnj.edu> green@rwja.umdnj.edu (Cliff Green) writes:
>heathh@cco.caltech.edu (Heath Ian Hunnicutt) writes:
>
>>Hi,	
>>	I would like to try my hand at developing a TCP/IP client
>>for Windows using the winsock specification.  My questions is, 
>>where can I get a copy of winsock.dll,
>How about on the MS Download Service (bbs) at: 206-936-6735.
>

Are you sure that the winsock.dll is available and not just the specifications
for such a library?

Regards,
         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: viswanm@jasper.CS.ORST.EDU (Mahesh Viswanathan)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: List of Tasks, or Modules
Date: 12 Nov 92 21:52:50 GMT
Article-I.D.: flop.1dujniINN55j
Distribution: usa
Organization: Computer Science Department, Oregon State University
NNTP-Posting-Host: jasper.cs.orst.edu

Hi, 

I am fairly new to MS-Windows, and am programming under BC++ 3.1.

I have a question. I am trying to write a simple program that will
let me use the left mouse button to CUT, and the right button
to PASTE. I hate going up to the edit menu to do a Send, every time.

So, basically, this is what I want to do:

write a program that will look for the Terminal module, and if it
exists, it will filter all mouse messages to that window, and
substitute them with that, and the keystrokes for a CUT operation
for the left button, and similarly a PASTE operation for the
right button.

If this strategy is right, I have further problems.
1. When I try using the ModuleFirst/ModuleNext functions to find
"Terminal", I don't get any listing of Modules at all!! And,
it is the same thing if I do the TaskFirst/TaskNext thing.
Here's the piece of code I am using......

________________________________________________________________

long FAR PASCAL WndProc (HWND hWnd, WORD iMessage, WORD wParam,
			 LONG lParam)

<stuff deleted....>
static MODULEENTRY meModule;
static char szBuffer[40];
static BOOL notalldone;
static MODULEENTRY FAR* pmeModule = &meModule;

<stuff deleted....>
switch (iMessage)
	{
	case WM_PAINT:

		hDC = BeginPaint(hWnd, &PtStr);
		x = 1; y = 1;
		notalldone = ModuleFirst(pmeModule);
		while (notalldone)
			{
			 wsprintf(szBuffer, "%s %d", meModule.szModule,
					meModule.hModule);
			 TextOut(hDC, x, y, meModule.szModule, 40);
			 y +=nYChar;
			 notalldone = ModuleNext(pmeModule)
					|  (y >= PtStr.rcPaint.bottom);
			}

																						EndPaint(hWnd, &PtStr);
		return 0;

<stuff deleted...>

__________________________________________________________________________


Any pointers would be much appreciated. Also, since I don't read this
newsgroup on a frequent basis (yet :-) ) , could you mail me a reply
to 
viswanm@research.cs.orst.edu?

Thanks!!

Mahesh



-- 
	Mahesh Viswanathan		|	viswanm@research.cs.orst.edu
	279B SE Lilly			|	(503)-752-0779
	Corvallis OR 97333		|
From: kevin@execu.execu.com (Kevin English)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: How do I detect program termination?
Date: 13 Nov 92 21:15:29 GMT
Organization: Execucom Systems Corp

In article <1992Nov12.154850.18739@rambo.atlanta.dg.com> reo@atlanta.dg.com (Bob O'Donnell) writes:
>
>If I start a program using WinExec(), how can I determine when this program
>terminates?  Is there a window message (WM_???) I can look for? 
>
Take a look at the NotifyRegister() function (wID == NFY_EXITTASK)

Newsgroups: comp.os.ms-windows.programmer.misc
From: sean@sun-3.cs.uct.ac.za (Sean McLeod)
Subject: Dialog Box Background Colour
Organization: Computer Science Department, University of Cape Town
Date: Tue, 10 Nov 1992 09:18:49 GMT

Hi

I'm having trouble trying to change the background colour of my 
dialog boxes. I'm using Borland's Object Windows. The following
fragment of code is what I'm using at the moment, but it has NO
effect!! However if I use the exact same code fragment for a class
derived from TWindow it works fine! I've designed my dialog boxes 
in the Resource Workshop if that makes any difference.

Has anybody else done this??

void TBook1::GetWindowClass(WNDCLASS &AWndClass)
{ 
  	TDialog::GetWindowClass(AWndClass);
	AWndClass.hbrBackground = CreateSolidBrush(RGB(128,150,65));
	//AWndClass.hbrBackground = (HBRUSH)COLOR_ACTIVECAPTION+1;
	AWndClass.hbrBackground = COLOR_ACTIVECAPTION+1;
}

LPSTR TBook1::GetClassName()
{
	//return "BORDLG";
	return "Howdy";
}

Second question: Is there an easy way to change the background colour
of Borland's dialog class, "BorDlg" which gives that nice cross hatched
brush colour (from the resource workshop if possible)?? I've looked for the
source code for bwcc.cpp, but it doesn't exist, I only have the header
file, the dll file, and the lib file. 

Thanks 
Sean@sun-3.cs.uct.ac.za
Newsgroups: comp.os.ms-windows.programmer.misc
From: mzellers@StarConn.com (Mark Zellers)
Subject: Size limitations on Open Common Dialog combo boxes?
Reply-To: jpat@fusion.com
Organization: Starnet-Public Access UNIX--Los Altos, CA  415-949-3133
Date: Wed, 11 Nov 1992 22:59:04 GMT

There is apparently a 2048 character limit on the string returned from
the Open common dialog when allowing for multiple selections.

If I have a directory with several hundred files and I use the Open dialog
to select all of them, the dialog is supposed to concatenate each file name
selected into a single long string of space-delimited names.  That string,
however, is apparently limited to 2048 characters, or roughly 157 full length
file names.

The test program I wrote dynamically allocates the return buffer used by
GetOpenFileName when the user presses OK.  But by the time the message handler
sees the FILEOKSTRING message, the string has already been truncated.

The problem, I believe, is in the implementation of the combo-box which 
handles the selection and display of the file names.

My question is:  Is this a real limitation or is there some parameter I can
change to allow bigger strings?
-- 

+-----------------------------------------------------------------------------+
| Mark H. Zellers                                          Mark@fsi.Fusion.COM|
| Fusion Software, Inc                    455 Sherman Ave, Palo Alto, CA 94306|
From: jonmac@cs.uq.oz.au (John McCormack)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Custom control examples wanted
Summary: Custom control examples wanted
Keywords: MSwindows control programming
Date: 9 Nov 92 04:41:13 GMT
Reply-To: jonmac@cs.uq.oz.au

I'm writing an app which needs a custom control. Can anyone send
me an example of a costom control that has been made into a DLL
so that it can be included in a dialog box using Borland Workshop etc?

Thanks

Jon.

jonmac@cs.uq.oz.au


--
  _-_|\      jonmac@cs.uq.oz.au           / If anyone can think of anything 
 /     * <-- Computer Science Department,/
 \_.-._/     University of Queensland,  /witty to say here, please mail me! 
      v      Brisbane, Australia.      /
Newsgroups: comp.os.ms-windows.programmer.misc
From: c2s4027@tamsun.tamu.edu (Cedric Sims)
Subject: Re: source for Petzold's programming window
Organization: Texas A&M University, College Station
Date: Mon, 9 Nov 1992 14:36:25 GMT

In article <95739@netnews.upenn.edu> kris@circ.upenn.edu writes:
>> ok guys, check for progwin.zip on wuarchive.wustl.edu in /pub/MSDOS_UPLOADS.
>
>F.Y.I: I found the file in /mirrors3/win3/uploads
>
>---
>Kris B. Gupta  - Cardiothoracic Imaging Research Center
>Dept Radiology - Hospital of U of Pennsylvania
>Internet: kris@gynko.circ.upenn.edu
>

It has now been moved to :
  /mirrors3/win3/programr/progwin.zip

-------------------------------------------------------------------
 Cedric J. Sims                               Texas A&M University
                                         Computing Services Center
 cedrics@tamu.edu                          (SELL)  Room 216 Teague
 +1 409 862 4104                    College Station, Tx 77843-3142
-------------------------------------------------------------------
-- 
-------------------------------------------------------------------
 Cedric J. Sims                               Texas A&M University
                                         Computing Services Center
 cedrics@tamu.edu                          (SELL)  Room 216 Teague
From: galenr@hpgrla.gr.hp.com (Galen Raben)
Date: Wed, 4 Nov 1992 17:38:34 GMT
Subject: Re: Windows API with Visual Basic?
Organization: Hewlett-Packard, Greeley, CO
Newsgroups: comp.os.ms-windows.programmer.misc

In comp.os.ms-windows.programmer.misc, ca566@cleveland.Freenet.Edu (Michael Holloway) writes:

>A friend of mine is using Visual Basic and was wondering if anyone 
>out there in netland could point him in the direction of a reference 
>for Windows API command access for Basic.  Is he stuck with buying 
>an expensive developer's kit or is there some other alternative?

>Thanks
>Mike
>-- 
>E-mail: mhollowa@ccmail.sunysb.edu (mail to freenet is forwarded)
>phone:  (516)444-3612

Walk, no RUN down to your local bookstore - look for "Visual Basic How-To"
a book by the Waite Group Press.  A number of good examples on using the
Windows API (only Windows 3.0 though) discussed in the book and on the
examples disk.  The disk also has a file called "WINAPI.TXT" which contains
a good VB reference to the Windows 3.0 API...

Another alternative is to get the WINAPI file from the Microsoft BBS (don't
have their number though) or from their Basic support forum library on
CompuServe (GO MSBASIC, look in the VB library...), They also will have
the updated file for Win 3.1...

- Galen -
From: jmowen@mona.Gwinnett.COM (John M. Owen)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: drag/drop undocumented functions headers needed
Date: Thu, 05 Nov 92 18:58:09 EST
Organization: Flat On My Back in Bed With Mona, Duluth, GA, USA

Can someone supply me a pointer to the undocumented drag/drop
functions, particularly the server functions? I need the header and
maybe a little doc for them. I understand _Undocumented Windows_ has 
what I want, but I don't have convenient access to it. A file available
by e-mail server would be just the ticket.

Please respond by e-mail, and I will post a consolidated reply.

-- jmowen@mona.Gwinnett.COM (John M. Owen) 
-- My .sig is bigger than yours - but I keep it offline.
Newsgroups: comp.os.ms-windows.programmer.misc
From: hjhoffma@cayley.uwaterloo.ca (henning hoffmann)
Subject: closing MDI windows
Originator: hjhoffma@cayley.uwaterloo.ca
Keywords: MDI
Organization: University of Waterloo
Date: Wed, 11 Nov 1992 17:31:48 GMT

What is the best way to close some MDI windows under program control
in BC++ 3.1?

That is, there are several different kinds of messages you can send to
either the window or the window's parent to get the job done, so my
question is, which is best??


Thanks...


Henning Hoffmann


Newsgroups: comp.os.ms-windows.programmer.misc
From: duvalld@liberty.uc.wlu.edu (Danek Duvall)
Subject: Up Help Button
Date: Fri, 13 Nov 1992 20:45:13 GMT
Distribution: local,world
Organization: Washington & Lee University
X-Newsreader: Tin 1.1 PL5


I have been experimenting with the RTF file format in creating Windows
Help files. However, the information supplied with the 3.1 SDK on creating
these suckers is minimal. It said how to create the Browsing buttons (>>,
<<), but they never mention how to create the Up buttonas it works in
standard Windows Help stuff. They give an example of creating an "Up"
button, but it does something different. Has anybody done this before or
got any ideas. I'd appreciate it.

Thanks in advance...

Danek
-- 
Danek Duvall: Washington and Lee U.
Internet: duvalld@liberty.uc.wlu.edu
***
Newsgroups: comp.os.ms-windows.programmer.misc
From: arakins@iastate.edu (Brother Andrek of the Violet Orchid Brotherhood)
Subject: Getting a Palette to a Bitmap
Organization: Iowa State University, Ames, IA
Date: Fri, 6 Nov 1992 19:14:47 GMT


  I am using some bitmap manipulation routines that I got
from ftp.uu.net. One of these routines is one called:

  DibFromBitmap()

  Which takes a handle to a device dependent bitmap and
returns a handle to a device independent bitmap.

  One of the parameters to this function is a handle to
the palette of the HBITMAP. My question is: how do I get
this?
  When I attempt to use the system palette, the bitmap
is translated, but it loses all of its color (it 
becomes black and white). Does anyone have an idea on
what I am doing wrong?

  I am using the code that can be found on ftp.uu.net
in vendors/microsoft/developers-network/gdi/3.zip, in
the file dib.c. I am using Borland C++ version 3.0.

  Thank you...

-- Andrew Akins
   Iowa State University
   arakins@iastate.edu
Newsgroups: comp.os.ms-windows.programmer.misc
From: loescher@Informatik.TU-Muenchen.DE (Stephan Loescher)
Subject: RE: Smartdrive
Originator: loescher@hphalle0a.informatik.tu-muenchen.de
Organization: Technische Universitaet Muenchen, Germany
Date: Tue, 10 Nov 1992 10:40:38 GMT


It's not smartdrive or windows which causes your harddisk to be active, it's the
screensaver, beause it swaps the video-memory to the disk.

S.L.
Newsgroups: comp.os.ms-windows.programmer.misc
From: dowte@mksol.dseg.ti.com (Terry E. Dow)
Subject: Screen Saver link error.
Organization: Texas Instruments
Date: Wed, 11 Nov 1992 21:32:06 GMT

I am using Borland C++ 3.1 & AF and found a copy of a screen saver source code in
"Windows Tech Journal" (June 1992, page 27).  I got a copy of scrnsave.h and .lib
from a friend and placed them then the /borlandc/include and ./lib directory
respectively.  I am using the BCW IDE to build.  I get through the compile, but I
get a link error:

Compiling SSXORLIN.C:
Warning SSXORLIN.C 137: Parameter 'lParam' is never used
Warning SSXORLIN.C 141: Parameter 'hInstance' is never used
Compiling SSXORLIN.RC:
Linking SSXORLIN.EXE:
Linker Error: Undefined symbol DEFSCREENSAVERPROC in module SSXORLIN.C
Linker Error: Undefined symbol _MAIN in module WINMAIN

I have read around and have not been able to find how to knowing include the
scrnsave.lib with the IDE.  I must be missing something simple.  If this sounds
familiar to anyone, please let me know what I need to do to correct this.

Thanks to all who read this,
-- 
Terry E. Dow           |site: Spring Creek, building: 4, coorindates: 2N80
Texas Instruments Inc  |voice #: 214 575-6758,  digital pager #: 214 314-3719
PO Box 869305 M/S 8518 |Fax #: 214 575-6771, MSG id: DOWT, PC drop: PSK9
Plano, Tx 75086, USA   |Internet adress: Terry.Dow@dseg.ti.com
From: green@rwja.umdnj.edu (Cliff Green)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: How to get WINSOCK.DLL & drivers ????
Date: 6 Nov 92 19:29:24 GMT
Organization: Robert Wood Johnson Medical School, Piscataway NJ

heathh@cco.caltech.edu (Heath Ian Hunnicutt) writes:

>Hi,	
>	I would like to try my hand at developing a TCP/IP client
>for Windows using the winsock specification.  My questions is, 
>where can I get a copy of winsock.dll,
How about on the MS Download Service (bbs) at: 206-936-6735.


> and the requried driver for
>my ethernet board?  (BTW: I am using an Intel EtherExpress 16)
That should be on the disk that came with the card, and if it isn't
you can get one from anonymous ftp from: cc.watsun.columbia.edu,
where the crynwr driver collection is maintained.

You might want to monitor comp.protocols.tcp-ip.ibmpc for more information.

c-- 
Clifford Green               Internet:   green@rwja.umdnj.edu
Academic Computing Services     voice:   908-463-4436
UMDNJ-RWJMS                       fax:   908-463-5252
#include <fineprint.h>
Newsgroups: comp.os.ms-windows.programmer.misc
From: fsmadja@figment.shearson.com (Frank Smadja)
Subject: WHERE IS THE FAQ ????
Reply-To: fsmadja@alfred.shearson.com
Organization: Lehman Brothers
Date: Tue, 10 Nov 1992 19:57:54 GMT


Hi there:

I guess this is the most frequently  asked question on all the newsgroups but 
	
		WHERE IS THE FAQ ?

Thanks
Newsgroups: comp.os.ms-windows.programmer.misc
From: stud11@cc4.kuleuven.ac.be (Lode Vande Sande)
Distribution: world
Date: Thursday, 5 Nov 1992 11:32:16 +01
Organization: K.U.Leuven - Academic Computing Center
Subject: Re: Windows ScreenSavers...

In article <17150@MINDLINK.BC.CA>, Peter_Roosen@mindlink.bc.ca writes:
> I would like to hear from anybody that has developed a screen saver for MS
> Windows.  Please send EMAIL to peter_roosen@mindlink.bc.ca.  Thank you for
> your time.

Hello I use BCC v3.1 ... I found a SCRNSVR directory ... I compiled the
program ... it directly starts drawing dots on the screen.

Ok I suppose this is the animation and the program is the screensaver.

I'm not interested in using screensavers but is it OK to say that any program
can be used as screensaver ?.

PS: I suppose the SCRNSVR.EXE needs to be placed somewhere in a .INI file. So
any program can be used.
Newsgroups: comp.os.ms-windows.programmer.misc
From: qiang@cubmol.bio.columbia.edu (Qiang Zheng)
Subject: Re: Screen Saver link error.
Organization: Columbia University, Biological Sciences Dept.
Date: Thu, 12 Nov 1992 14:58:21 GMT


Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer,comp.os.ms-windows.programmer.tools