HDTenEightyP/NetNews huggingface dataset:
From: bmartin@maemaster.eng.uci.edu (Bryan Martin)
Subject: Ouch!  Turbo C++ for Windows and my SVGA card don't mix.
Newsgroups: comp.os.ms-windows.programmer.misc
Organization: University of California, Irvine
Date: 7 Oct 92 07:13:21 GMT

I have installed the SVGA drivers for my Trident board, and now whenever
I run Turbo C++ for Windows the fonts in the .c and .h windows is so
small it can't be read!  The font selection box in the Preferences
dialog is empty, and nothing I do seems to fill it.  I even tried
reinstalling windows to make sure that courier was available for my
selected driver (SVGA, 256 colors, large font) but to no avail.

Please help me before I get myopia!
Many thanks,

Bryan Martin
Newsgroups: comp.os.ms-windows.programmer.misc
From: tomh@wes.on.ca (Tom Haapanen)
Subject: Re: MS-Word, RTF, and help files
Organization: Waterloo Engineering Software
Distribution: na
Date: Sat, 10 Oct 1992 19:16:17 GMT

tjonz@caliban.Corp.Sun.COM writes:
> Any software capable of generating an RTF file may be used to build help
> files.  Microsoft recommends that you use MS-Word for one reason and one
> reason alone: to sell copies of MS-Word.

At least when the Windows 3.0 SDK docs were written (I don't have 3.1 SDK
hardcopy docs), Word for {Windows,DOS,Macintosh} was about the only word
processor that could do RTF.  What else would you have recommended at that
time?  Now, of course, most Windows word processors support RTF...

> 	o  I see no good reason to use a WYSIWYG editor in preparing a Windows
> 	   help file, because "winhelp" is going to reformat it for you to a
> 	   great extent anyway at runtime depending on the actual window size.

Except to visually confirm fonts, character styles, point sizes and bitmaps?

> 	o  It would have been a very simple matter to define an ASCII mark-up
> 	   language that would accomplish the same thing.

Well, if it's so simple, why hasn't anyone written one (that could then be
translated to RTF)?  How about writing it yourself -- shouldn't take much
more than an afternoon, right?  :)

> This only thing that Microsoft does better than their competition, however,
> is manipulate the market.  The only way I know of that I can personally
> combat this state of affairs is to spend my dollars elsewhere, and I will
> go out of my way to buy someone else's products wherever possible.

If this is how you feel, maybe you shouldn't be developing for Windows.
More Windows apps will translate into more Windows sales.  How about
doing development for GeoWorks or Amiga instead?  Seriously, if you don't
want to do Windows, don't do it -- no one is forcing you!  (Just like no
one has yet forced me to write COBOL or work on CICS/VSE ...)

[ \tom haapanen    "i don't even know what street canada is on" -- al capone ]
[ tomh@wes.on.ca                   "trust the programmer" -- ansi c standard ]
[ waterloo engineering software      "to thine own self be true" -- polonius ]
Newsgroups: comp.os.ms-windows.programmer.misc
From: dhaigh@actrix.gen.nz (David Haigh)
Subject: BackMenu: How?
Organization: Actrix Information Exchange
Date: Fri, 9 Oct 1992 23:03:48 GMT

I was using the shareware program Backmenu fore a while with Win 3.0.

Unfortunately, it isn't too happy with Win 3.1.

So, I was thinking of writing one myself... I understand how to set
up the popup menu using trackpopupmenu, but I still haven't quite
worked out how to trap the right-btn click on the desktop.

I HAVE worked out the I will need to set up a filter, and win 3.1
has a new mouse msg filter. However, info on how to use filters
would be very useful, including why the API ref says these functions
need to be in a library.

Any assistance, comments etc would be most appreciated.

Dave.





Newsgroups: comp.os.ms-windows.programmer.misc
From: whedon@netcom.com (Bill Whedon)
Subject: How do I set on Caps Lock?
Keywords: caps lock
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Tue, 13 Oct 1992 06:51:01 GMT

Well, I asked this on comp.os.msdos.programmer and got no answer.  Let's see
if anyone _here_ can help...

I need to set on Caps Lock from inside my program.  I remember that it can be
done, but don't recall how, or where to find the info.  I know that the
states can be found at 0000:0417 hex, and Interrupt 16 Function 2 gets 'em,
so I don't need _that_... just, how the heck do I set Caps Lock??

Thanks,
Bill Whedon   whedon@netcom.com

-- 
I don' need no steenking .signature!
From: Kyle Marsh <kylemar@microsoft.com>
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Minimizing Lock and Unlock Calls in Protected Mode                             
Date: 8 Oct 92 20:27:26 GMT
X-MSMail-Message-ID:  AE2EEE45
X-MSMail-Conversation-ID:  AE2EEE45
X-MSMail-WiseRemark:  Microsoft Mail -- 3.0.729
To: netnews

>  Although this works, I'd like to understand why exactly why the article
>choses to call GlobalUnlock before the the GlobalFree function.
>How is it meant to help? If anybody has a greater in-depth understanding of
>the matter, then I'd very much appreciate if they could shed some light on
>this problem.

The GlobalUnlock is for style and as a good programming practice. The reason
is that some day ( maybe) GlobalLock and Unlock may have additional uses then
they do now. By sticking with the lock/unlock your code will always work. If
you drop it it may not.

I suggest using GlobalAllocPtr and GlobalFreePtr macros from the SDK's
windowsx.h file. These will always work as well.

>The article states that the lock counter is not influenced by
>GlobalLock and GlobalUnlock functions under protected mode. Since
>GlobalLock does not increase the usage counter of the memory object
>the first time, it does not decrease it either when GlobalUnlock
>is called. The return value of GlobalUnlock is only TRUE when
>the lock counter settles down to zero (indicating that the object
>is once again moveable in memory). However, it chooses to return
>FALSE because the lock counter never changes in protected mode
>(except, of course, when the memory object is also discardable;
>but then this is not the case in the article).

You are correct the call to GlobalUnlock should not have had its return
checked. But as per above it should be called.

Kyle
MS Developer Network

Newsgroups: comp.os.ms-windows.programmer.misc
From: fkm@cbnewsi.cb.att.com (farzam.kazemzadeh)
Subject: Control Colors in MS-Windows
Organization: AT&T
Date: Tue, 13 Oct 1992 17:46:41 GMT
Keywords: MS-Windows Programmer needs help! 

Hello,
First off, I'm new to programming MS-windows.  So this might have an
easy solution that I just haven't found in any of my MS manuals.

I have created a dialog using the dialog editor.  When Inside of the
Dialog I have a text edit control.  When the user clicks on the Edit
control I want to change its background color.  I didn't find anything
in the manuals that mentioned this.  Is it possible?  If it is possible
does anyone have any hints?

Please respond via E-mail to tfk@dulles.attmail.com

tom


Newsgroups: comp.os.ms-windows.programmer.misc
From: gfowler@javelin.sim.es.com (Gary Fowler)
Subject: Re: VB Refresh Useless?!
Organization: Evans & Sutherland Computer Corporation
Date: Thu, 15 Oct 1992 20:45:06 GMT

collins@socrates.umd.edu (Jim C) writes:

>I'm BitBlting a bitmap to a Form. To << see >> the image after the BitBlt,
>I have to minimise my form and restore it. This is obviously unacceptable for
>the final release version. I've tried Refresh, toggling AutoRedraw, 
>InvalidateRect,and everthing else, nothing works.
>	Anyone know what I'm doing wrong? 
>Can I force a Paint event? Should I?
>Jim C.
>-- 
>        "By practice, even without understanding, it will be made plain; your
>body will understand it long before your mind puts words to it. No amount of
>understanding without practice will work. It is not necessary that knowledge 
>precede experience. Performance will produce knowledge."

I guess I don't understand why you are using BitBlt to display a bitmap in VB.
You can load it from a .bmp at design time or run time.  At design time by
assigning the Picture property of a form or picture control.  At run time you
can load it using the LoadPicture function.
example:

Form1.Picture = LoadPicture("chess.bmp")

or

Picture1.Picture = LoadPicture("chess.bmp")

If you already have a bitmap loaded, you can assign it to a picture control, or
form's picture property.
example:

Picture1.Picture = Form1.Picture

If you want to, you can store a bitmap in a picture control that is no visible
and then display on another picture control or form when needed.  You can also
do the same thing with icons. This allows a simple method to cartoon icons and
pictures.

********************************************************************************
*     Gary Fowler                     *     The storm starts when the drops    *
*     gfowler@esunix.sim.es.com       *     start dropping.  When the drops    *
*     Evans & Sutherland              *     stop dropping then the storm       *
*     600 Komas Drive                 *     starts stopping.                   *
*     Salt Lake City, UT              *     -Dr. Seuss                         *
********************************************************************************
From: stevea@puccini.crl.umn.edu (Steven R. Anderson)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: PD TCP/IP DLL for windows
Date: 17 Oct 92 03:48:45 GMT
Organization: PESTMN


I been looking for a freeware TCP/IP DLL package for windows, but found 
nothing.  Does anyone know where I could find something like this?

Steven R. Anderson
stevea@puccini.crl.umn.edu
Network Manager
Plant Pathology
University of Minnesota
Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer
From: whedon@netcom.com (Bill Whedon)
Subject: Where is the C/7 patch?
Followup-To: poster
Keywords: microsoft patch
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Distribution: usa
Date: Sat, 10 Oct 1992 18:17:03 GMT

Well, like a dummy, I deleted the C/7 patch stuff after I ran it, thinking
(or not thinking more like it!) that I wouldn't be needing it again.  Well,
one crashed HD and reinstallation later, I need it.  What a surprise, eh,
Mr. Murphy?

I went digging at cica and wustl and SIMTEL-20 and unfortunately cannot find
the bloody thing.  PLEEEZE (Quayle.speling) somebody tell me where it are!  I 
think another main problem is I can't remember it's name, too!  Either.

Many thanks,
Bill Whedon   whedon@netcom.com  (who will never again throw out a patch!)

-- 
I don' need no steenking .signature!
From: donato@applix.com (Donato Miranda [ext 241])
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Modeless CommonDialog?
Date: 15 Oct 92 17:42:39 GMT
Organization: Applix, Inc., Westboro, MA


(using NT, SDK, C7.0)
is it possible to make a CommonDialog box modeless ?
or is it completely against CUA guidelines?
i tried giving the Dialog no owner (ofn.hwndOwner = NULL)
which creates a seemingly modeless dialog:  the main(owner) window can
be activated, but the dialog is still waiting for input, and thus nothing
can be done until the DIalog is finished.
thanks!

donato miranda
(donato@applix.com)
Newsgroups: comp.os.ms-windows.programmer.misc
From: dj@ekcolor.ssd.kodak.com (Dave Jones)
Subject: Re: How to post a WM_LBUTTONDBLCLK
Organization: :noitazinagrO
X-Newsreader: TIN [version 1.1 PL6]
Date: Mon, 12 Oct 92 14:16:07 GMT

Kennissystemen (ks03@cs.vu.nl) wrote:
: I'm writing a simple utility which runs as a hook to transform
: single middle mouse clicks into WM_LBUTTONDBLCLK's.
: However, I can't get the WM_LBUTTONDBLCLK message posted to
: whatever app/window the mouse is currently pointing to.
: Is there a simple solution working for both 3.0 and 3.1?
: Any help would be greatly  appreciated!
: 
There's already a utility called dclick that does just this.  Its
a substitute mouse driver intercepts and processes clicks before passing
them on to the real mouse driver.  For 2-button mice you can get the
left double-click by doing control-left click (which doesn't always work
right, since some apps look at the control key and react to a
control-double-click.  Example: File Manager).

--
||)) There is no truth to the rumor that:)))))))))))))))))))))))))))))))))))|
||)) Lotus are suing Apple for copying the look and feel of their lawsuits )|
||))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))|
||Dave Jones (dj@ekcolor.ssd.kodak.com) | Eastman Kodak Co. Rochester, NY   |
Newsgroups: comp.os.ms-windows.programmer.misc
From: srao@quads.uchicago.edu (Shanta Rao)
Subject: spreadsheet kind of utility in Windows?
Reply-To: srao@midway.uchicago.edu
Organization: University of Chicago Computing Organizations
Date: Thu, 8 Oct 1992 19:23:03 GMT

I am looking for spreadsheet kind of utilities in windows for data display, in
a statistical software package. Have looked at Data Table by Protoview, but
am not able to use it in my application. Has anyone out there been using this
package -- or does anybody have any suggestions ??? 

ThanX
bs/-
Pl. reply by e-mail if possible.

srao@quads.uchicago.edu

Newsgroups: comp.os.ms-windows.programmer.misc
From: jeff@tct.com (Jeff Witzer)
Subject: Re: WM_PAINT not received from Win3.0...
Date: Wed, 7 Oct 1992 13:26:19 GMT
Organization: TC Telemanagement, Clearwater, FL

I recently posted of a problem with Windows 3.0 not sending WM_PAINT messages
to the child controls of a main screen dialog box after being uncovered
during the destroying of a covering dialog box.  After years on hold, Borland
recommended updating the BWCC.DLL from the BC 3.0 I was using to the BC 3.1
I had sitting on my desk...no perceptable change was found.

I tried manually sending WM_PAINT messages to the covered controls 
immediately after the DestroyWindow () call.  This works, but is obviously
not the proper solution...I have several similar situations and sending
WM_PAINT messages to hundreds of buttons, text, and bitmaps after every user
action is both kludgy and rediculous, not to mention agonizingly slow.  It
does, however, reinforce the concept that the problem lies in Windows (or
Borland) not sending WM_PAINT messages at the correct time.  

    Could I have overwritten Windows or Borland code by accident?  
        (But only in Windows 3.0 not 3.1 use.)

    Could I have set a window or dialog option to stop getting WM_PAINT
        messages to the child controls?  (I've tried CLIP_CHILDREN on and
	off - the only difference made was whether the uncovered area was
	entirely repainted with Borland dialog background or just the areas
	not over child controls.)

    Could this be an issue with Windows 3.0 lack of proper protection?
    
Since this product was literally due last week, PLEASE E-mail ANY answers
or EVEN GUESSES to JEFF@TCT.COM
Newsgroups: comp.os.ms-windows.programmer.misc
From: derek@locus.com (Dariush Keyani-Yazdi)
Subject: backdoor interface to Print Manager
Organization: Locus Computing Corporation, Los Angeles, California
Date: Wed, 07 Oct 1992 04:00:24 GMT

Hello everybody,

Is there an interface to the Print Manager to ask it to print a file?
This file would contain the printer output from a word processor.
According to Petzold, the GDI module creates a file that contains
printer output, and then sends a message to the Print Manager asking to
print this file. Does anybody know what this message is and how one goes
about doing the same thing from a Windows app?

Thanks.
Derek
Newsgroups: comp.os.ms-windows.programmer.misc
From: emanuel@dxcern.cern.ch (Emanuel Machado)
Subject: Re: Printing a PS File from VB
Organization: CERN European Lab for Particle Physics
Date: Thu, 8 Oct 1992 09:40:11 GMT

In <1992Oct4.225643.26310@dxcern.cern.ch> emanuel@dxcern.cern.ch  (Emanuel
Machado -- i.e. myself) had written:

	[escapes stuff deleted]

>	It actually runs fine, BUT.

>        When I first printed this, I got a very nice picture,  BUT  scaled
>down  and  mirrored.  While  looking  at  the  actual  PS code produced, I
>noticed some scaling was  done  immediately  AFTER  the  STARTDOC  escape.
>Anyone  knows how can one get rid of this problem elegantly?  The method I
>now use, is to  issue  a  PostScript  "grestore"  immediately  after  that
>escape.  I  do this using again the PASSTHROUGH escape.  I'm not very well
>versed in PostScript myself, so I don't know yet whether this is enough to
>get the default values.

        Actually, the best thing I found  is  really  to  issue  a  Ctrl-D
immediately  AFTER  the STARTDOC escape (again, if POSTSCRIPT_IGNORE would
work, I suspect  all  this  would  be  obsolete),  instead  of  issuing  a
"grestore".  Margins  will  be  set to the printer default (known) values,
and the text will now print correctly.

        You can do it using the PassThrough escape  (see  previous  post),
passing the sequence

	Chr$(4) + NL$


	Emanuel

-- 
Emanuel T.M. Machado (PPE/CPL)|  "Who Wills, Can     | European Laboratory for
  __                        _ |   Who Tries, Does    | Particle Physics (CERN)
 /_  ____   _   __  , , _  |/ |   Who Loves, Lives"  | -- Internet Address --
/_  / / / /_ < / / /_/ <'_ /_ |    -- Anne McCaffery | emanuel@dxcern.cern.ch
Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
From: popkin@orchid.cs.odu.edu (Brian Popkin)
Subject: Memory allocation in BC++ v3.1 of structures in windows
Organization: Old Dominion University, Norfolk, Va
Date: Thu, 8 Oct 1992 19:18:54 GMT

Hello Fellow Netters:

I have a question I cannot find in any book.
I am using bc++ v3.1.

How do I allocate memory in windows for a pointer to a structure, a structure,
or an array using the functions globalalloc etc in windows.

Anyhelp or examples would be GREATLY appreciated.

Brian

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Brian Popkin  - popkin@cs.odu.edu               |  Dedicated To The UMLS
Medical Expert Systems Researcher               |  Project....
Computer Science Department                     |
Old Dominion University - Norfolk, Virginia USA |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Newsgroups: comp.os.ms-windows.programmer.misc
From: sa1680124@ntuvax.ntu.ac.sg
Subject: bug on graph control from VB Pro
Organization: Nanyang Technological University - Singapore
Date: Mon, 12 Oct 1992 01:11:30 GMT

Hi!

	I have a problem with the graph control that comes with VB Pro.
The problem is the manual says that it is auto-refresh everytime the 
values or parameter of the graph control is change. But this is not
true. I can only set the data once using the grid control. Subsequent
tries are ignored. I have try many ways but it didn't refresh to the
new data/parameters. I have tries refresh event but failed. Help!

	Thanks in advance.

Regards,
albert cyril chew
From: dea6524@iscsvax.uni.edu
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Help:  How do you send a tab with the enter key?
Date: 14 Oct 92 23:17:09 -0500
Organization: University of Northern Iowa


   I am trying to implement a dialog box that will allow the ENTER key as well
as the TAB key to move between edit boxes.  I would appreciate any advice and
especially any code on this matter.  It would even be helpful if anyone knows
how to rig the ENTER key to send a TAB.  

Thanks in advance,

Wm. Frank Dea


Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer,comp.os.ms-windows.misc
From: jvanderm@watserv1.uwaterloo.ca (JVANDERM - MUTUAL GROUP)
Subject: Setup Toolkit provided with SDK
Organization: University of Waterloo
Date: Wed, 7 Oct 1992 20:00:13 GMT

     
How do you speed up the initialization process during installs using the 
tools provided with MicroSoft's SDK?   MicroSoft has been so kind as to 
provide us developers with a tool (the Setup Toolkit) to easily create 
Windows installs.  Unfortunantly the initialization process (when actually
running the install) seems to take for ever!  Well, more realistically, maybe
a minute or so.  Has anybody else use the tool?  If so, did you experience
the same thing?  Can I do anything to speed up the initialization process?

Thanks,
John.
From: thanos@reef.cis.ufl.edu (Thanos Karras)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: sprintf vs wsprintf
Date: 8 Oct 92 20:49:33 GMT
Organization: Univ. of Florida CIS Dept.

Hello fellow Windowers, my question is simple:
	
	Why should I use wsprintf instead of sprintf?
	I heard that using sprintf is not recommended!
	If so, how do I format a string that contains floating point
	values?

Thanks in advance

Thanos Karras
thanos@reef.cis.ufl.edu
From: muffy@remarque.berkeley.edu (Muffy Barkocy)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: a louder beep?
Date: 16 Oct 92 10:58:32
Organization: Natural Language Incorporated
Distribution: world
NNTP-Posting-Host: remarque.berkeley.edu


I use MessageBeep() in my application to wake the user up when they're
waiting for something.  Unfortunately, the beep is rather quiet; I'd
like to make it louder.  Is this possible?  I'm using Windows 3.0...

Thanks...

Muffy
--

Muffy Barkocy                               muffy@mica.berkeley.edu
~Weavers' fingers flying on the loom/patterns shift too fast to be
 discerned/all these years of thinking/ended up like this/in front
 of all this beauty/understanding nothing~ - Bruce Cockburn
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Changing a window's title after creation
From: stefan@olson.acme.gen.nz (Stefan Olson)
Date: Tue, 6 Oct 92 06:51:28 +1200

In <BvMnIJ.Cx7@alsvid.une.edu.au> rbyrnes@alsvid.une.edu.au (Rod Byrnes) writes:
>Does anyone know how to change a window's title, after the window has
>already been created? I'm using Turbo Pascal for Windows. What I need
>to do is change a window's title after performing a 'SaveAs'. I can't
>find this anywhere in the documentation, but it is a pretty important
>topic. There must be a simple answer, but it is so frustrating trying
>to find it. Any help is greatly appreciated.

SetWindowText (hWnd, "Whatever you want to say")

...Stefan

-- 
------------------------------------------------------------------------
   Stefan Olson                     Mail: stefan@olson.acme.gen.nz
   Kindness in giving creates love.
------------------------------------------------------------------------
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools
From: rlw@cbnews.cb.att.com (robin.l.williams)
Subject: HELP!:  VISUAL BASIC TALKING TO DOS
Organization: AT&T
Date: Thu, 8 Oct 1992 22:16:34 GMT

Help?  I'm writing a VB application that launches a variety of comm. software
(Crosstalk, Procomm, etc.) with parameters (login, passwd, script, etc.) that
the user types in a VB menu.  I've successfully implemented Crosstalk using
DDE.  But, I don't know how to launch DOS based applications in a minimized
window!

I think I need to do something like this:

1).  Launch a minimized DOS prompt -> use the VB "Shell" command
2).  Start the comm. software in the minimized window along with the user
     entries on the command line.  HOW DO I DO THIS?
3).  Kill the comm. software and DOS prompt when finished.  HOW DO I DO THIS?

I basically need VB to send strings to the DOS window as if they were typed in.
Do I need to link in some other libraries and make some external windows calls?
Any help or pointers to reference material would be greatly appreciated.

						Thanks,
							Robin
Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer,comp.os.ms-windows.misc