HDTenEightyP/NetNews huggingface dataset:
From: lothar@cyrcle.uucp (Bob Trembley)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: In search of better edit control
Summary: Workaround for using GlobalMemory with EditBoxes
Keywords: Editbox Memory
Date: 26 Jul 92 12:23:09 GMT
Reply-To: lothar@angus.mi.org
Organization: Cyrcle Systems

ramuta@hpcupt3.cup.hp.com (John Ramuta) writes:

> I'm looking for an edit control that doesn't suffer from the size limitations
> of the standard Windows edit control.

The following is a response I got from Michael Geary when I asked the exact
same question:

------------------

What you need to do is do a GlobalAlloc with GMEM_ZEROINIT | GMEM_MOVEABLE |
GMEM_SHARE (the last is critical).  I usually allocate 256 bytes; it will
grow as needed.  Then pass the handle as the hInstance to CreateWindow.

... you can't use EM_SETHANDLE or EM_GETHANDLE.  (And actually, you *can* use
these, as long as you are aware that the local handle is not a local handle
in your DGROUP, but a local handle within the global segment you allocated.
You would have to play tricks with DS to use this handle.  But you can use
all the other usual calls - SetWindowText, all the other EM_ messages, etc.

------------------

I wonder if NT will be plagued by the editbox limitation... I also can't
confirm that this will work under NT.

--
lothar@angus.mi.org (Bob Trembley)
Xref: sparky comp.os.ms-windows.programmer.misc:1098 comp.os.ms-windows.programmer.tools:587 comp.os.msdos.programmer:8177 comp.windows.ms.programmer:7429
From: hjanssen@cbnewse.cb.att.com (hank janssen)
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools,comp.os.msdos.programmer,comp.windows.ms.programmer
Subject: ABOUT Borland C++, is it good, or are there better ones.
Date: 30 Jul 92 15:40:28 GMT
Followup-To: poster
Organization: AT&T


I am at the point of buying a GOOD C++ compiler for my 486/33Mhz,  And
it seems that Borland C++ 3.1 (The last release at least) is what i am
looking for.

Just a few simple questions on the net for people:

1)  Are there better C++ compilers out there.

2)  The best pricing i have seen is around the 300,- dollar region.
	What  do  you  get  for  that  money,  (tools,  documentation,  no  of
	disks etc etc).
	I   also   see   it  advertised  including  with  framework.  What  is
	that, and is it really needed.?

3) What are peoples overall remarks about the compiler Good/bad/indifferent.

4) I just saw Microsoft C++ 7.0 in the store, and the package it comes
in is HUGE, i mean HUGE. What does it come with. ??? Any good,  better
than Borland.??

Any help is very much apreciated.

Hank Janssen
att!ihlpb!hjanssen



-- 
-----------------------------------------------------------+------------------
The full moon shines bright. I gaze long at its beauty,	   |    Hank Janssen
I am overwhelmed. "Isn't it lovely," you say -		   | 	    (CPU)
         I'd forgotten you were there.			   |att!ihlpb!hjanssen
Newsgroups: comp.os.ms-windows.programmer.misc
From: bcmatusz@vela.acs.oakland.edu (Brian Matusz)
Subject: Re: Is it really this bad, or is it just me
Organization: Oakland University, Rochester MI.
Date: Tue, 28 Jul 1992 14:13:15 GMT

mboucher@cortex.prospect.com (Mike Boucher) writes:

>Hey there,
>
>I've been having some screwy scroll bar problems as well, and Microsoft's
>Codeview does the same thing with multiple messages from one click.  It's
>amazingly aggrivating, but, unlike Borland, (flame on) Microsoft doesn't even
>have a phone number to call to find out obout S**T like this (flame off).
>
>It just might be in windows instead of the debugger.

I might be, seeing as how the problem comes up with both debuggers, the
.DLL file that is used for debugging (shipped by Micro$oft).  I would
find it hard to believe that two package have the same bug in them ...
which leads us to question #2 ... what is the problem?

My vote is the debug .DLL file ...

Brad Wilson
(via a friend's account)
Newsgroups: comp.os.ms-windows.programmer.misc
From: rb450@rbhp59.rbg.informatik.th-darmstadt.de (Guenter Schwaninger)
Subject: Re^2: Freeing Resources (Windows Kill -9)
Date: Mon, 27 Jul 1992 09:00:38 GMT
Organization: TH Darmstadt


I've uploaded a program called "TaskMan" to cica.
It is capable of terminating tasks similar to the Unix kill -9 command.
It is also able to unload DLLs from memory.


    Guenter Schwaninger
    rb450@rbhp24.rbg.informatik.th-darmstadt.de
    cmpbau1@isa.informatik.th-darmstadt.de
From: S_HOFMANN@iravcl.ira.uka.de (|S| Helmut Hofmann)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Klicking on window without topping
Date: 22 Jul 1992 14:08:48 GMT
Organization: University of Karlsruhe (FRG)
Distribution: world
NNTP-Posting-Host: irav1.ira.uka.de
X-News-Reader: VMS NEWS 1.22

Hello,

a friend of mine has the following problem:
He wants to give the user the possibility to klick on a window
and so giving it the focus but the window should not be topped,
that means it should stay overlapped. With this method you could
give a piece of input to a window without changing how the windows
are arranged (The program is originally written for X-Windows, where
this is a standard behaviour). Now here is the question: Is this
at all posible with MS-Windows and if, who can it be achieved,
i.e. what messages must be caught ...?
(BTW he's programming with Borland C++3.0 and Windows 3.1)
Thanks in advance
                                    Helmut

Newsgroups: comp.os.ms-windows.programmer.misc
From: steve@monu6.cc.monash.edu.au (Steve Balogh (+61 3 565 4747))
Subject: Re: Capturing DOS output?
Organization: Monash University, Melbourne, AUSTRALIA
Date: Fri, 24 Jul 1992 05:20:54 GMT

In article <rcgmm3l.jfh@netcom.com> jfh@netcom.com (Jack Hamilton) writes:
>I'd like to run a DOS application from inside a Windows application, and
>have the output from the DOS program appear in a window controlled by my
>Windows program.
>
>I looked at WinExec, but there's nothing obvious in the documentation.  Is
>there some other way to do it?
>
>By the way, I'd like the window to scroll as the DOS program creates more
>output (which will be to stdout), so redirecting the output to a file and
>then displaying the file won't do what I want. 
>
>While I'm asking for the impossible, can I capture stderr separately? 
>

I am doing a similar thing in a program I am writing. The method I use is to
redirect the stdout of the dos program to a temporary file (preferably on a
RAM disk) and then open the file on a 1 second WM_TIMER message. Read the file
until it hits EOF, save the current location within the file, and then close it.
The next time I open the file, I then seek to the saved location and then read
till EOF again. I keep repeating this procedure until the displying window is
closed by the user. The method appears to act like the Unix "tail -f" command.

I don't think this is the best way to achieve this task, but it is the best that
I have come up with so far. Any better methods would be appreciated. Let me
know if you find one. :-)

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
Xref: sparky comp.os.ms-windows.programmer.misc:969 comp.windows.ms.programmer:7324
From: mark@sdd.hp.com (Mark Overton)
Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer
Subject: Re: Known Compiler Bug In BC++ v3.1....
Date: 23 Jul 1992 00:50:57 -0700
Organization: Hewlett Packard, San Diego Division
NNTP-Posting-Host: hpsdl157.sdd.hp.com

> [ problem described:  can't export a function in BC++ v3.1 ]

I had the same problem in v2.0 and v3.0.  Tech support said "sounds like
you're not exporting the function" (I know I know!).  And I couldn't
upload the code because Compuserve always screwed up my file-upload. It
was a toy program anyway, so I just gave up.

Borland, are you reading this?  I'll post or email the source-code if you
care to fix your bug.


Mark Overton,  Hewlett-Packard (San Diego Div),  mark@sdd.hp.com

		C code.
		C code run.
		Please code run!
			    -- the C User's Journal
From: Steve_Goyette@mindlink.bc.ca (Steve Goyette)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: VB Proffesional Toolkit Radio Button Problem
Date: 24 Jul 92 22:03:25 GMT
Organization: MIND LINK! - British Columbia, Canada
Distribution: world

HI,

        Having problems using the 3d radio buttons in the Proffessional
Toolkit.  When a form or msgbox overlays them, they do not get re-drawn.
Shoudl I try sending a WM_PAINT message to the object (And if so, how??).
These objects don't seem to have an autoredraw property.  Any help would be
much appreciated.


                                                Steve Goyette
From: samir@aios.jsc.nasa.gov (Samir Giri)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Novell DLL calls
Date: 30 Jul 1992 19:01:52 GMT
Organization: KRUG Life Sciences - NASA

Does anyone have a list of the DLL calls for the Novell driver, so I can 
make network calls in Visual Basic. Any help would be appreciated.
If you have anything, please mail me at:
                                      sgiri@medics.jsc.nasa.gov

                                               --Samir
From: ak10+@andrew.cmu.edu (Andrew Joseph Kompanek)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: "Exec"ing DOS programs from Windows
Date: 23 Jul 92 09:28:41 GMT
Article-I.D.: andrew.MePil9_00WB4QR=2QO
Organization: Carnegie Mellon, Pittsburgh, PA


Request for information....



I need to be able to run a DOS program from my Windows program,
without the DOS program taking over the screen.  In Borland C++ neither
"system" nor any of the standard Unix "exec" functions are defined under
Windows and I can't find any other functions documented in the standard
lib docs or ObjectWindows documentation.
What's the best way to run a program, at the very least duplicating
the functionality of the "Run" menu option under the Program Manager?

Ideally I'd like to have the DOS program running in the
background completely invisible to the user. (am I asking too much?)
Any advice would be very appreciated...

Thanks,
Drew

Andrew Kompanek
Dept. of Human Genetics
University of Pittsburgh
e-mail: drew@chimera.hgen.pitt.edu
From: vandenhu5655@iscsvax.uni.edu
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Bitmap woes
Date: 23 Jul 92 09:06:50 -0500
Organization: University of Northern Iowa



I am trying to get a Black & White bitmap to appear on any colored background
with the Black part of the bitmap the same color as the background (ie it
goes from a Black & White bitmap to a Blue & white ).  How is this 
accomplished?  Basically, I want the bitmap to act like the Mouse Cursor.
I've tried reading the SDK Manuals, but these books SUCK.

I also need to be able to perform AND, ORA, and XOR on these bitmaps.  Ex:
If I draw the bitmap on a blue background, and I draw the bitmap again using
XOR, the bitmap will erase, leaving the blue background.

HELP ME PLEASE!!! THIS IS DRIVING ME NUTS!!!

thank you...

Todd
Newsgroups: comp.os.ms-windows.programmer.misc
From: gyugyi@leland.Stanford.EDU (Paul Gyugyi)
Subject: Re: How to write a Win 3.1 screen saver
Organization: DSG, Stanford University, CA 94305, USA
Date: Sun, 26 Jul 92 00:44:33 GMT

For a good example of writing .scr screen savers for Win3.1,
see the June 1992 Windows Tech Journal, which had an article
by Petzold.  You can get the source for that issue on compuserve,
in "GO CLMFORUM".  I also posted the QuickC files I used to write a screen
save to the winadv forum (blind2.zip).  You need a few files from
either the Win3.1 SDK or the Win3.0-Multimedia SDK.  The files are:
scrnsave.lib, scrnsave.h, mmsystem.lib, mmsystem.h(?).  The ones
in the Win3.1 SDK are incompatible with the multimedia sdk files.
The Petzold article uses the multimedia sdk.  The Win 3.1 sdk
comes with sample code for a screen saver module.  The *.scr files
are just renamed *.exe files.  You can invoke the modules yourself by
renaming them to *.exe and invoking them with the -s option.

Since I've had 1000+ downloads from compuserve, maybe it's about time
I pushed it through an ethernet cable and got it over to cica. :).

-- 
Paul J. Gyugyi
Grad student, control systems, Stanford University
(and an avid LEGO collector)
gyugyi@earthsea.Stanford.EDU
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Fonts and Buttons. 
From: stefan@olson.acme.gen.nz (Stefan Olson)
Date: Tue, 21 Jul 92 12:55:22 +12
Keywords: Button, Alignment.

hrook@descartes.waterloo.edu (Harvey Rook) writes:

> Question 2: Is their an easy way to get a bitmap to appear on a button?
> I realize I could just make my button an owner draw button and display things
> manually, but I'd like to know if there is some obscure paramater with
> some strange function that allows me to do this easily.

Please mail me the answer to this if you get one!

Thanks,
Stefan


------------------------------------------------------------------------
   Stefan Olson                     Mail: stefan@olson.acme.gen.nz
   Kindness in giving creates love.
------------------------------------------------------------------------
Newsgroups: comp.os.ms-windows.programmer.misc
From: stefan@john.informatik.rwth-aachen.de (Stefan Hardt)
Subject: Visual Basic: Alignment
Keywords: Visual Basic
Organization: Rechnerbetrieb Informatik  /  RWTH Aachen
Date: 21 Jul 92 07:34:28 GMT

I Have a problem using Visual Basic 1.0 : I want to align field
output (align right), but during runtime I always get the message
" Object not found". I use the syntax

	field.alignment = 2

"field is a field in a form; not created at runtime.

I do have the same problem using "autosize". Do I misunderstand the
manuals or is there a bug in VB ??

Any help is appreciated.
Stefan

stefan@rwthi3.informatik.rwth-aachen.de
From: ak10+@andrew.cmu.edu (Andrew Joseph Kompanek)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Clarification on WinExec question
Date: 24 Jul 92 17:53:42 GMT
Organization: Carnegie Mellon, Pittsburgh, PA


Here's a restatement of my problem: I need to run a DOS program from
a Windows application in the background so that it doesn't take over the
screen and it runs without any user interaction.  Specifically, I merely
want to run Paradox 3.5 on a PAL script so that it can generate a report
for me (very simple).

If you use WinExec to run a DOS program, the DOS program will take over
the screen if you run it in some ACTIVE mode... otherwise the program is
iconfied and won't run until the user double clicks on it.

It seems there's no way around this unless (I'm running Windows 3.1) there's
a way to run the DOS program in a Window and then "hide" that Window in
such a way that the application is still merrily chugging along behind
the scenes.

Unfortunately, I'm running Windows in standard mode because I fear that
Paradox and the Paradox Engine will have problems in Enhanced Mode.
(Hopefully my paranoia isn't just justified.)  Does anyone have any ideas about
solutions in either mode?

Drew
Andrew Kompanek
drew@chimera.hgen.pitt.edu

P.S.  Many thanks for all the responses I've gotten to my posts
From: Jeff Dean <jeff@igc.org>
Newsgroups: comp.os.ms-windows.programmer.misc
Date: 21 Jul 92 00:15 PDT
Subject: Re: Detecting when a WinExec'd prg term
Nf-ID: #R:18014.2a62f9a7@levels.unisa.edu.:-2126098115:cdp:1668700005:000:674
Nf-From: cdp.UUCP!jeff    Jul 21 00:15:00 1992


>What do you mean unreliable?  Do you mean that if I have a notifyregister
>callback I don't have to  let the message fall through to your program?
>This would be very bad programming on somebody's part.  On the other
>hand I can always nuke your program with TerminateApp() and you
>couldn't do  anything about that either.

The scenario goes like this: I want to WinExec another program, then
be notified when it terminates.  With NotifyRegister, if another
program also requests notification, that program may catch the
termination but not pass the information through, leaving me waiting
for a notification that will never occur.

	Jeff Dean
	jeff@igc.org
From: jonallen@acsu.buffalo.edu (Jon J. Allen)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Netware DLLs
Keywords: dll
Date: 21 Jul 92 14:51:29 GMT
Distribution: comp
Organization: UB

9531mide@ucsbuxa.ucsb.edu (Curt A. Mideiros) writes:


>Novell recently made a utility publicly available calld "NWTools" 
>for Windows.  The ZIP file containes numerous *.dll files, for accessing 
>netware services.  I am interested in a reference of declarations for 
>accessing the *.dll's in Visual Basic.  The Zip file came with no 
>documention or explanation of the *.dll files.  Any info would be    
>appreciated.

> 
Where can I get this ZIP file...
-- 
--Jon-J-Allen--jonallen@acsu.buffalo.edu--Computer-Science--SUNY-@-Buffalo-NY--
 "There's no communication left between us.  But is it me or you
  who's to blame? " - SUPERTRAMP
Newsgroups: comp.os.ms-windows.programmer.misc
From: beame@maccs.dcss.mcmaster.ca (Carl Beame)
Subject: Activating Menus    
Organization: McMaster University, Hamilton, Ontario, Canada.
Date: Fri, 31 Jul 1992 01:46:17 GMT

	I was wondering if anyone knows how to activate a Menu under
program control. I have a program which eats the ALT-SPACE and F10 methods
of activating the Menu. What I need is a programatic way of doing the same
as ALT-Space ro F10. 

	Thanks in advance,


	Carl Beame
	beame@bws.com
Newsgroups: comp.os.ms-windows.programmer.misc
From: jeroenp@rulfc1.LeidenUniv.nl (Jeroen W. Pluimers)
Subject: Problems with MDI wm_EraseBkGnd
Organization: Dept. FMC, Gorlaeus Labs, Leiden University, The Netherlands
Date: Wed, 22 Jul 92 21:05:01 GMT

Hi All.


I have an MDI application with MDI child windows.

When an MDI child has been maximized withing the MDI frame and I maximize
the MDI frame the following things happen:

- Windows resizes the MDI frame
- Windowc copies the MDI child contents to it's new position
- Windows tells the MDI child twice to erase it's background
- Windows tells the MDI child to repaint it's entire contents

This also happens when the maximized MDI frame is restored. It's not happening
when the MDI child itself is being maximized or restored.

The problem with this is that the screen is updated partially 
by windows, then erases (looks like a flicker) and then repainted
by the application.

How can I circumvent this?

(What I really want is that windows tells me to repaint parts of the MDI
child window and does not ask for erasure of the background).

--
    o _   _  _   _   _             voice: +31-2522-20908 (19:00-24:00 UTC)
   / (_' |  (_) (_' | |            snail: P.S.O.
__/                                       attn. Jeroen W. Pluimers
                                          P.O. Box 266
jeroenp@rulfc1.LeidenUniv.nl              2170 AG Sassenheim
jeroen_pluimers@f521.n281.z2.fidonet.org  The Netherlands
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Windebug.dll
From: mcgratjp@elec.canterbury.ac.nz (J. P. McGrath)
Date: 30 Jul 92 14:08:55 +1200
Distribution: world
Organization: University of Canterbury, Christchurch, New Zealand
Originator: mcgratjp@betelgeux

A few weeks ago somebody mentioned a fixed windebug.dll to allow TDW to run 
under windows 3.1. Is it available by ftp, or do I have to go straight to 
Borland?

Help appreciated,

		Jim McGrath
From: vandenhu5655@iscsvax.uni.edu
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Fonts & VB
Date: 28 Jul 92 11:16:39 -0500
Organization: University of Northern Iowa



Howdy...


Is there any way to make fonts do an XOR with the screen when used in Visual
Basic?  I know how do draw lines in XORMODE in VB, but it doesn't say anything
about fonts.

Is this possible?

Danke

- Todd
From: davecarr@cs.umd.edu (David Carr)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Book Recommendation Request - C++ and Windows
Date: 27 Jul 92 22:51:51 GMT
Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742

Hi, 

Can anyone recommend a good book which describes Windows programming in
C++.  Reply via news or e-mail.  Thanks.

David Carr (davecarr@cs.umd.edu)
Newsgroups: comp.os.ms-windows.programmer.misc
From: mbk@netcom.com (Miles Kehoe)
Subject: Re: FLAME: BORLAND TECHNICAL SUPPORT
Date: Thu, 30 Jul 92 18:26:53 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 

Everyone who uses computers knows how frustrating it is to
be on 'indefinite hold' while waiting for a tech support
person. Still, Borland is among the best in my book - NOT because 
of their dial-in support (which i admit I've never tried)
but because of their use of online support services
like Compuserve. 

They were one of the first to formally offer support on
CIS, and still have one of the most active SIGS there.
if you can wait a day or so for an answer, you not only
get the benefit of the official Borland 'answer' but you
also get feedback from several users who have probably 
already solved the problem you are hitting.

OK.. CIS is no free - but $12 an hour connect time isn't
bad - you log on, ask a question in 5 or 10 minutes,
and have your answer tomorrow. Not bad, eh? And, if you
do that once and find the Borland support email id, you
can mail your questions in free from the net.

Like I say, I've never called Borland for support - I've
always gotten my answers online.

Not a bad way to work, I'd say!

Miles

Newsgroups: comp.os.ms-windows.programmer.misc
From: hadgraft@eng2.eng.monash.edu.au (Roger Hadgraft, Civil staff, ext 4983)
Subject: Graphics in Help files
Organization: Faculty of Engineering, Monash University 
Date: Tue, 28 Jul 1992 22:56:25 GMT

I'm currently using version 3.07 of the Help compiler. When I insert a 
bitmap or metafile in a Word document, then create a Help file, the compiler 
objects (bad format in RTF file or similar). Does the compiler for 3.1 fix 
this problem, or must all graphics be inserted with a {bmc ...} statement or 
similar? (That would be a real pain). I assumne metafiles can be used as 
well as bitmaps, although the manual I have is not clear on this point.

Thanks for any help
Roger Hadgraft