HDTenEightyP/NetNews huggingface dataset:
From: kral@kafka.SAIC.COM (Kral Ferch x6147)
Newsgroups: comp.windows.ms.programmer
Subject: Need help with a multiline edit over a bitmap.
Date: 30 Jul 92 17:17:48 GMT
Organization: SAIC

I have a multiline edit control in which the user can enter data.  When this
mode ends, I want to use ShowWindow() to hide the multiline edit and display
a large bitmap in the same general area.

The problem I'm having is that my bitmap is being displayed and then it looks
like a big rectangle is cut into it where the multiline edit was.  It appears
as though the WM_PAINT message is getting processed and then some message
dealing with clearing the area where the mulitline edit was is getting
processed after that point.  I can't seen to be able to get the WM_PAINT of the
bitmap to happen last.

Anybody have any suggestions?

Kral Ferch
kral@kafka.saic.com
Newsgroups: comp.windows.ms.programmer
Subject: Development Opportunity!
From: ebhanson@StarConn.com (E. B. Hanson)
Date: 30 Jul 92 07:32:13 GMT
Organization: Starnet-Public Access UNIX--Los Altos, CA  415-949-3133

This posting is to introduce you to Felis Software. Felis Software
publishes a quarterly catalog of software applications, utilities, and
templates for Mac and PC-compatible computer users. Felis handles the
marketing, product ordering, duplication, and shipping. In addition,
Felis provides technical support for these products. They are currently
looking to expand their catalog.

The programs included in the Felis catalog are carefully selected from
submissions received from developers like yourself. The developer
receives a substantial royalty for every unit Felis sells.

If you are interested in submitting a product for publication or want
more information about this opportunity, reply to this posting. I have a
developer's kit I would be happy to forward to you. If you'd rather
contact me by surface mail, that can be done also.

Eric Hanson
191 Harder Road, #122
Hayward, CA 94544
(510) 582-4300


Newsgroups: comp.sys.mac.programmer,comp.apps.spreadsheets,comp.os.ms-windows.programmer.misc,comp.os.msdos.programmer,comp.os.os2.programmer,comp.windows.ms.programmer,comp.games.programmer
Subject: Development Opportunity!

This posting is to introduce you to Felis Software. Felis Software
publishes a quarterly catalog of software applications, utilities, and
templates for Mac and PC-compatible computer users. Felis handles the
marketing, product ordering, duplication, and shipping. In addition,
Felis provides technical support for these products. They are currently
looking to expand their catalog.

The programs included in the Felis catalog are carefully selected from
submissions received from developers like yourself. The developer
receives a substantial royalty for every unit Felis sells.

If you are interested in submitting a product for publication or want
more information about this opportunity, reply to this posting. I have a
developer's kit I would be happy to forward to you. If you'd rather
contact me by surface mail, that can be done also.

Eric Hanson
191 Harder Road, #122
Hayward, CA 94544
(510) 582-4300
Newsgroups: comp.windows.ms.programmer
From: bonneau@hyper.hyper.com (Paul Bonneau)
Subject: Re: HELP: Load an icon from a .EXE file
Reply-To: bonneau@hyper.UUCP (Paul Bonneau,,)
Organization: HyperCube Inc.
Date: Wed, 22 Jul 1992 16:17:46 GMT

In article <1992Jul21.172030.4078@vela.acs.oakland.edu> mclellan@vela.acs.oakland.edu (Candy M. McLellan) writes:
>
>Paul,
>
[ stuff deleted ]
>	How can I keep a Bitmap Selected into memory with an
>	Owner-Draw ListBox?
>
>	The ODA messages seem to work on a item by item basis
>	with no sequence (asynchronous) with lp->hDC having
>	no beginning.
>
>	IOW, I want to select a bitmap into memory for the first
>	item in a re-paint and then not select again for further
>	items (this speeds things up considerable when doing
>	one's own custom controls).
>
>	However, as I said, the Owner-Draw does not seem to have
>	a synchrous state where one can tell when the hDC is
>	first being claimed for any given # of item re-paints.
>
>	I thought of subclassing ListBox but I don't see how
>	one could intercept WM_PAINT for the hDC I'm referring to
>
>	Any suggestions are greatly appreciated.
>
Sorry, I don't understand what you are asking.  Surely the
hDC in the WM_DRAWITEM's DRAWITEMSTRUCT is a screen DC and
not a memory DC?  You can't select a bitmap into a screen DC.

Are you trying to mimimize the redrawing required for each
WM_DRAWITEM message?  If so, could you not just change the
state according to itemAction?  I.e., if you get itemAction
== IDA_FOCUS, maybe yoy could just XOR your caret on or off.

Maybe we should take this offline, feel free to send e-mail.

cheers - Paul.
From: bchen@diva.Berkeley.EDU (Benjamin Chen)
Newsgroups: comp.windows.ms.programmer
Subject: Followup to Using Bitmap Buttons
Date: 24 Jul 1992 00:18:10 GMT
Organization: University of California, Berkeley
Distribution: usa
NNTP-Posting-Host: diva.berkeley.edu

On the advice of an MFC authour, I removed my explicit calls to delete
the bitmaps and IT WORKS!  I don't know what could have happened,
but I'm positive I saw the symptoms.  It's likely that I first forgot
to call the destructor for the object that contains the bitmap buttons,
(which was allocated with new, not on the stack) ran the program, examined
the heap, added the destructor call, ran the program again WITHOUT restarting
Windows, and thought that it didn't fix the problem. (Hope you
understood that :-)).  Anyway, the problem was mine, not theirs.


    BC

-- 
Benjamin Chen
Office:   550-A4 Cory Hall, 2-4332
UUCP:     !ucbvax!cad!bchen               
HEPNET:   LBL::"bchen@cad.Berkeley.EDU"
From: raider@maloe.toppoint.de (Martin Seeger)
Newsgroups: comp.windows.ms.programmer
Subject: Re: System Error, Cannot Read from Device AUX
Date: 28 Jul 92 19:30:51 GMT
Organization: Martin's Fortress, Laboe, FRG

ben@mlb.dmt.csiro.au (Ben Simons) writes:

>	I'm getting this error dialog box that says:
>		System Error
>	Cannot read from device AUX

I got that message sometimes instead of an UAE. It seems that this one
loves to appear when someone garbled the stack. In what kind of situation
do you get it? Are you running a special (or self written) program?

Greetings 

   Martin
-- 
Martin Seeger, Hansastrasse 75, 2300 Kiel, +49 431 81100
"Windows NT: A little step for an OS, a big step for Windows."
Newsgroups: comp.windows.ms.programmer
From: mccreary@sword.eng.hou.compaq.com (Ed McCreary)
Subject: Re: Diplaying BMP files under Windows 3.x
Organization: Compaq Computer Corp.
Date: Tue, 21 Jul 1992 18:04:39 GMT

In article <1682BEB88.SSCHEMA@ibm.gwdg.de> SSCHEMA@ibm.gwdg.de (Stefan Schemat) writes:
>Does anybody knows how to load and display a BMP file with 256
>colors under Windows 3.x?
>First we have tried to display that bitmap with the GDI-command
>"BitBlt()" after including it in the program's ressources. It
>appeared very fast, but only with a few colors.
>Then we loaded and displayed it pixel by pixel with "SetPixel()".
>This method shows all colors, but it is veeeeeery sloooooow.
>Ciao Stefan
>sschema@ibm.gwdg.de

I assume you have a video card capable of suporting 256 colors.  If so,
you need to create a logical palette based upon the colors needed in the 
image, select it into the device context and realize it before displaying.
If your using the SDK, there's a section on logical palettes in one
of the volumes.  It's the programmer's guide I believe.  

Remember to realized the palette just before creating the bitmap also.

--
McCreary@sword.eng.hou.compaq.com     Computers are like Old Testament gods;
Me? Speak for Compaq?  Yeah, right.   lots of rules and no mercy.
"By this time my lungs were aching for air..."               Joseph Campbell
Xref: sparky comp.windows.ms.programmer:7463 comp.os.ms-windows.programmer.misc:1122
From: ckhung@girtab.usc.edu (Chao-Kuei Hung)
Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
Subject: TRANSPARENT1 - How does it work?
Date: 31 Jul 1992 19:15:28 -0700
Organization: University of Southern California, Los Angeles, CA
Distribution: world
NNTP-Posting-Host: girtab.usc.edu

Dear Netters:

	I am a novice in DDK area, I hope this is not a FAQ. If so, please
forgive me.

        The DDK document said for BitBlt() and StretchBlt(), driver has to 
check both bkMode member of the lpDrawMode and Rop3 parameter to carry out 
the transfer if driver set C1_TRANSPARENT in dpCaps1 of GDIINFO. I am kind 
of confused by the bkMode == TRANSPARENT1 case. I cannot get a clear 
definition of what drivers should do if bkMode is equal to TRANSPARENT1.

        So I came out some possible scenarios for this case:

        1. ROP3() first then check the result to decide wether we 
           want to update destionation or not.

           tempD= ROP3(S,P,D);                  
           if (tempD == bkColor)
                Leave D as is;
           else
                D= ROP3(S,P,D);

        2. Check Source and Brush first. If either one is equal to background
           color of destination, we don't do ROP3() to change the 
           destionation.

           if (S == bkColor || P == bkColor)
                Leave D as is;
           else
                D= ROP3(S,P,D);

        3. Check Source and Brush first. If both are equal to background 
           color of destination, we don't do ROP3() to change the 
           destionation.

           if (S == bkColor && P == bkColor)
                Leave D as is;
           else
                D= ROP3(S,P,D);

        I don't know which scenario I should go. Probably neither one is
correct. Please help me clear the idea of this background mode. Thank you
guys very much!

Henri C. Chen.  July 31, '92
Newsgroups: comp.windows.ms.programmer
From: guest@tgivan.wimsey.bc.ca (Guest)
Subject: True Type vers Eye Twitch
Followup-To: comp.windows.ms.programmer
Reply-To: guest@tgivan.wimsey.bc.ca
Organization: TGI Technologies Ltd.
Date: Tue, 28 Jul 1992 20:04:59 GMT

	
	Hello all you DDK fans.
	
	I am using the PCL driver from the DDK version 3.0.  It works
	the way I want it to.  Now comes along True Type.  As far as
	I can tell, my driver and device can handle True Type, but
	the true type fonts are not being add to the list of fonts
	for the printer.  What I want to know is this.  Do I have to
	spend a bunch of bucks and time to upgrade to DDK 3.1, or
	can I make the driver tell Windows that it will support True
	Type fonts.  

	I am assuming that the driver itself is not involved in the
	generation of the character glyphs, and that the whole thing
	looks like soft fonts to the driver.  Am I correct?

	I also have a problem with the SDK.  I made a windows with
	edit controls in them.  I wanted to allow tabbing between them,
	so I implemeted tabbing ALA Petzold.  It works, but my machine
	BEEPs with every tab or shift-tab. ?????

Thanks in Advance,
Gordon McFadden,
gordon@tgivan.wimsey.bc.ca
From: ben@mlb.dmt.csiro.au (Ben Simons)
Newsgroups: comp.windows.ms.programmer
Subject: System Error, Cannot Read from Device AUX
Date: 27 Jul 92 11:53:18 GMT
Organization: CSIRO Division of Manufacturing Technology, Melbourne, Australia

Hi all,
	I'm getting this error dialog box that says:

		System Error

	Cannot read from device AUX

and it just keeps coming up, despite my selection of Cancel or Retry.
I wish I knew what this meant - can anyone tell me? I know that I
only get this message when i'm running in the debug version of
windows 3.1.

a direct email would be muchly appreciated; i'll summarise etc...
thanks,
ben.

PS: Is there a FAQ file for this group at some ftp site? 
Organization: Freshman, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA
Newsgroups: comp.windows.ms.programmer
Date: Thu, 30 Jul 1992 21:08:23 -0400 
From: David A Hanekamp <dh4h+@andrew.cmu.edu>
Subject: Disappearing menu

Sorry if this is a repeat message, but I think my mail program messed
up before.
  I'm writing a program with Borland C++ 3.1 and the OWL libraries.
I'm trying to open a second window(not the main window) which has a
different menu from the main window.  Whenever I do this, the menu is
somewhat messed up.  SOme of the entries have dashes in them, and some
aren't even there.  HAs anyone ever seen anything like this?  COuld it
be I'm running out of stack or heap space?  I'm using the large memory
model.
  Dave
-------------------------------------------------------------------------------
|                                                                             |
|   David A. Hanekamp, Jr.                    dh4h@andrew.cmu.edu             |
|   Carnegie Mellon University                                                |
|   Pittsburgh, PA      USA                                                   |
|                                                                             |
-------------------------------------------------------------------------------
From: ggp08@seq1.kl.ac.uk (Y. Lan)
Newsgroups: comp.windows.ms.programmer
Subject: Debugger Wanted !!
Date: 24 Jul 92 13:11:30 GMT
Reply-To: ggp08@seq1.kl.ac.uk (Y. Lan)
Organization: University of Keele, England

Sir/Madam:

I have a Borland C++ 2.0 programme. There are some memory allocation
bugs in it. I hope somebody can help me debug it, I can not fix it!! If
you wish to help me, please let me know. Thank you ** 100000 in advancd.

Lan
Newsgroups: comp.windows.ms.programmer
From: zargon@leland.Stanford.EDU (Daniel Sommerfield)
Subject: Forming a cursor out of an icon
Keywords: icon, cursor
Organization: DSG, Stanford University, CA 94305, USA
Date: Fri, 31 Jul 92 17:16:05 GMT

I am trying to write a function to handle dragging icons between two windows
full of icons (kind of like the program manager).  I would like to use the
program manager's trick of building a cursor out of the icon and then setting
to that cursor, but I can't seem to find any easy way to extract the data
from the icon and build it into a cursor.  Does anybody know an easy way
to do this??

--zargon
From: din@grad1.cis.upenn.edu (Clarence Din)
Newsgroups: comp.windows.ms.programmer
Subject: Help with WinExec !
Date: 21 Jul 92 17:25:09 GMT
Organization: University of Pennsylvania

In my C program, I have some code as follows:

...
...
commands
...

WinExec ("whatever", SW_HIDE);

more commands

"whatever" is a DOS program of which I had set up a PIF file (set to
Exclusive Execution).  "whatever" is a program which does some file
manipulation and may take some long amount of time to finish.
The problem is I want "whatever" to completely finish what it's doing
before Windows runs "more commands" which follow the WinExec (above).
How do I do this?

Is there something in the Advanced options I'm supposed to fiddle with?
---------------------------------------------------------------------------
Clarence K. Din
Programmer/Analyst II, Language Analysis Center, University of Pennsylvania
din@grad1.cis.upenn.edu
---------------------------------------------------------------------------
"I have my toys (D-50, SR-16, TG-16 CD-ROM, SNES) and you don't!  Nyah!!!"
From: ggp08@seq1.kl.ac.uk (Y. Lan)
Newsgroups: comp.windows.ms.programmer
Subject: Dialog ? Befor I speak, it goes hung !!
Date: 27 Jul 92 16:59:16 GMT
Reply-To: ggp08@seq1.kl.ac.uk (Y. Lan)
Organization: University of Keele, England

Sir/Madam :

I am writing an application with MDI interface.

After creat the frame window (shown well), I use CreateDialog(...0
to create a modaless dialog box. the system goes hung. Can anyboy tell
me what is the most probable wrong point ?

thanks

Yue-ming Lan
Newsgroups: comp.windows.ms.programmer
From: yklo@iti.gov.sg (Lo Yoong Khong)
Subject: source code control system
Reply-To: yklo@iti.gov.sg
Organization: Information Technology Institute, National Computer Board, S'pore
Date: Thu, 23 Jul 1992 07:29:54 GMT


Does anyone know any tools for source code control system on windows?

---
+------------------------------------------------------+
Name   : Lo, Yoong-Khong                 
Company: Information Technology Institute  
         National Computer Board, Singapore 
Email  : yklo@iti.gov.sg  or yoongkhong@itivax.bitnet
Fax    : (65)779-5966
+------------------------------------------------------+
From: "herb chong" <herb.chong@channel1.com>
Newsgroups: comp.windows.ms.programmer
Subject: enablewindow
Date: 24 Jul 92 00:56:53 EST
Reply-To: "herb chong" <herb.chong@channel1.com>
Distribution: comp
Organization: Channel 1 Communications

MM>   Got a curious one for everyone, and hopefully some sort of quick re
MM>I've seen this happen in Win 3.1 and it's rather strange.  We have a p
MM>that does EnableWindow(false) and then about 15 lines later does a Get
MM>and ends up with a 0?!  Has the window that was enabled eaten the focu
MM>somehow?  The docs for win 3.1 sdk don't mention this little glitch!  
MM>anyone else encountered this?

isn't a disabled window impossible to set the focus to by design?

Herb...

Herb.Chong@Channel1.com

---
  WinQwk 2.0 a#314  Software Independent: Won't work with ANY software.
--
Channel 1 (R)   Cambridge, MA
From: S_HOFMANN@iravcl.ira.uka.de (|S| Helmut Hofmann)
Newsgroups: comp.windows.ms.programmer
Subject: activate window without topping
Date: 22 Jul 1992 14:05:39 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
From: whedon@netcom.com (Bill Whedon)
Newsgroups: comp.windows.ms.programmer
Subject: Astronomy program testers
Keywords: astronomy testers
Date: 21 Jul 92 05:24:32 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

ebergman@nyx.cs.du.edu  I am one of those who cannot reach you at your address.
I won't fill up the forum with my stats.  Please send me email if you still
need testers.  I have proper qualifications, (I think)


-- 

Bill Whedon   whedon@netcom.com 
"Hey, we're all professionals here, ain't we?"
Xref: sparky comp.windows.ms.programmer:7333 comp.lang.c++:11415 comp.os.msdos.programmer:8031
From: hartung@crl.ucsd.edu (Jeff Hartung)
Newsgroups: comp.windows.ms.programmer,comp.lang.c++,comp.os.msdos.programmer
Subject: Re: Borland 3.1 C++ Debugger and MS Windows 3.1
Summary: Orchid F1280 problems on 2 monitor system too
Keywords: Borland C++ 3.1 Turbo Debugger Orchid Fahernheit 1280 problems
Date: 23 Jul 92 17:16:40 GMT
Organization: University of California, San Diego

In article <timann.711818019@narziss> timann.pad@sni.de (Martin Timann) writes:

>I had a similar problem with my ET 4000 Tseng card (1 MB) with BC++ 3.0 :
>The debugger came with a SVGA DLL for Tseng based  cards.
>I have renamed the DLL according the readme file to tdvideo.dll.
>When debugging with a single monitor in 640*480 (256 colors) the user
>screen was trashed.  When switching to 1024*768 (256) and 800*600 (256)
>everything worked fine.  The only way I could use the 640*480 (256) was to
>switch on Int2Fassist in the tdvideo.ini file but this slows down speed
>if you specify Fullscreen saving too. The problem dissappeared on a two
>monitor system.

I am having a related, similar problem with my Orchid F1280 card and BC++ 3.1
on a 2 monitor system.  (The same problem occurred with 2.0, which I recently
upgraded from.)  When I run the DOS debugger or IDE from the command line with
the switch to display the code on the other monitor, the display on the
monochrome monitor is fine, but the display on the VGA screen does not show up
unless I explicitly set the text mode (with an INT 10 call to function 00,
AL=03).  Even then, the display sometimes does not work.  Graphics screens
seem to work fine, but text display of any sort simply does not print.  (The
cursor moves, but the text is "invisible.")

When I called Orchid, the tech told me that there was a known problem with the
F1280 coexisting with a monochrome card that was at all capable of going into
graphics mode, even if no attempt to enter graphics mode was made.  He
suggested that I replace my Hercules card with an honest-to-God MDA.  (Where
on earth can I find an MDA?)

Question:

	Has anyone else exterienced this problem?

	What, short of replacing my mono card, can I do to remedy the
	situation?

(BTW, I haven't even tried debugging a Windows app yet, given the problems
with DOS debugging.  I'd imagine the problems would arise there as well.  Any
experiences out there?)

-- 
 --Jeff Hartung--  	
 Disclaimer: My opinions only, etc., etc., BLAH! BLAH! BLAH!...
 InterNet - hartung@crl.ucsd.edu    	 BITNET - hartung@ucsd
 UUCP - ucsd!crl.ucsd.edu!hartung
From: stvlin04@uctvax.uct.ac.za
Newsgroups: comp.windows.ms.programmer
Subject: TPW-Programmers on DLL's
Date: 30 Jul 92 11:49:04 +0200
Organization: University of Cape Town

Hi,

I wrote in a while back about writing to the 9th meg a PV100 framegrabber.
Since then, all went smoothly (thanks to suggestions) and I finished the 
routines I wanted. Some of them is assembly, but most is Pascal (for windows).
The routines work fine on their own, but as soon as I put them into a DLL for
another programmer doing the front-end in Visual Basic, they don't work at all,
in fact they don't work even if I call them from Pascal. 

I have checked my code many times, and it conforms to the help files 
description. Ok, I thought that maybe something wasn't right in my own routine
so I commented the whole thing out, just leaving the declaration 'procedure
... begin end;' and it still gave general protection faults etc.

I have spoken to a few friends who gave explanations : I must only use windows 
calls etc. However, I have to have my low-level stuff for the PV100 and still
make a DLL. 

Any advice or suggestions are greatly appreciated.

Thanks 
 Lindsay
From: shyam007@ccwf.cc.utexas.edu (Shyam sundar P Cherlopalle)
Newsgroups: comp.windows.ms.programmer
Subject: BC 3.1 Object Windows- PStreamError--Type not registered
Date: 29 Jul 92 05:32:53 GMT
Reply-To: shyam007@ccwf.cc.utexas.edu (Shyam sundar P Cherlopalle)
Organization: The University of Texas at Austin, Austin TX
Originator: shyam007@tramp.cc.utexas.edu





  I have been trying to use the TStreamable class of Borland's ObjectWindows
  and write the stream to a file. The class is derived multiply from
  TNSCollection and TStreamable classes. As required by decendents of 
  TStreamable I defined the four operator overloading functions, read, 
  write, build etc and registered the class using 


	TStreamableClass RegClassname(....);

  But when I tried to write an instance of the above class to a file I have
  been getting an error saying

     PSTREAM ERROR CONDITION -- Type not Registered.

  The class I defined is very similar to the class TPointArray in the steps
  example of ObjectWindows. Can somebody help me get around this by suggesting
  probable error I might have committed.

  I have been working on this problem for a week now and have been unable to
  hack around it. It would also be very helpful if some kind soul could send
  me some source code which shows the usage of the above.

  Thanks in advance,

  -- Shyam
----------------------------------------------------------------------------
Shyam Cherlopalle                              University of Texas at Austin
email : shyam007@ccwf.cc.utexas.edu        
----------------------------------------------------------------------------