HDTenEightyP/NetNews huggingface dataset:
From: dj@ekcolor.ssd.kodak.com (Dave Jones)
Subject: Re: HELP! - Windows speed issues!
Organization: :noitazinagrO
X-Newsreader: TIN [version 1.1 PL6]
Date: Fri, 2 Oct 92 17:16:44 GMT

Kim Letkeman (kim@Software.Mitel.COM) wrote:
: In article <2AC9C85A.88D8@tct.com> jeff@tct.com (Jeff Witzer) writes:
: 
: | I'm running on a 486/50 with 8 meg and have no problems, but when it
: | was tested on a 386/25 with 4 meg, it was JAW-DROPPING slow!!
: | Please help.
: 
: I find that a 386/25 with 4meg _is_ jaw-dropping slow. Especially
: without accelerated video. They are also rarely SRAM cached.
: 
: We have an app written in Actor which is ok on 386/33 and up, but is
: painful on 386/25 and below.
: 
: I'd check your app against other major Windpows apps on the same
: machine. Only get excited about this if yours is noticeably slower
: than others at refreshing its screen.
: --
: Kim Letkeman	kim@Software.Mitel.COM

Boy, I just can't wait to get rid of this jaw-dropping slow machine I'm
currently using.....

Come on! Just because your machine is no longer state-of-the-art doesn't
mean it's headed down the tubes.  If an app takes a long time to do
simple things it might just be because the app is written in an improper
or inefficient manner.  Actor applications are known to be slow.  I see
that every time I fire up Whitewater Resource Toolkit.  Thank God I
don't have to use it for a living.  Last year I evaluated an image intensive
application written with C++ Views and found it a bear to use on all
counts, including response time and display speed.  Guess what: the dev.
team pulled together and created a version that was 1000% improved,
using the same hardware and dev. environment.

So before you run out and yell the for the latest and greatest hardware,
try looking at the application and see if you can't locate the real
problem.

--
||)) 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   |
From: ece52382@uxa.cso.uiuc.edu (E. Castedo Ellerman)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Question about ListBox in OWL
Keywords: OWL listbox
Date: 6 Oct 92 14:47:13 GMT
Organization: University of Illinois at Urbana

I have a list box that shows information held in a linked list.
The list box control is in my main window.
Can I make the LBN_SELCHANGE, LBN_DBLCLK, and LBN_SETFOCUS 
messages be handled by my TListBox object instead of the
main windows (ie [ID_FIRST + ID_MYLISTBOX] ) ?
Is it a good idea to derive a class from TListBox that does this
and holds my linked list in it. This way all routines that manipulate
the list are encapsulated with list box control routines.
 Thanks in ahead.
 - CAstedo
Newsgroups: comp.os.ms-windows.programmer.misc
From: geirt@Lise.Unit.NO (Geir Torheim)
Subject: Turbo debugger & SVGA
Organization: Norwegian Institute of Technology
Date: Wed, 30 Sep 92 13:23:44 GMT

I'm running TDW 3.1 and Windows 3.1. The graphics card is an STB WIND/X.
I'm using a driver from STB to get 800x600, 256 colors.
TDW doesn't like this.
Is it possible to make TDW eat the SVGA mode ?
Or do I have to switch to VGA each time I debug ?

All help appreciated

(I think people have asked similar questions earlier, but couldn't
 find these postings :-()

-geir

-- 
Geir Torheim                             email: geirt@lise.unit.no
Newsgroups: comp.os.ms-windows.programmer.misc
From: sb@next.neuro.emory.edu (Stephen O. Berger)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Animation under Windows
Date: 30 Sep 92 18:11:36 GMT
Reply-To: sb@next.neuro.emory.edu



  Hi,

    Can anyone provide any recommendations on how to do fast and  
reasonably flicker free animation under windows ?  I've read the
suggestions about using the MM API to provide fast timers, but
what is the best way to display images on the screen without
a large amount of flicker.

    We are thinking of getting ATI ultra cards which I hope will
help.  Is this the best/fastest card for this purpose, or is
there some other card which would be better for animation ?  What
would really be nice is a video card with hardware double buffering.


Steve Berger (sb@onripx.neuro.emory.edu)
Newsgroups: comp.os.ms-windows.programmer.misc
From: dj@ekcolor.ssd.kodak.com (Dave Jones)
Subject: Re: powers of four and Windows?
Organization: :noitazinagrO
X-Newsreader: TIN [version 1.1 PL6]
Date: Wed, 30 Sep 92 15:06:44 GMT

Ed McCreary (mccreary@sword.eng.hou.compaq.com) wrote:
: Ok, so what's so special about multiples of four?
: 
: I'm using SetDIBitsToDevice to display grey scale image data.
: It only works if the dimensions of the image are multiples of 4.
: 
RTFM.  Each line of a DIB bitmap occupies a number of bytes which is
a multiple of 4.  Just round up the line length (in bytes) accordingly
then multiply by the number of lines to get the size of the buffer to
allocate for the bitmap bits.  All sources of DIB data understand this
layout.  If you're doing something like writing Yet Another Gif Viewer,
you need to handle it yourself.

--
||)) 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   |
From: awerman@panix.com (Aaron Werman)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: How do I get one (was - Re: Where is the Win Doc CDROM?)
Keywords: CDROM WINDOWS
Date: 4 Oct 92 00:11:13 GMT
Organization: PANIX Public Access Unix, NYC

This sounds like a great toy - are they still available?
-- 

Aaron Werman		awerman@panix.com
From: hodge@iccgcc.decnet.ab.com
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: MDI Windows
Date: 5 Oct 92 09:00:53 EST


In article <BvM190.Lzr@undergrad.math.waterloo.edu>, cwvernon@napier.uwaterloo.ca (Colin Vernon) writes:
> 
> Oh yeah, I'm having a bit of trouble with MDI windows as well.  My windows
> don't seem to show the minimize and restore buttons when they are 
> maximized in the parent window.  Any suggestions?

If you include a couple of short excerpts of code (where you register the
child window class and where you create the child window), there are 
probably lots of folks here that will see the problem.
 
++++  Bob Hodge  +++++++++++++++++++++++++++++++++++++++++++++++++++
+  I'm looking for Don Golden! Please email me if you know him!   +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Newsgroups: comp.os.ms-windows.programmer.misc
From: scott@ods.com (Scott Harper)
Subject: Two Windows, One Message Loop
Organization: Optical Data Systems, Inc.
X-Newsreader: TIN [version 1.1 PL6]
Date: Thu, 1 Oct 1992 15:41:04 GMT

In my application there is an option to open a second window.
The second window is of the same window class as the main
window, and uses the same window procedure.  It also needs
to use the same accelerator table.  The second window is not
a true child window of the main window (the hwndParent parameter
in the CreateWindow call is NULL), but it is owned by the
same application instance.  The message loop in my WinMain
dispatches messages for both windows.  I can tell which window
to operate on in the window procedure by the hwnd parameter
passed to it.  Both windows are style WS_OVERLAPPEDWINDOW.

The client area of each window is completely filled with an
owner drawn listbox.  Thus, the WM_SETFOCUS message case performs
a SetFocus to that window's listbox handle.  The listbox handle
for each window (among other things) is stored in that window's
extra bytes.

I am able to successfully create the second window, get focus
back and forth, and close it.  But I am having the following
problems:

1. Although I can get focus in the second window (the
   caption and border change to the "active window"
   colors), I can't do any mouse operation, such as
   opening the menu, resizing, minimizing, etc.  I can
   access the menu, but only through the keyboard interface.
   Interestingly, once I open a popup menu (with an ALT+letter
   keystroke) the mouse will work on the menu (selecting
   menu items, opening other popups, etc).  However, once
   I close the popup menu (say, with ESC), I can no longer
   use the mouse on it.  Once I click back into the main window,
   the mouse works fine on its menu/borders.

2. In the message loop I need to translate the same accelerator
   keys, but I want to translate the message to the active
   window.  I tried using msg.hwnd in the TranslateAccelerators
   call, but it doesn't seem to work.  Has anyone been able
   to do this (translate accelerator events to two different
   windows from withing the same message loop)?


Any insight or suggestions will be greatly appreciated!
-- 
Scott Harper                       Optical Data Systems, Inc.
scott@ods.com                      1101 E. Arapaho Road
(214) 234-6400                     Richardson, TX  75081
Date: Mon, 28 Sep 92 11:57:50 +0100
From: Martin_Schloeter@eurologic.fido.de (Martin Schloeter)
Subject: Re: Huge Pointers
Newsgroups: comp.os.ms-windows.programmer.misc
X-Comment-To: troy@cbme.unsw.EDU.AU (Troy Rollo)
Organization: Die ersten 100.000 Jahre... 

TR> From article <1992Sep25.175643.6752@pixel.kodak.com>, by
TR> dj@ekcolor.ssd.kodak.com (Dave Jones):
TR> > Matthew Fisher (fisherm@infonode.ingr.com) wrote:
TR> > There is no such thing as a 64K boundary.  What there is, is a situation
[..]
TR> Now, only Borland C uses normalised pointers for huge pointers.
TR> Although I'm not sure if they have changed these for Windows (simply
TR> because wherever there's the possibility of doubt I prefer to just
TR> fudge things with a class). But Microsoft C doesn't adjust the segment
TR> address until a 64K boundary is reached. In this situation, you can
TR> get an array element crossing a 64K boundary.
TR> 
TR> The only real way of getting around this is to make sure that the
TR> elements of the array divide evenly into 65536. This usually means
TR> calculating the size of the structure and padding the structure
TR> definition with a dummy array.
You can do a trick with a kind of alias selector, which defines a segment 
crossing the original segment boundaries. You have to use the function 
"AllocSelector","SetSelectorBase","SetSelectorLimit" and "FreeSelector" to 
construct such a selector which can simply turned to a pointer. This functions 
are documented in Windows 3.1 but already existed in 3.0.
But this management you have to do by your own, it isn't supported by the 
compilers huge pointer mechanismens.

Greeting Martin 
Newsgroups: comp.os.ms-windows.programmer.misc
From: greggy@shell.portal.com (Greg W Yachuk)
Subject: Re: Horizontal scrollbar in a listbox - How ???
Organization: Portal Communications Company
Date: Thu, 1 Oct 1992 21:28:37 GMT

euacis@eua.ericsson.se (Cecilia Pettersson) writes:

>Is there an easy way of adding a horizontal scrollbar to a listbox  ??

Each control is actually a window, so you can create a listbox as a window.
See the documentation for CreateWindow(). When you create the listbox, you
use the "LISTBOX" predefined class name. You should be able to just add
WS_HSCROLL | WS_VSCROLL to dwStyle to get both scrollers.

I haven't actually tried this, but a co-worker tried to create a horizontal
scrollbar, but got the dimensions screwed up (along with the style) and
ended up with a horizontal scrollbar with its own vertical scrollbar.

	-greg

Greg Yachuk	(greggy@shell.portal.com)
Organization: Sophomore, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA
Newsgroups: comp.os.ms-windows.programmer.misc
Date: Sat, 26 Sep 1992 21:03:28 -0400 
From: David A Hanekamp <dh4h+@andrew.cmu.edu>
Subject: FAQ List

Is there a FAQ List for this newsgroup available on an FTP site somewhere?

   Dave
From: s913578@yallara.cs.rmit.OZ.AU (Fantom)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: OO Windows in BC++
Date: 1 Oct 92 02:10:16 GMT

Hiya to alla the ppl out there who have already experience in this area
I've just moved from standard windows to OO and was wondering
if anybody could recommend some decent books onb the topic, preferably
ones with direct refence to Borland C's object libraries

tha-advance-nx

James.
From: jegm@cody.esd.sgi.com (Jim Morris)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Where is the Win Doc CDROM?
Keywords: CDROM WINDOWS
Date: 5 Oct 92 17:32:22 GMT
Reply-To: jegm@esd.sgi.com
Organization: Silicon Graphics, Inc.

I think this cd is really usefull. I have a few gripes that I hope they
fix in the next release.

The two on the top of my gripe list are:-

It takes up 6Mb of HD space. This is probably totally unecessary as the files
are sitting there on the CDROM. Only the config files need to be written to
so they should be the only files kept on HD I would think.

It is REALLY slow starting up, and sits there reading the CD in the background
for ages after it seems to have loaded. The whole windows system slows down 
while this is happening. (anyone know what it is doing?)

Still for $30 its a *great* deal.

Just my $30.02 worth.
-- 
Jim Morris, Email: jegm@esd.sgi.com  Voice: (415) 390-5136
Newsgroups: comp.os.ms-windows.programmer.misc
From: dj@ekcolor.ssd.kodak.com (Dave Jones)
Subject: Re: New Windows Programmer
Organization: :noitazinagrO
X-Newsreader: TIN [version 1.1 PL6]
Date: Mon, 28 Sep 92 15:00:05 GMT

Lance (wongl@vccsouth27.its.rpi.edu) wrote:
: Hello, I don't know if this is the appropriate group to post my question
: in but here goes.  Im starting to program in Windows, and instead of
: searching this huge book I bought for Windows, could someone tell me
: how to access dos functions.  I simply want to get a directory listing
: and put it in a Listbox.  Also, I wish to eventually open and read
: some files....
: 
: Thanks.
: 
: Keywords: 
: 
If you have to do this yourself, there's a function available in Windows
to put a listing of the current directory directly into a listbox.  Just
send the listbox an LB_DIR message.  Check the manual for parameters.
If you don't have the ref. manual, get one.  You can't program without
it.

However, the Common File Dialog is far superior to anything you can put
together.  It even has hooks for specialization (adding extra buttons
etc.).  Look up the function GetOpenFileName in the 3.1 reference.  If
you aren't at 3.1 yet, best to get there ASAP.  Its a much better place
to be.



--
||)) 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:  Fyodor@msoft.msk.su (Fyodor Zubanov)
Subject: Re: Iconizing windows in VisuBasic
Date: Sat, 26 Sep 1992 06:52:46 GMT
Reply-To: Fyodor@msoft.msk.su
Organization: Microsoft Moscow

>      Scenario:  I am using Visual Basic to develop a form application.
>
>      I open 2 forms in the same application.
>
>      Question:
>             If I minimize the main form, how do I minimize the second
>             form?
>

Suppose you have to do smth. the following:

    Sub Form1_Resize()
        'Check Form1 window state
        'If it is minimized set Form2 window state to minimized
    End Sub

Hope this helps,
Fyodor.

-- 
=================================================================
        Fyodor Zubanov          fyodor@msoft.msk.su
        Moscow, Russia
=================================================================
From: marcusj@apricot.co.uk (Marcus Jenkins)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Borland C++ on CD-ROM
Date: 29 Sep 92 07:35:30 GMT
Organization: Apricot Computers Limited

theriaul@mdd.comm.mot.com (Roger Theriault) writes:

>I just ordered my "disk exchange" from Borland (800-331-0877).

>They've got C++ on CD now, and if you already own C++ with Application
>Frameworks, you can get it on CD as either a disk swap, or in addition
>to your 15 HD floppies. The swap is free, but you have to send your
>disks in; the other way, you pay $19.95 and they send you the CD.

Does anybody know whether the CD will have the binaries in compressed or
uncompressed format on the ROM?  I would sincerely hope for the latter.
This would give easy access to the examples (and other 'rarely used')
parts but allow some much-needed relief for a Winchester groaning with
the weight of a compiler and nothing much else...


 _ _ _
' ) ) )                         Internet: marcusj@apricot.co.uk
 / / / __.  __  _. . . _        UUCP: marcusj@apricot.uucp
/ ' (_(_/|_/ (_(__(_/_/_)_      If all else fails from US, try:  
Marcus Jenkins                  apricot!marcusj@relay.EU.net
Tel: +44 21 472 3002  Fax: +44 21 471 2935
Disclaimer:  Anything I wrote above is, of course, my own view and
             does not in any way represent my employer.
Newsgroups: comp.os.ms-windows.programmer.misc
From: jeff@tct.com (Jeff Witzer)
Subject: WM_PAINT not received from Win3.0...
Date: Tue, 6 Oct 1992 20:16:11 GMT
Organization: TC Telemanagement, Clearwater, FL

1)  I have written an application which has a dialog box as the main window.
    All dialog boxes and controls mentioned here are Borland style...
    Whenever I create and later destroy a dialog box over this main dialog 
    box, the controls do NOT receive a WM_PAINT message...if I run Windows 
    3.0.  3.1 works fine...I get WM_PAINT messages and everything looks 
    right.  3.0 leaves a blank rectangle where the second dialog box used 
    to be...if CLIP_CHILDREN is off.  If CLIP_CHILDREN is on, everything
    repaints EXCEPT the controls.  The controls still exist (I can click
    where they're SUPPOSED to be...and there is the pushed bitmap, but as
    soon as I release the button I see the normal (which is the same as 
    focus) bitmap, then that, too, disappears to dialog box background.
    What changed from 3.0 to 3.1?
    
2)  What is the ratio of 3.0 to 3.1 users?  Is it time to program 
    specifically for 3.1 or should 3.0 still be supported?
    
    
Xref: sparky comp.os.ms-windows.programmer.misc:2295 comp.os.ms-windows.misc:3488
From: ctwomey@ccvax.ucd.ie
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.misc
Subject: windir environment variable is a constant!
Date: 30 Sep 92 15:35:37 GMT
Organization: University College Dublin


When you open a DOS window and enter 'SET', one of the environment
variables listed is as follows:
	windir=C:\WINDOWS
(or equivalent).  This is the only env. variable whose name is in lowercase.
I cannot change its value - if you try to
        set windir=c:\
for example, the result is that there are now two env variables:
	windir=C:\WINDOWS
        WINDIR=C:\

Is this a bug in windows or was it intensional?  How do I alter or delete
the windir variable? - or should I say the windir environment CONSTANT?

Any ideas?
Newsgroups: comp.os.ms-windows.programmer.misc
From: arthur@rsd.dl.nec.com (Arthur Griffith)
Subject: Re: Use of const keyword in Borland C++
Organization: NEC America, Radio Software Dept.
Distribution: comp.os.ms-windows.programmer.tools, sidney@borland.com
Date: Fri, 2 Oct 1992 19:25:08 GMT

In article <BARTELS.92Oct2101000@wind.sweetpea.jsc.nasa.gov>, bartels@sweetpea.jsc.nasa.gov (Jeff Bartels) writes:
|> 
|> I own BC++ 3.1.
|> The abstract class Object contains some pure virtual member functions
|> which are declared as follows:
|> 
|> 	virtual int isSortable( const _FAR &Object ) const;
|>                                                      ^^^^^
|> 
|> While it is clear to me that the first usage of "const" declares the
|> parameter as a const item that cannot be modified during the call.
|> 

It is a member function.  The const refers to the 'this' parameter.

----------------------------------------------------------------------------
Arthur Griffith                               Under contract to NEC America
Dallas, Texas                                 Internet: arthur@rsd.dl.nec.com
From: comptec90012@camins.camosun.bc.ca
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Windows and Turbo Pascal
Date: 28 Sep 92 21:06:38 GMT
Organization: Camosun College


Hi, I'm a student at Camosun College, and I'm having some problems running
Turbo Pascal 6.0 under Windows 3.1.  

Whether I'm using the icon, or running TP from the dos shell's prompt
I get an error saying that the application has violated system integrity
because it is trying to perform an illegal instruction. 

Does any one out there know why this is happening?  I know it's not just my
machine at home, because it's happening here at school as well....


Thanks in advance,

Greg W Burnham



comptec90012@camins.camosun.bc.ca      |  <include std_disclaim.h>
Greg W Burnham Victoria, B.C., Canada! |
________________________________________________________________________________
     'There's only one differance between people who have a tattoo and
	those who don't...  People who have a tattoo don't care if you
	have one!'
Newsgroups: comp.os.ms-windows.programmer.misc
From: runen@unix01.NOHOST.NODOMAIN (Rune Nygrd)
Subject: Re: Where is the Win Doc CDROM?
Keywords: CDROM WINDOWS
Reply-To: runen@unix01.NOHOST.NODOMAIN (Rune Nygrd)
Organization: University of Trondheim, Norway
Date: Sat, 3 Oct 92 15:17:46 GMT


In article <1992Oct2.171253.10439@netcom.com>, mbk@netcom.com (Miles Kehoe) writes:
|>
|>A few months back I signed up (and was billed) for a product
|>due out in September - described as 'all the windows docs and
|>many application notes and books written by Microsoft press
|>(including Charles Petzold's book) on CD-ROM with a search
|>engine front end.
|>
|>Well, it's October. Anyone seen one of these puppies? Any
|>idea when it's coming? I know it's only $39 plus shipping,
|>but it IS due.
|>
|>Miles
|>

Where did you order that CD-ROM??


Rune Nygaard
Newsgroups: comp.os.ms-windows.programmer.misc
From: mboucher@cortex.prospect.com (Mike Boucher)
Subject: Dialog Sizing ques (VGA v SVGA)
Organization: Cortex Corporation, Waltham, MA, USA
Date: Mon, 28 Sep 1992 16:48:20 GMT
X-Posted-From: cortex.prospect.com
NNTP-Posting-Host: sol.ctr.columbia.edu

Hey there,

I have a dialog which fits quite nicely on my SVGA monitor (800x600 resolution)
However, when I move to a VGA (640x480) monitor, it doesn't fit at all.  This
brings up a few questions:

1) Is there any way to find out what the largest window that will fit on the
   monitor is?
2) When I send (or post) a WM_SIZE message from the WM_INITDIALOG case, nothing
   seems to happen.  From where should I send this message?

Before I get tons of messages saying "make two windows that fit", let me
explain that this dialog is a "translation" of a data entry screen on a VAX
application, and, by the rules of the project, I cannot change the layout of
the screen.  It has to stay exactly as it is...

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!"