HDTenEightyP/NetNews huggingface dataset:
From: rryan@panix.com (Rob Ryan)
Subject: Re: Resource Help
Date: Sat, 19 Dec 1992 03:58:50 GMT
Organization: Panix, NYC

In <1992Dec18.222932.23800@emr1.emr.ca> jagrant@emr1.emr.ca (John Grant) writes:

>In article <BzEzJ2.4FA@newsserver.technet.sg> scstech@solomon.technet.sg (Kenneth Soh) writes:
>
>>This is my first attempt to use a resource from a windows program.
>>I've created a dialog window using the Microsoft Windows' Dialog
>>Editor and I intend to use it in my program as a modeless dialog.
>>
>>I am using the Microsoft MFC classes and I have inherited from
>>the CDialog a customised class of my own. The constructor of this
>>class then does a call to Create( <resource-dialog-name>, <parent
>>window> ). I then call SendMessage(WM_INITDIALOG) to force my
>>OnInitDiag() to execute.

You shouldn't have to do that.  MFC will automatically send the
WM_INITDIALOG for you.  So, as long as you have ON_WM_INITDIALOG() in
your message map (or whatever it is), everything should be fine.  No
SendMessage should be needed.  Also, I don't have my docs in front of
me, but isn't the default function name OnInitDialog()?

>>I cannot manage to get the dialog window out and hence upon tracing
>>I realise that my Create() actually returns zero. The resource
>>cannot be loaded. Can someone advise ??
>
>	Did you compile the resource script and bind it into your
>	.exe?  I don't know how MS does this, but in Borland, just
>	put the .rc script file in the project and the make will
>	invoke the resource compiler.

If you use PWB to create your "project", and use the "Edit Project" to
insert the .RC file, it will do all the necessary resource compiling
for you.  Thus, compiling your code will amount to something to the
effect of:

   cl -c file.c
   rc -R file.rc file.res
   link file.obj ... // whatever
   rc file.res file.exe

Again, I don't have the docs in front of me, but if you use PWB, it
will do this all for you.  If you're doing it manually (or making your
own makefile) the steps are (a) compile c/c++ code (without linking);
(b) use RC to compile .rc file into a .res file; (c) link the .obj
from step (a); and (d) use RC to integrate .res from step (b) with
.exe from step (c).  Although I've given these 4 steps above, I may
have gotten the command line syntax wrong (I generally use PWB).

-- 
 Rob Ryan
    rryan@panix.com
From: mcaldwel@netcom.com (Michael Caldwell)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: BC++ vs MSC7 vs Zortech. was - FYI : Zortech c++ bundle deal
Date: 17 Dec 92 16:51:22 GMT
Distribution: na
Organization: Netcom - Online Communication Services (408 241-9760 guest)

In article <1992Dec15.175306.17263@beaver.cs.washington.edu> simmons@cs.washington.edu (David Simmons) writes:
>[stuff deleted]
>=sigh= I'd almost decided between BC++ and MSC7, now I have to consider
>Zortech too.  Too many choices!  :-(
>
>I have no connection with Symantec/Zortech.
>
>---Dave
>-- 
>
>Dave Simmons            | "Quod erat demonstrandum, baby.
>CS grad student         |                           (ooh you speak French)"
>U of Washington Dept CS |  --Thomas Dolby "Airhead"

I am still trying to decide between C7 and Zortech.  I hadn't considered BC++.
I have used C7 and find that it is much better than C6 (not difficult to do).
My requirements are:
	1) An optimizer that works.
	2) Needs to run under OS/2 and compile for Windows.
	3) Debug exe needs to work with CodeView or
		compiler product needs to come with a similar debugger.

Since I have only used Microsoft compiler products I am not familiar with
any advantages that the other products might have.  I am interested in any
information/opinions on all three products.  Thanks in advance.

Michael
Newsgroups: comp.os.ms-windows.programmer.tools
From: stephen@eggneb.astro.ucla.edu (Stephen Schimpf)
Subject: Multi-Edit
Organization: UCLA Dept of Astronomy
Date: 11 Dec 92 15:04:41 PST

I would very much appreciate comments from anyone out there who is
using an editor called Multi-Edit from American Cybernetics. Judging
by the ads I've seen, it looks like a pretty nice editor with the
features I want right now. (I try and I try but Microsoft's PWB screws
me again and again. Yes, I have the patch. What a joke.)

Thanks for any information.

Stephen
From: galenr@hpgrla.gr.hp.com (Galen Raben)
Date: Wed, 16 Dec 1992 16:59:32 GMT
Subject: Re: VB option buttons inside frames?
Organization: Hewlett-Packard, Greeley, CO
Newsgroups: comp.os.ms-windows.programmer.tools

In comp.os.ms-windows.programmer.tools, bsm@utrcv1.res.utc.com (Brian S. McCarthy) writes:

>I'm writing an application in Visual Basic 1.0.  I need to have more than 
>one group of option buttons on the form at the same time.  The "Microsoft 
>Visual Basic Programmers' Guide" says, on page 129:

>"Note  If you want to create more than one group of option buttons, you 
>must place some of them inside frames or picture boxes.  All the option 
>buttons inside any given frame constitute a separate group, as do all the 
[...]
>I followed these instructions exactly.  When I try to click on any of the 
>option buttons inside my frames or picture boxes, nothing at all happens.

Was this at design-time or run-time?  The option buttons don't change in
design time.  If you are having trouble during run-time you might check
the "enabled" property of your option buttons, beyond this I dunno -
they've always worked for me (even with no code attached)...
- Galen -
Newsgroups: comp.os.ms-windows.programmer.tools
From: rryan@panix.com (Rob Ryan)
Subject: Re: MSC 7.0 windows debug mode and 'Cant read from device AUX'
Date: Sat, 12 Dec 1992 16:22:40 GMT
Distribution: comp.os.ms-windows.programmer.tools
Organization: Panix, NYC

In <1992Dec12.001809.2647@microsoft.com> stevesi@microsoft.com (Steven
Sinofsky) writes:

>Whenever you run debug kernel you need to have your machine connected
>to a com port so that the output from the debug kernel has some place
>to go.  If you don't have (or don't want to use) a second machine/dumb
>terminal then just run the DBWIN app that ships with C7.  Add it to
>your startup group for maximum benefit.

Incidentally, dbwin.exe is one of those programs that is nice to have in
one's startup group when using the debugging kernel, but pretty useless when
not.  I use the following program, ifdebug, to conditionally run programs in
my startup group when using the debugging kernel.  Thus rather than having
"dbwin" and "drwatson" in my StartUp group, I have "ifdebug dbwin" and
"ifdebug drwatson" there (I manually changed the icons and description text
to reflect what program was actually being run).

Hope this helps.

-- Rob

-------------------------------- cut here --------------------------------
/* ifdebug.c */

#include <windows.h>

int PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmdLine,
                   int nCmdShow)
{
    WINDEBUGINFO wdi;

    if (GetWinDebugInfo(&wdi, WDI_OPTIONS))
        WinExec(lpCmdLine, nCmdShow);

    return 0;
} /* WinMain */

-- 
 Rob Ryan
    rryan@panix.com
Newsgroups: comp.os.ms-windows.programmer.tools
From: Mischa_Sandberg@mindlink.bc.ca (Mischa Sandberg)
Subject: Re: VB and databases.
Organization: MIND LINK! - British Columbia, Canada
Date: Sat, 12 Dec 1992 17:34:39 GMT

Look at Q+E by Pioneer Software. It is an SQL gate into major server
engines (Oracle, Ingres, Sybase, DB2) as well as xBase and Btrieve.
We use it with VB-to-Sybase and have no complaints. You can use it
with an Excel front-end as well, which saves developing some silly stuff
in VB (even if you finally got your Grid control). No bugs found so far,
though I can't say we've thrashed it with high volumes.
--
Mischa Sandberg ... Mischa_Sandberg@mindlink.bc.ca
                 or uunet!van-bc!rsoft!mindlink!Mischa_Sandberg
*-*-*-*-*-*-*-*-*-*-*
Engineers think equations are an approximation of reality.
Physicists think reality is an approximation of the equations.
Mathematicians never make the connection.
Newsgroups: comp.os.ms-windows.programmer.tools
From: ngorelic@speclab.cr.usgs.gov.cr.usgs.gov (Noel S. Gorelick)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Neat bitmapped trees?
Date: 16 Dec 92 04:36:14 GMT
Article-I.D.: constell.BzC4sF.EyF
Reply-To: ngorelic@speclab.cr.usgs.gov
Organization: MercWorks, Denver
Originator: usenet@kittyhawk.ecn.uoknor.edu
X-Newsreader: TIN [version 1.1 PL6]

Microsoft seems to be fond of the treed directory stuff that is
used on the left hand side of the filemanager.  It is also used
in the viewer that comes with the Developers Network CD, and a 
couple of other places.

We have need of this type of functionallity, but for something
other than files.  (we are tree-ing up some database relations,
but the technique of the expanding list would work very well
for us)

Is there a toolkit that does this sort of thing?  (It seemes
that this should be fairly easy to make, but they tell me to
quit reinventing the wheel...)

Thanks for any help,

Noel (ngorelic@speclab.cr.usgs.gov)

--
"You want it should sing too?"   | /*  Yeah we got dogs and Valvoline
  ngorelic@speclab.cr.usgs.gov   |     Its a pretty damn good time.    */
"Life is pain. Anyone that tells you different is trying to sell you something"
Newsgroups: comp.os.ms-windows.programmer.tools
From: Ian_Upright@mindlink.bc.ca (Ian Upright)
Subject: Awesome Windows development tool
Organization: MIND LINK! - British Columbia, Canada
Date: Sat, 12 Dec 1992 02:06:16 GMT

If you haven't checked this out yet, check out Compass Point Software's
Application::ctor.  It's a GUI development enviroment/tool that lets you
draw your interface, and attatch C++ code to it..  Kinda similar to
Visual Basic, or NeXTstep's development enviroment!  And it generates a
nice clean .EXE, without the need for some stupid DLL or anything..

I just recieved it this afternoon, and I've allready written a few simple
little apps with it!  It also includes a class library to do anything
you can't do easily by drawing it.. :)  The documentation is really good,
and it looks to me to be a great overall product..  I've run into a few
minor bugs here in there, but hey, it's only been out a week!.  I'm
sure they'll get everything fleshed out soon..

And guess how much it costs??  $99..  Even as a cool prototyping tool you
can't afford to be without this..

Contact:

Compass Point Software
1-800-359-2867

Newsgroups: comp.os.ms-windows.programmer.tools
From: bsm@utrcv1.res.utc.com (Brian S. McCarthy)
Subject: Re: Visual Basic 1.0 frame problem
Keywords: VB, draw
Organization: United Technologies Research Center
Date: Wed, 16 Dec 1992 14:33:27 GMT

In article <1992Dec15.141608.13565@ramsey.cs.laurentian.ca> barry@ramsey.cs.laurentian.ca (Barry G. Adams) writes:
>From: barry@ramsey.cs.laurentian.ca (Barry G. Adams)
>Subject: Visual Basic 1.0 frame problem
>Date: Tue, 15 Dec 1992 14:16:08 GMT
> I have been trying to create a frame in VB 1.0 and then put some
> option buttons on it. First I design the frame and then I put
> the option buttons on it. However, as soon as I click on the frame
> at design time the option buttons disappear behind the frame and
> the only way to get them back seems to be to use tab. Everything
> works fine at run time.
>
> Is there some magic key combination that lets me associate the buttons
> with the frame so that when I move the frame the buttons move too and do
> not disappear. There is nothing in the manuals on this. There is obviously
> a way to do it since there is a demo program called prnt.mak that is in the
> vb.cbt directory used by the VB tutorial that works properly.
>
> Barry Adams (barry@ramsey.cs.laurentian.ca)

I think I found the answer to both your problem and my own.
The key word is "draw".  You can't just "put" the buttons on the frame, you 
must "draw" them on.  The way to do it is to click _once_ on the toolbox 
icon for option buttons, then click down on the frame you've just created 
and drag over it until you have created an option button of the proper size.

This also works with other types of objects.  You can associate regular push 
buttons with a frame and they also move around with the frame.
---------------------------------------
Any opinions expressed here are mine alone,
and are not those of my employer or anyone else.

Brian McCarthy
United Technologies Research Center
East Hartford, Connecticut
(203)727-7638
bsm@utrc.utc.com
---------------------------------------
Newsgroups: comp.os.ms-windows.programmer.tools
From: phill@bohra.cpg.oz.au (Phill Solomon)
Subject: How do I start sysmeter minimised ?
Organization: Computer Power Software Group Pty Ltd
Date: Tue, 15 Dec 1992 04:18:03 GMT

What prameters do I need to put in which ini file to start
sysmeter from the Microsort Resource Kit minimised and on top
I could not find this info in any manual.

Thanks,  

Phill Solomon

could you reply by email. if possible.
---
Phill Solomon.                              ACSnet : phill@bohra.cpg.oz.au
TODAY IR&D                                  UUCP   : uunet!munnari!bohra!phill
CP Software Export Pty Ltd. (ACN.006640133) FIDONET: 3:633/363 Swinestud 
Division of the Computer Power Group - Melbourne Australia Voice: +61 3 8230222 
Newsgroups: comp.os.ms-windows.programmer.tools
From: kimmel@staff.tc.umn.edu (Eric Kimmel)
Subject: Re: Fonts in OWL listboxes
Keywords: owl
Organization: University of Minnesota
Date: Wed, 16 Dec 1992 04:50:18 GMT

In article <5713@krafla.rhi.hi.is> kristfin@rhi.hi.is (Kristjan Thor Finnsson) writes:
>
>How can I change the font in a listbox?
>
>I'm doing a simple phonebook program for windows.  The main window of the 
>program contains a listbox that is used to look through the phone book.
>I need to change the font in the listbox so the font will be fixed so the
>entry's will line up nicely.
>
>Any help is good help.
>
>If this is a silly question then just e-mail me but don't frie my :=)
>
A better solution would be to turn on LBS_MULTICOLUMN for your listbox.
Then you can send it a LB_SETTABSTOPS message with an array of tab stops
such as {100,150,220}.  When you add a string to your listbox just add
tabs in the string (sprintf(AddString,"%s\x09%s\x09%s",Name,AreaCode,Phone))
and send them off!  You'll have to expiriment with the tab stops, but it
will turn out quite nice.  And you won't have to worry about modifying
the ListBox class...

>------
>Kristjan Thor Finnsson.  Math/CS student, University of Iceland.
>Internet: kristfin@rhi.hi.is

-Rick
Newsgroups: comp.os.ms-windows.programmer.tools
From: davel@shell.portal.com (David T Lawlor)
Subject: Re: Zapp
Organization: Portal Communications Company
Date: Thu, 17 Dec 1992 07:40:23 GMT

Hi,
I also use zApp.  I've been evaluating it for 1 month now and am
wondering if anyone has the multiple main window problem licked yet.

My app can NOT be an MDI app.  I need multiple, independent windows.
Each of my windows should be able to close and not affect the other
windows.

I guess the closest application that is similar to what I have in
mind is Visual Basic 1.0.  There is a main window with the menubar
and many "forms" which are main windows i.e. they can be closed with
ALT-F4.

I've played with making zPane windows WS_POPUP windows and I can get
separatly managed windows, but when you iconify them, they beep at
me when I single click on the icon.  Double clicking on the zPane icon
brings the window back up.

If anyone has figured out how to use zApp in this way, please follow
up here or e-mail me.

lawlor@helix.com  (Work address)

Also,  I haven't figured out a clean way to get the double click event!
It seems zApp gobbles it up along with single clicks and makes them into
one event.  Is there a way to read the event object to see if it is a
double click??

Thanks

Dave
From: johnf@scd.hp.com (John Flowers)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: Is here anyone using Visual Basic 2.0 ?
Date: 17 Dec 1992 22:02:33 GMT
Organization: Hewlett-Packard
NNTP-Posting-Host: hpscle.scd.hp.com
X-Newsreader: Tin 1.1 PL3

We are using VB 2.0 for product development.

Yes, it is buggy. Yet the new features are needed so we are sticking
with it.


--
*********************************************************************
*   John P. Flowers            _\|/_______________________          *
*   johnf@scd.hp.com            /|\ We can tell how                 *
*   HP Santa Clara Division         far gone you are!               * 
*   Laser R&D                                                       *
*   q: What's the difference between a rabbit and software bugs?    *
*   a: Rabbits reproduce easily                                     *
*********************************************************************
From: jpalmucc@bbn.com (Jeff Palmucci)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Portable GUI toolkits
Date: 18 Dec 1992 19:08:39 GMT
Distribution: usa
NNTP-Posting-Host: bbn.com


Hello,
  I'm looking for a portable GUI toolkit for MS-windows and Motif.  I
have information for zApp and C++/Views from Inmark and Liant
respectively.

  Unfortunately, the marketing blurbs do nothing to distinguish the
two products. Does anyone have any experience with either? Is there
something else out there that I don't know about? (C++ and printer
support are pluses. Also, I don't need Motif support now, but I would
like to have the option available in the future.)

  I will summarize if there is any interest.

Thanks,

Jeff Palmucci
BBN STC
Newsgroups: comp.os.ms-windows.programmer.tools
From: robertw@shell.portal.com (Robert Allen Wallace)
Subject: Re: Is here anyone using Visual Basic 2.0 ?
Organization: Portal Communications Company
Date: Mon, 21 Dec 1992 05:36:51 GMT

lum@netcom.com (stacey lum) writes:

>johnf@scd.hp.com (John Flowers) writes:

>>We are using VB 2.0 for product development.

>I've noticed that too.  For example, after exiting from a compiled version of
>VB/Win 2.0 that runs fine in the interpreted mode, Windows on my machine
>crashed.  The standalone EXE for VB/DOS also crashed when I used the keyboard
>instead of the mouse to make selections.

>Has anyone else noticed other bugs with the latest release of VB?

>Stacey Lum
>lum@netcom.com

I, too have had VB create executables that crashed the system.  I don't
know the exact cause (most seemed to happen after I did some work on the
program in development mode and then created the executable).  I have
also seen problems after VB messes up the palette on the 256 color photo
I have as a backdrop on the screen.

I have found a solution that works for me -- exit windows, load windows,
start VB and load my project, then make the executable.

Robert Wallace
From: moriarty@tc.fluke.COM (Jeff Meyer)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: Visual Basic 1.0 frame problem
Date: 18 Dec 92 18:48:35 GMT
Article-I.D.: tc.1992Dec18.184835.11963
Reply-To: moriarty@tc.fluke.COM (Jeff Meyer)
Organization: The John Fluke Mfg. Co.  /a.k.a. The Gizmonics Institute/

One brief addendum: you can also put controls (buttons, listboxes) in a
frame by Cutting the control; selecting the frame; and then Pasting.  This
will place the control "in the frame".

                           "The best argument against democracy is a five
                            minute talk with the average voter."

                                           -- Winston Churchill
---
                                        Moriarty, aka Jeff Meyer
INTERNET:     moriarty@tc.fluke.COM
Manual UUCP:  {uunet, uw-beaver, sun, microsoft}!fluke!moriarty
CREDO:        You gotta be Cruel to be Kind...
                 **>> Keep circulating the tapes <<**
Newsgroups: comp.os.ms-windows.programmer.tools
From: chris@chrism.demon.co.uk (Chris Marriott)
Subject: Re: Util for watching memory alloc and type? 
Distribution: world
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Date: Tue, 15 Dec 1992 14:49:59 +0000

In article <1992Dec14.234027.4282@ucsu.Colorado.EDU> baileyc@ucsu.Colorado.EDU writes:

>
>I was wondering if there was some utility for windows that watched what
>program was allocating what memory, and of what type?  I have a bunch of
>EMS memory, and I'd like to see if anything is using it.  Also, I'd like to
>check out how much mem is being allocated by certain programs in order to
>fine tune my system.  
>
>-- 
>Christopher R. Bailey            |Internet: baileyc@dendrite.cs.colorado.edu
>University of Colorado at Boulder|CompuServe: 70403,1522
>/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
>Ride Fast, Take Chances!
>

Sure - that's what the SDK's "HeapWalker" program is for!  VERY useful.
-- 
--------------------------------------------------------------------------
| Chris Marriott                           | chris@chrism.demon.co.uk    |
| Warrington, UK                           | BIX: cmarriott              |
| (Still awaiting inspiration              | CIX: cmarriott              |
|  for a witty .sig .... )                 | CompuServe: 100113,1140     |
--------------------------------------------------------------------------
 
Newsgroups: comp.os.ms-windows.programmer.tools
From: jonm@Ingres.COM (Don't Judge a book by your cover)
Subject: Re: Is here anyone using Visual Basic 2.0 ?
Summary: 
News-Software: VAX/VMS VNEWS 1.41    
Keywords: 
Organization: University of Arizona MIS Department - Mosaic Group
Date: 18 Dec 92 08:45:52 GMT

>We are using VB 2.0 for product development.
> 
>Yes, it is buggy. Yet the new features are needed so we are sticking
>with it.
>--

What do you mean exactly by 'buggy'.  I am waiting for VB 2.0 now.  I might
mention that I have been waiting for about 2 months and the dealers pass
the buck on to Microsoft saying I have about another month and a half to wait.
Is VB 2.0 worth waiting for?  By the time I get it, will these bugs be 
resolved?

The answers to these Questions and others await in the next episode...

+---------------------------------------------------------------------------+
|Jon Machtynger (jonm@ingres.com)                                           |
|Ingres Technology Centre. Wharfedale Rd,                                   |
|Winnersh, Wokingham. Berks UK.   (0734)-496525                             |
+---------------------------------------------------------------------------+
| Ahhh Brisbane, people actually get paid to work there... in the sun with  |
| all that fresh air and cheap petrol.... Or so ledgend has it              |
+---------------------------------------------------------------------------+
Newsgroups: comp.os.ms-windows.programmer.tools
From: flink@mits.mdata.fi (Flinkman)
Subject: Is here anyone using Visual Basic 2.0 ?
Organization: ArrowSoft
Date: Thu, 17 Dec 1992 20:09:28 GMT

	Is here anyone using Visual Basic 2.0 ?

	
--
<<-=-=-=-=-=-=-=-=-=-=<<  <<=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<<
 >>   Ari Flinkman     >>  >>   E-Mail: Flink@Mits.Mdata.Fi      >>
<<    Suomi/Finland   <<  <<            -ArrowSoft->            <<
 >>=-=-=-=-=-=-=-=-=-=->>  >>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=>>
Newsgroups: comp.os.ms-windows.programmer.tools