HDTenEightyP/NetNews huggingface dataset:
From: nxd3@po.CWRU.Edu (Nathan Dornbrook)
Subject: Re: Window's Help
Reply-To: nxd3@po.CWRU.Edu (Nathan Dornbrook)
Organization: Case Western Reserve University, Cleveland, OH (USA)
Date: Tue, 18 Aug 92 20:44:45 GMT


In a previous article, tguez@jade.tufts.edu (Name) says:

>If your brain would of been working as good as your mouth (or should I
>say your finger) then you would of noticed tguez@jade.tufts.edu!

Sigh.

1] Save your flames for alt.flame.
2] "good" is an adjective, not an adverb.  Brains don't "work good" they 
   "work well."
3] "would of" is a syntactical nightmare.  "would have" is correct.

	tguez asks "should I say your finger[?]"  No, you should not say my
finger. 
	My conclusion is that jade.tufts.edu is not an English speaking 
university.
-- 
Nathan Dornbrook                     nxd3@po.CWRU.Edu
Case Western Reserve University      1-216-754-2129
Theoretical Physics Dept.            11904 Carlton Rd.     
Software Development                 Cleveland, OH  44106    
Newsgroups: comp.os.ms-windows.programmer.misc
From: hook@eagle.geog.ubc.ca (Chris Hook)
Subject: How to find out what Apps are running?
Organization: University of British Columbia, Vancouver, B.C., Canada
Date: Mon, 17 Aug 1992 15:28:47 GMT


Could some please refer me to the cheapest (resource wise) call to make
from C (using BCC++ 3.1) within a windows app to find out whats running?

I need to determine the presence - or lack there of - a certain DOS
programs and whether or not they are running. This poll is made numerous
times per second and so I don't want a call that has very much overhead
to it.

Thanks alot,

Chris Hook -  Computing Systems/Network Manager
Atmospheric & Geographic Sciences
University of British Columbia, Vancouver, B.C.
e-mail: hook@geog.ubc.ca
From: sybesmer@uther.calvin.edu (Eric W Sybesma)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Wingif in background on Startup?
Summary: How to put a picture in the background
Keywords: Wingif gif
Date: 21 Aug 92 21:22:24 GMT
Organization: Calvin College


	Is there anyway to put a picture, full-screen, in the
background on Start-up?.  I have WinGif.  I would like to 
have a picture in the background instead of my regular wall-
paper?  How do I do it?

				Eric Sybesma


Please E-mail at sybesmer@uther.calvin.edu
--
Home Address and Phone               Internet addresses  
Eric Sybesma   (616) 243-5913        School: sybesmer@uther.calvin.edu
514 E. Burton St.                    Work:  (E-mail only) (616) 241-7280
Grand Rapids  MI  49507                   sybesma@benzie.si.com
Date: Mon, 17 Aug 92 09:50:32 +0200
From: Uwe_Chalas@eurologic.fido.de (Uwe Chalas)
Subject: Re: change font for TEdit
Newsgroups: comp.os.ms-windows.programmer.misc
X-Comment-To: (Cparker)
Organization: Hank, the blank 

c > How does one change the font for a TEdit in
c > a window, or, failing that, for an EDIT control.
c >
Hello,
you can use the Message WM_SetFont
From: mg@spox.spectron (Mark Grosen)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Problem with dialog as main window
Keywords: windows,dialog,petzold
Date: 19 Aug 92 05:52:12 GMT
Distribution: na
Organization: Spectron MicroSystems, Inc., Santa Barbara,  CA


Sorry for a repeat question, but I did not see a reply to an earlier posting
about this problem.  I, too, am trying out the "hexcalc" program from the
original Petzold book.  This app just does a CreateDialog() to make its main
window.  Well, the code no longer seems to work under 3.1.  I can't find a
newer version of Petzold at the moment (all the bookstores are waiting for
Ed. 3), so I can't check out if he changed the code.  I got a note from MS
detailing how to create a main window and then fill it with a dialog box as
a child, but Petzold's method is simpler.  

Please email any suggestions.

Thanks.

Mark 
mg%spox@hub.ucsb.edu
...!hub.ucsb.edu!spox!mg
-- 
Mark D. Grosen			
Spectron MicroSystems		Internet:  mg%spox@hub.ucsb.edu
5266 Hollister Avenue		(805) 967-0503 (Voice)
Santa Barbara, CA  93111	(805) 683-4995 (FAX)
From: sap@sactoh0.sac.ca.us (Stephan A. Puga)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Borland's Resource Workshop and RLE 4 and RLE 8
Date: 16 Aug 92 17:51:07 GMT
Organization: Sacramento Public Access Unix

I was playing around with the RW and saved a 256 color BMP with an
RLE 8 compression.  Well after doing that, I could not reload it
back into the RW!  Why would Borland have a product that could
write compressed but not read compressed?  Am I missing something
here? 

Another question I have is if I am using a compressed bitmap (since
I have a lot I need to save space!) as a resource, will
LoadBitmap() do the decompressing automatically?

Any helpful comments will be most appreciated!

-- 
#############################################################
# "Its been surreal!"         #     sap@sactoh0.SAC.CA.US   #  
#     -- Gogo Dodo            # UUCP=..ames!pacbell!sactoh0 #
#############################################################
From: axs9017@hertz.njit.edu (Alexander Shinkar)
Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
Subject: 2 List Boxes in one window... Transfering Information
Date: 14 Aug 92 04:59:59 GMT
Organization: New Jersey Institute of Technology, Newark, N.J.

Hi, Maby some one out there could help me.
Im trying to open up a dialog box, that has 2 list boxes...
I cant seem to figure out what Im doing wrong...
I know that it is something to do with

TransferBuffer

I have to write it like that, so that when I click on the
AvailableListBox, the information gets transfered to the
SelectedListBox... (sort of like the printer and font stuff in windows)

Im using BC++ 3.0, win 3.1
Thanks in advance.
Alex
axs9017@hertz.njit.edu

here is the proc..
TLBoxWindow::TLBoxWindow() : TDialog(NULL, "CONTACT_SKILLS")
{

	SelectedListBox = new TListBox(this, ID_SELECTED_LISTBOX);
	SelectedListBoxData = new TListBoxData();
	SelectedListBox->EnableTransfer();

	AvailableListBox = new TListBox(this, ID_AVAILABLE_LISTBOX);
	AvailableListBoxData = new TListBoxData();
	AvailableListBox->EnableTransfer();

	AvailableListBoxData->AddString("Kathy");
	AvailableListBoxData->AddString("Dan",TRUE);
	AvailableListBoxData->AddString("Mike");

	TransferBuffer= &AvailableListBoxData;
	TransferBuffer= &SelectedListBoxData;

	EnableKBHandler(); // so focus goes to AvailableListBox, see also lboxtest.cpp

}
-- 
Is your job running? You'd better go catch it!
From: kso@ncratl.AtlantaGA.NCR.COM (Khun So)
Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
Subject: MFC and Custom Controls / WM_NCPAINT
Keywords: Windows Development, Microsoft C/C++
Date: 18 Aug 92 15:59:45 GMT
Organization: NCR Engineering and Manufacturing Atlanta -- Atlanta, GA



    I have a couple of questions on Windows developement using C/C++ 7.0.
    Any insights on the subjects will be greatly appreciated.


        1. How does one extend MFC to support custom controls
           and other window classes?  Specifically I would like
           to derive a class from CWnd for the custom controls
           I had developed.  Many of my controls use extra bytes
           per window instance (cbWndExtra!=0 in WNDCLASS data
           structure).  The current AfxRegisterWndClass always
           sets cbWndExtra=cbClsExtra=0.  Is there a simple way
           to do this without modifying MFC source?


        2. In processing WM_PAINT, BeginPaint() API is called
           and an invalidated region of the window is returned.
           What about WM_NCPAINT?  Is there a way to detect only
           the invalidated area in the non-client area for
           painting?  Or do I have to paint the entire non-client
           area everytime?

    Thanks in advance.
Newsgroups: comp.os.ms-windows.programmer.misc
From: tfj@apusapus.demon.co.uk (Trevor Jenkins)
Subject: To Learn Windows Programming 
Distribution: world
Organization: Job hunters use Parachute
Date: Thu, 13 Aug 1992 20:05:36 +0000

In article <r44m22p.whedon@netcom.com> whedon@netcom.com writes:

> >Any suggestion on books for beginners?
> *** Programming Windows, Charles Petzold, Microsoft Press,
> *** ISBN 1-55615-264-7

In the Windows Resource Kit I says that there will be a new edition of this
text (persumably to cover[*] Windows 3.1) does anyone know when that
edition will be available.

In the "Windows API Bible" Conger recommends that you follow reading
Petzold by readng Richter's "Windows 3: A programming guide" is there any
news of a 3.1 edition of this book?

Finally, Conger is supposed to be writing a 3.1 specific volume to
complement the API bible any news of this text?

[*] I really ought to have said "draws the curtains over". :-)

-------------------------------------------------------------
Trevor Jenkins                                   Radio: G6AJG
134 Frankland Rd, Croxley Green, Rickmansworth, WD3 3AU
email: tfj@apusapus.demon.co.uk
phone: +44 (0)923 776436
From: mboucher@cortex.prospect.com (Mike Boucher)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: numeric only edit controls?
Date: 20 Aug 92 19:33:51 GMT
Organization: Cortex Corporation, Waltham, MA, USA
X-Posted-From: cortex.prospect.com
X-Posted-Through: sol.ctr.columbia.edu

Hey there,

I've got a quick question about edit controls:

Can you tell windows to accept only numeric input? only alphabetic?, or does
your program have to read in the text entered and parse to see if it is valid?
The only styles I can find are upper/lower only styles.

thanx.

Mike
-- 
Mike Boucher			mboucher@cortex.prospect.com
Cortex Corp			"Don't take life too seriously, you'll never
Waltham, MA, USA		 get out of it alive!"
From: dgreen@hpcupt3.cup.hp.com (Dale Green)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Help engine replacement for WINHELP.EXE
Date: 12 Aug 92 18:30:46 GMT
Organization: Hewlett Packard, Cupertino

Gary,

You may want to take a look at a product called Doc-To-Help, which is used
to create help and hypertext on-line files.  I haven't tried Doc-To-Help, but
I believe it requires MS Word for windows.  Doc-To-Help is sold by the 
the following company:

WexTech Systems
60 E. 42nd St.
New York, NY 10165
212-949-9595.


Dale Green
dgreen@cup.hp.com
From: pluto@cs.ucsd.edu (Mark Plutowksi)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Has Anyone got BC++ 3.1 TDW working w/ Fahrenheit 1280D?
Date: 20 Aug 92 08:40:15 GMT


Has anyone got Borland's Turbo Debugger for Windows (v.3.1)
to work with a Fahrenheit 1280D display card?

= Thanks,
  Mark
From: velasco@cs.ucsd.edu (Gabriel Velasco)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Licensing Message
Date: 14 Aug 92 00:03:03 GMT


I'm installing DOS 5.0 and Windows 3.1 on 15 P/S 2s for a department
on campus.  When I installed Windows on the first workstation, I gave
it the name of one of the department employees as the person to whom
the software was registered and the department as the organization.  I
would like to change that to the department being the person to whom
the software was registered and the University as the organization.  I
am hoping there's a way to do it without having to reinstall Windows,
Excel, etc.  Is there a way?  Where is this info kept?  It only really
matters when you bring up the About screen, but it's a matter of
aesthetics.

Thanks, in advance.

-- 
                              ________________________________________________
 <>___,     /             /  | ... and he called out and said, "Gabriel, give |
 /___/ __  / _  __  ' _  /   | this man an understanding of the vision."      |
/\__/\(_/\/__)\/ (_/_(/_/|_  |_______________________________________Dan_8:16_|
Newsgroups: comp.os.ms-windows.programmer.misc
From: pmm8877@usl.edu (Mowry Patrick M)
Subject: BC++ 3.1 error list request.
Organization: University of Southwestern Louisiana
Date: Sun, 16 Aug 1992 18:11:13 GMT

One of the companies I work for will be buying Borlands C++ 3.1
compiler soon to develope windows applications.  But I see from
groups like this one that it has a few bugs.  I've seen a few
Borland guys out there, so I'm hopeing for a list of reported
bugs and available patches to fix them.  Anything will be of value
to me.

Also,  I'm VERY new to OOP programming.  Can anyone suggest a good
route to learn C++ as quickly as possible before I try and tackle
windows as well?  I heard mention of a video included with BC++ 3.1
is it of any real value or is it more of a demo?  I plan on takeing
C++ and windows development courses in the Spring to cure any bad  
habits I develope.

One more Question and then I'm gone.  Is there a FAQ for this group?
I have not noticed one before..

Later and thanks for any help..

Patrick M Mowry		pmm8877@usl.edu
PMDesigns, Inc.		73750,1163@cserve.com <<the number is correct anyway
.
From: crs@siesoft.co.uk (Chris Smith)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: How do I put a DIB on the clipboard?
Date: 18 Aug 92 10:18:38 GMT
Organization: Siemens Nixdorf Information Systems Ltd.
X-Newsreader: Tin 1.1 PL4

OK. I know you have to put a BITMAPINFO structure followed by the bitmap
data in a global memory block but 

1.	What exactly is the bitmap data?  bitmap + palette info ?
2.	How do you get the data in the first place?
	GetBitmapBits() ?

--
===========================================================================
	Chris Smith				<crs@siesoft.co.uk>
===========================================================================
Newsgroups: comp.os.ms-windows.programmer.misc
From: fnsgs@alf.uib.no (Gunnar Sylthe)
Subject: BC++3.1/CommonView 2 problem
Organization: University of Bergen, Norway
Date: Thu, 20 Aug 92 07:37:13 GMT


I have just installed Borland C++ 3.1, and now I am unable to link my
application. 

I'm using Glockenspiel's CommonView 2 class library. There was no problem
with the project as long as I used BC++ 3.0, but now all calls to 
CommonView routines result in "undefined symbol" errors at pass 2 of
the linker.

All those "undefined symbols" are reported in lower case; e.g. "Undefined
symbol dialogwnd::enddialog in module so-and-so"; is that significant?
(I tried turning off the "Case sensitive link" option, but to no avail.)

The last error I get is "Undefined symbol app::start() in library file
..\cv2\lib\wcxxcbr.lib in module COMMONVU", so it seems that the linker
does find the library, at least.

There was also a problem with CommonView when I upgraded to BC++ 3.0,
but the -Vo backwards compatibility switch took care of that. Not so
this time...

I would be grateful if someone could shed some light on this. In the
meantime I guess it's back to 3.0; I've tried every compiler/linker
option I can think of. Oh, well...

--Gunnar

_____________________________________________________________________________

Gunnar Sylthe                             Phone:         +47-5-212125 (voice)
Norwegian Social Science Data Services                   +47-5-960660   (fax)
Hans Holmboesgt. 22                       Internet:  Gunnar.Sylthe@nsd.uib.no
N-5007 Bergen                             X.400:      Gunnar.Sylthe@cc.uib.no
NORWAY                                    BITNET:         EDKGS@NOBERGEN.EARN
_____________________________________________________________________________
-- 

_____________________________________________________________________________

Gunnar Sylthe                             Phone:         +47-5-212125 (voice)
From: f_tawb@va.nkw.ac.uk
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: VB declarations for COMMDLG.DLL ?
Date: 14 Aug 92 13:57:10 GMT
Organization: Natural Environment Research Council

This is probably a query that you're sick of reading, but my system manager
only keeps  the last 50 or so messages posted on each group......

What I'm looking for is a list of API declarations for the Windows 3.1
COMMDLG.DLL dynamic link library in Visual Basic syntax, so I can standardise
my progs. If someone has the C or TurboPascal declarations - they'll do fine
as I'm sure I can alter them - it's basically (pun intended) the names and
argument lists I require....anyone help ?

If any replys could be E-Mail'd it'd be great, but I'll keep a frequent eye
on this group.

Thanks in advance.

T.Brown

------------------------------------------------------------------------------
E-Mail : F_TAWB@UK.AC.NMH.VA (main site)
	 F_TAWB@UK.AC.NKW.VA
	 F_TAWB@UK.AC.NBU.VA
------------------------------------------------------------------------------
                 *  ANNO MUNDI - The Vision Is Here ! *
------------------------------------------------------------------------------
Newsgroups: comp.os.ms-windows.programmer.misc
From: bonneau@hyper.hyper.com (Paul Bonneau)
Subject: Re: Joystick driver
Keywords: windows joystick driver
Reply-To: bonneau@hyper.UUCP (Paul Bonneau,,)
Organization: HyperCube Inc.
Date: Sat, 15 Aug 1992 20:45:34 GMT

In article <=96msxm.ekalenda@netcom.com> ekalenda@netcom.com (Edward J Kalenda) writes:
>I'm trying to use the joystick routines in the 3.1 SDK but don't seem to
>have a joystick driver. Nothing on the distribution disks seems to be it
>and the various FTP sites I've poked around in dont have anything which
>appears to be one.
>
>Has anybody seen one? Or is it on my disks and I can't see it?
>-- 
Hi,

There is a sample joystick driver included with the DDK
(ibmjoy.drv).  It seems to work ok.  I don't know if it is a
redistributable?  If you are really in dire need you could
always buy a DDK.

Aside to MS--will the Virtual Device Adaptation Guide be
restocked soon?  When I got my DDK (over a month ago) there
was a letter to mail in to request a copy when available.

cheers - Paul.
Newsgroups: comp.os.ms-windows.programmer.misc
From: jeff@tct.com (Jeff Witzer)
Subject: Getting control index
Date: Thu, 20 Aug 1992 20:24:46 GMT
Distribution: usa
Organization: TC Telemanagement, Clearwater, FL

Is there a way to tell, from within a dialog box proceedure when handling
the WM_COMMAND message, which button was pressed?  I'm not talking about
ID_OK or ID_CANCEL or the like, but the 4th button or 8th control or even
15th item in the dialog box (based on order defined in the .rc file).

Please E-mail responses....

Thanks

jeff
From: rasnurmi@sara.cc.utu.fi
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Actor and fonts?
Date: 17 Aug 92 08:06:46 GMT
Organization: University of Turku, Finland


I'm writing a Windows 3.1 application with Actor 4.0 
and Object Graphics. My program should be able to use Windows fonts and
additional fonts one has bought in his system. 
I have not been able to make my program understand those
fonts or even find out what fonts are available. I have
not found any help from the manuals. Is there methods in Actor
to use fonts or do I have to use C. Does anyone know how to solve
this problem. If you have any ideas please contact me directly or
through this newsgroup.

thanks!

Rasmus Nurminen
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: How do people go about using metafiles in real life?
From: mzellers@StarConn.com (Mark Zellers)
Date: 14 Aug 92 02:03:20 GMT
Organization: Starnet-Public Access UNIX--Los Altos, CA  415-949-3133

I went to go make an application I was working on write out windows
metafile format today and so far I have been continually bumping my head
against a rather hard brick wall.

There are two rather serious limitations of metafiles that I have run
into.  The first is that getting any sort of status or information back
as you are building the metafile is prohibited.  This makes 
inquiry as to character metrics, for example to be rather difficult.

The second problem is that normal windows idioms (such as deleting the
object returned from SelectObject) won't work.

I fear I know the answer to the first problem:  maintain another device
context for either the screen or some appropriate device and do
everything in parallel.


What I would like to know is what people who have real applications are
doing with metafiles.  Is there a standard way of doing these things
(i.e. always format for the screen)?  

Thanks in advance,

-- 

+-----------------------------------------------------------------------------+
| Mark H. Zellers                                          Mark@fsi.Fusion.COM|
| Fusion Software, Inc                    455 Sherman Ave, Palo Alto, CA 94306|
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: C++ in a DLL
From: vcurley@zeus.calpoly.edu (Vince Curley)
Date: Fri, 21 Aug 1992 16:28:05 GMT
Organization: California Polytechnic State University, San Luis Obispo
Keywords: MFC DLL memory new
Summary: Memory problems with MFC DLL

I'm having some MAJOR problems using C++ in a DLL and ANY help would be
appreciated...

1) I'm getting a GP Fault on AfxGetApp() sometimes, and always on
   the instruction  mov ES,[xxxx]  where xxxx is some varying address.
   This doesn't happen all the time which makes it all the stranger,
   but it is fairly consistant when I call one DLL from another.

2) Even more annoying...When I call the second DLL from the first I
   can't seem to do any 'new' calls.  ie pX = new X;  In this case,
   when I am using the debug MFC lib the call fails in AllocMemoryDebug
   on the pfnAllocHook call.  If I use Codeview and move the IP past 
   this call (the default handler is just supposed to return TRUE) I
   get a GP Fault on malloc (also in MEMORY.CPP).

3) I'm using a large model DLL since that is what the SDK sample DLLTRACE
   used.  Why a large model?  How important is it to have that
   FilterDLLMsg function that they have?

Again, I am desperate here.  Any help you might have would be greatly
appreciated...especially non-trivial examples of DLL writing.  Thanks.

Vince
-- 
     Vince  "Windows,  Windows,  Windows"  Curley
  vcurley@demeter.calpoly.edu        CIS: 71055,3423
From: pshepher@elli.une.edu.au (Philip Shepherd)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: BC++, Interrupt/msg at const time interval
Date: 17 Aug 92 21:27:33 GMT
Organization: University of New England - Northern Rivers (Lismore)


What is the best method for setting up an interrupt (or prehaps message)
to be activated at a quaranteed time interval using Bc++3.0, Win 3.1

c.f. SetTimer(), WM_TIMER not appropriate as these only quarantee the
specified time interval has elapsed.

Thanks,

Phil

P.S. I believe there's been some traffic on this question in the recent
past but my connection to AARNET has been down...
-- 
Philip 	Shepherd                      Internet: pshepher@loki.une.oz.au
University of NewEngland
Northern Rivers
Lismore NSW Australia
Newsgroups: comp.os.ms-windows.programmer.misc