HDTenEightyP/NetNews huggingface dataset:
From: mark@infolog.se (Mark Plotnick)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Device Driver Books for Windows 3.1?
Date: 26 Aug 92 07:29:33 GMT
Organization: Infologics AB, Sollentuna, Sweden



What titles are available and are there any other sources of
info for creating communication device drivers for windows
or for porting DOS device drivers to windows?

-------------------------------------------------------
Mark Plotnick,   Mark.Plotnick@infolog.se
Infologics AB, BOX 91, 191 22 Sollentuna, SWEDEN
Tel. +46 8 92 20 63          Fax  +46 8 96 08 46
Xref: sparky comp.os.ms-windows.programmer.misc:1628 comp.os.ms-windows.programmer.tools:826
From: derek@ibmpcug.co.uk (Derek Jones)
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools,connect.audit
Subject: BWCCENG.DLL not found
Date: 1 Sep 92 13:58:40 GMT
Organization: The IBM PC User Group, UK.
X-Disclaimer: The views expressed in this article are those of the author
	alone and may not represent the views of the IBM PC User Group.

I compiled up the \borlandc\owl\exampl31\aclock demo the other day and ran
it just fine. I then deleted the symbol file (.sym) and ran it again. It
complained about the above file not being found but ran OK. Recompiled.
Try again. With sym file it's OK w/out it gives the error but runs. I
have \borlandc\bin in my path as well as \win31 (of course). I checked.
There is no DLL of this name on my system. (BC++ 3.1 + AF  - The "works" ).
Now I suppose I could have lost this file; (I have had some problems with
SSTOR - you may have seen my other postings......). I can't (and *shouldn't*)
keep 0.5Mb sym files hanging around.
 
Any ideas? RTM's ?
 
Ta muchly.
 
Derek Jones.

-- 
Derek Jones, System Manager, AI Vision Research Unit, University of Sheffield ,
Sheffield, S10 2TN, UK	Tel:(+44) (0)742 768555 X 6551 Fax:(+44) (0)742 766515
email: derek@aivru.sheffield.ac.uk   derek@ibmpcug.co.uk  
Compu$: 70374,1355
Newsgroups: comp.os.ms-windows.programmer.misc
From: peskin@epx.cis.umn.edu (Yury Peskin)
Subject: Ung two different languages in hashing
Organization: University of Minnesota
Distribution: na
Date: Fri, 28 Aug 1992 15:49:09 GMT

Hello netters,
I'm writing a dictionary under Windows using MFC.  My question is
how do I use a language other than English, actually cyrillic, in a 
string used as a key in a hash function?
Thanks in advance.
-- 
We The Willing, Lead By The Unknowing, Are Doing The Impossible
For The Ungrateful.  We Have Done So Much For So Long With So
Little, We Are Now Qualified To Do Anything With NOTHING.
Yury Peskin at peskin@epx.cis.umn.edu
Newsgroups: comp.os.ms-windows.programmer.misc
From: jeff@tct.com (Jeff Witzer)
Subject: Buttons & bitmaps
Date: Thu, 27 Aug 1992 14:04:53 GMT
Organization: TC Telemanagement, Clearwater, FL

I am trying to create dynamic Borland style dialog boxes, specifically, I
want to replace one button with another in response to some user activity.
Imagine if you will, two buttons in a Borland style dialog box, both having
bitmapped pictograms.  Pressing button A changes the pictogram, and 
preferably the ID (wParam associated with WM_COMMAND messages), of button B.
The original state of the buttons is currently defined in the .rc (using
Resource Workshop) but that can change if needed.  Should I delete button B
and replace it with button C or draw a new bitmap on button B (and somehow
change its ID)?

Also, I need to be able to differentiate between multiple buttons which 
display the same pictogram.  Borland style buttons seem to use the ID field
of the button definition to determine which bitmap to use on the button face
(1000 series for norm, 3000 series for pushed, and 5000 series for focus), so
how can I get different WM_COMMAND wParams from similar buttons (or how can I
differentiate which button was pressed (numerically, not with window handles)
if I need to use the same ID)?

Reposting an old question...when I bring up a Borland style dialog box, I
would like to display a bitmap on its face based on a global variable (if the
variable equals 0 display bitmap A, if 1 display bitmap B, etc..., at a 
certain location on the dialog box), but I don't get WM_PAINT messages for the 
dialog box when it's initially displayed, nor when I call InvalidateRect in
response to an INIT_DIALOG message (and the windows doesn't yet exist to 
display a bitmap on when an INIT_DIALOG message is received).

Any suggestions?

thanks,

jeff
From: Monroe.Thomas@ttlg.UUCP (Monroe Thomas)
Sender: postmaster@ttlg.UUCP
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: invalid window
Date: 26 Aug 92  18:30:00 mst

DP>How do I go about setting the maximum size to which my window can be resized?
  >Is there a setting or API call to do this, or can I just handle it in
  >WM_SIZE?

Trap WM_GETMINMAXINFO in your window procedure.  It contains a
pointer to a structure which you can fill with the min/max
dimensions of your window.

DP>Thanks....

Your welcome!

-Monroe

 * OLX 2.2 * "I hate anything by Victor Hugo," said Les miserably.

 * Origin: Through the Looking Glass (42:100/14)
From: stu@Tandem.com (Stuart Phillips)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Giving up the CPU in a Windows App ?
Date: 28 Aug 92 16:51:18 GMT
Reply-To: stu@Tandem.COM
Organization: Tandem Computers, Cupertino - USA

I have a Windows application that I'm writing that needs to process a bunch
of data before displaying any more results.  The time needed for the 
processing is sufficiently long that it would be nice to run it in the
background and give the illusion of multi-tasking.

Whats the best way to release the processor and yet insure that the
application gets sent another message by Windows in order to get some
more processing done ?  Clearly I have to return from the Window proc
in order to get Windows to run something else but what is the API call
to best accomplish this ?

What I'm after is something similar to the behavior of BCW when its compiling
large files; you can iconify BCW or select another Window and things work
just fine - look almost like real multi-tasking.

Any help appreciated !
Stu
Newsgroups: comp.os.ms-windows.programmer.misc
From: moss@moss.TTI.COM (Moss)
Subject: Re: Is there a shareware/freeware program for generating RTF format files?
Reply-To: moss@moss.TTI.COM (Moss)
Organization: Citicorp/TTI
Date: Tue, 1 Sep 1992 18:19:48 GMT

I use a shareware program called QD (Quick and Dirty) Help. It is great
for simple help files. Easy to learn too. I downloaded it from
Compuserve.

Les Moss                      moss@tti.com
Citicorp TTI
3100 Ocean Park Blvd.  (310) 450-9111, ext. 2982
Santa Monica, CA  90405
From: marcusj@apricot.co.uk (Marcus Jenkins)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: App./TSR needs to know that a DOS session has focus - How?
Date: 27 Aug 92 07:38:03 GMT
Organization: Apricot Computers Limited

bmcilroy@nyx.cs.du.edu (Bernie McIlroy) writes:

>In article <1992Aug25.093642.8421@apricot.co.uk> marcusj@apricot.co.uk (M
>rcus Jenkins) writes:
>>I have an app./TSR/DLL (and VxD for Enhanced Mode) system supporting
>>some special hardware.  I want (at least) one of these components
>>to be notified or find out by polling (and the latter would have to
>>be a re-entrant service since I would be polling off a harware IRQ)
>>that a DOS session is becoming active/inactive or is active.  How?
>>

>There are three methods that come to mind:
>  1) In your TSR, watch for the Windows INT 2Fh Startup broadcast.  When
>     you see this, issues the INT 2Fh Get VM ID call.  At any given time,
>     your TSR can call the Get VM ID and compare to the original value 
>     which was the system VM ID.  (Sorry, I don't know the AX= numbers
>     offhand...)

>  2) Your VxD will receive a VMM_Set_Execution_Focus call when you switch 
>     VMs.  Keep track of where you are. 

>  3) At any time, your VxD can call Get_Cur_VM_Handle
>     and Test_Sys_VM_Handle to see if the currently executing VM is
>     a DOS box.
>

There are problems with the above:

1)  This only applies to Enhanced Mode - one of my biggest headaches
    is the active Standard Mode DOS session.

2)  I don't fancy issuing INT 2F's off a hardware interrupt.  I have 
    tried before and run into serious re-entrancy problems.  This is
    not suprising if you trace though INT 2Fh with Soft-ICE (or whatever).
    You will find STI's all over the place (ANSI.SYS, DOS, HIMEM.SYS)
    etc. etc..  I have never seen it specified that INT 2Fh is supposed
    to be a re-entrant service.

Thanks for your ideas, anyway.

Anybody 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.
From: Monroe.Thomas@ttlg.UUCP (Monroe Thomas)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: grumble, grumble, da
Date: 3 Sep 92 06:35:00 GMT


  >>EM>A curious problem with generating a help file.  I'm using Word 2.0 to
  >>  >create the RTF file and then HC 3.00a to compile it.
  >>
  >>EM>The problem is with inserting a bitmap into the file.  I use the
  >>  >command {bml printer.bmp} and then some text.  But, instead of a
  >>  >bitmap, I get the text {bml printer.bmp}.  Does this have to be
  >>  >typed in a particular font?  Is there a limitation as to what
  >>  >can precede or follow it?
  >>
  >>You *may* need to include a section in your help project file (.hpj) with
  >>the heading of [BITMAPS]. Ie:
  >>
  >>[BITMAPS]
  >>printer.bmp
  >>
  >>This *should* make things work!

EM>Nope, tried that.  Someone told me that there is a new version of HC.EXE
  >out, I'm going to try that.

<Sigh!>  That fixed up the problem for me... I'm sorry it didn't work
for you.

-Monroe

 * OLX 2.2 * This tagline is umop apisdn

 * Origin: Through the Looking Glass (42:100/14)
Newsgroups: comp.os.ms-windows.programmer.misc
From: rec@coquina.ucsd.edu (Richard Currier)
Subject: Re: Has Anyone got BC++ 3.1 TDW working w/ Fahrenheit 1280D?
Organization: MPL of SIO at UCSD
Date: Fri, 28 Aug 1992 23:00:01 GMT

In article <37058@sdcc12.ucsd.edu> pluto@cs.ucsd.edu (Mark Plutowksi) writes:
>
>Has anyone got Borland's Turbo Debugger for Windows (v.3.1)
>to work with a Fahrenheit 1280D display card?
>
You too I see....The closest I've gotten is to use the SVGA.DLL downloaded
from CSERVE but I is clunky. At least It no longer crashes. TDW is still
useless in it's present form. Borland MUST be working on a full windows
version. If they can get all of the rest of TCWIN working they can do
the rest. I think they just wanted to get the compiler on the market
so as not to get blown away by MS and Zorlowtech. If they are really 
smart, they will include at least a limited integrated debugger with
the TCWIN IDE. The best feature of the old TC was using the integrated
debugger on small jobs where turnaround speed was important to get the
job done. Pick up the newest version of ORCHID31.EXE from the Orchid BBS.
Just for the record...Orchid superboard 486/50,F1280/D, TCWIN V3.1 upgrade.
(runs ULTIMA VII like a champ)
-- 
Newsgroups: comp.os.ms-windows.programmer.misc
From: mboucher@cortex.prospect.com (Mike Boucher)
Subject: Re: Dual monitor question
Organization: Cortex Corporation, Waltham, MA, USA
Date: Wed, 2 Sep 1992 14:32:38 GMT
X-Posted-From: cortex.prospect.com
X-Posted-Through: sol.ctr.columbia.edu

In Message-ID: <ANDERS.92Sep2113154@ipcsun1.his.se>, Anders Eklund writes:

>I have a question about dual monitors. I'm going to use it when I
>debug my programs in both DOS and Windows environments and I use
>Borland C++ 3.1 & AF. My question is about what kind of graphics I can
>use or mix? Can I use two SVGA graphic-cards? I heard someone said
>that one of the cards must be a CGA card, but he didn't seem to know
>much about anything, so I was not convinced.

I tried having two SVGA monitors on my 486/33.  I got the same image on both
monitors.  Our resident PC guru said something along the lines of they have
the same "address", and you couldn't have them both.  So I went out and got a
$29 monochrome card and it works fine.

good luck.

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!"
From: Laura_Halliday@mindlink.bc.ca (Laura Halliday)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: DDE links between VB & Quicken for Windows?
Date: 2 Sep 92 18:57:14 GMT
Organization: MIND LINK! - British Columbia, Canada
Distribution: world

In Msg-ID: <1992Sep2.085142.18104@news.Hawaii.Edu> Todd Ogasawara writes:

>                      Can anyone tell me how to set up a Visual BASIC
> program as a client to Quicken for Windows?

The way I usually solve such problems is to create a dummy application in VB -
a form with a textbox on it will do. Copy the Quicken data, Paste Link into the
VB textbox, and then inspect the parameters VB set up. Once you've established
that the link works, you can read off the correct LinkItem and LinkTopic.

Good luck!

...laura
Newsgroups: comp.os.ms-windows.programmer.misc
From: manz@ee.ualberta.ca (Brett {Druid Queen} Manz)
Subject: Drawing rectangles on the desktop
Organization: University Of Alberta, Edmonton Canada
Date: Wed, 2 Sep 1992 14:50:35 GMT

  How can I draw a rectangle on the desktop (like for window
  dragging) that will be displayed in front of any windows
  that might be present?  I've tried using the DesktopWindow
  handle, but the rectangles go `behind' the windows.

  Thanks in advance for any help.


-- 
---------------------------------+-------------------------------------
 My opinions are my own.         |  You can't be proud of who you are
 The truth belongs to everyone.  |  if you're ashamed of what you are.
 Civil Rights Are For Queers!    |  Cruise Men, Not Missiles! - anon
Newsgroups: comp.os.ms-windows.programmer.misc
From: tik@eceyv.ncsu.edu (Tsei Kuo)
Subject: Info: BBS for Microsoft Sys Journal
Organization: North Carolina State University
Distribution: usa
Date: Tue, 1 Sep 1992 17:08:58 GMT

I need the BBS number for Microsoft system journal to get sample 
programs, KEYMAP and INTERNAT, on the Dec 1991 issue. Or, better yet,
if anyone happens to have those two prg that I need, please forward
them to me.   Thanks a lot,

Tsei Kuo
Newsgroups: comp.os.ms-windows.programmer.misc
From: mboucher@cortex.prospect.com (Mike Boucher)
Subject: Bold fonts only in Dialog boxes??
Organization: Cortex Corporation, Waltham, MA, USA
Date: Thu, 27 Aug 1992 14:08:53 GMT
X-Posted-From: cortex.prospect.com
X-Posted-Through: sol.ctr.columbia.edu

Hey there,

I'm using MS C 7.0 and SDK to create dialog box resources.  I include the line

FONT 9, "Courier"

So that I have a fixed width font.  What I get is Courier BOLD in the dialog.
I can only get "plain" courier in my Word Processor.  If I change the font to
something like Arial, I still get BOLD!!

What can I do to get a "plain", fixed-width, MS supplied font?

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!"
Newsgroups: comp.os.ms-windows.programmer.misc
From: mboucher@cortex.prospect.com (Mike Boucher)
Subject: Cursor location in edit control?
Organization: Cortex Corporation, Waltham, MA, USA
Date: Tue, 1 Sep 1992 15:48:11 GMT
X-Posted-From: cortex.prospect.com
X-Posted-Through: sol.ctr.columbia.edu

Hey there,

Is there a way, when you get a WM_CHAR message in an edit control, to determine
where the cursor is?  I mean the location in the string, not the screen coords.
I need to know if the character is being appended to the end of the string,
tacked onto the front, or in the middle for validation purposes.

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!"
From: isc30011@nusunix3.nus.sg (TENG WOO BOON)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Winhelp......help
Date: 27 Aug 92 03:39:09 GMT
Organization: National University of Singapore


Hi Programmers

 	Does anyone know how to write a help file for a Windows
application program ? How  to make use of the Winhelp.exe?
(Help must be run from the Windows appl. program itself)
Can someone please enlighten me. Thanks in advance.
From: mark@infolog.se (Mark Plotnick)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Porting DOS Device driver to Windows?
Date: 26 Aug 92 07:32:23 GMT
Organization: Infologics AB, Sollentuna, Sweden


We have been put to the task of converting a DOS communication
driver (from radio packet communication) to the Windows environment.

We need to know the issues involved. Issues concerning memory management,
interrupt handling and multitasking have us a little concerned.

For example, the current driver communicates with its client
applications via a software interrupt - is it feasible to
continue with this philosophy under windows or will it be 
required to use DDE or some other interfacing technique?

Any answers to these questions or pointers to sources would be
greatly appreciated!

-------------------------------------------------------
Mark Plotnick,   Mark.Plotnick@infolog.se
Infologics AB, BOX 91, 191 22 Sollentuna, SWEDEN
Tel. +46 8 92 20 63          Fax  +46 8 96 08 46
From: os2dev@flash.ATC.Olivetti.Com (Bruce Rienzo)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Using extended character set in menus
Keywords: Windows 3.0
Date: 26 Aug 92 08:49:39 GMT
Organization: Olivetti ATC; Cupertino CA, USA

In article <kbbnz+=.whedon@netcom.com> whedon@netcom.com (Bill Whedon) writes:
>>I would like to display arrow symbols next to a menu item to indicate 
>>that the arrow key is the accelerator for this item.
>>
>>How do I do it?
>See "Programming Windows" by Charles Petzold, Microsoft Press, 
>ISBN 1-55615-264-7, the section titled "USING BITMAPS IN MENUS"
>Cheers,
>Bill Whedon

Thanks for this Bill but I don't have quick access to this book. I have 
looked at the section on using bitmaps in menus but  it seems to me 
that the entire menu item that is changed
with ModifyMebu has to be a bit map.

What I want to do is have a text string followed by an arrow symbol.
Is there a slick way to write the string to the Menu item
in the normal way and then add the arrow symbol either by:

a) changing to another font, appending the arrow, then changing back to
	the system font.

b) appending the bitmap of an arrow to the existing menu item.

Thanks in advance.
Newsgroups: comp.os.ms-windows.programmer.misc
From: malcolm@muir.demon.co.uk ("Malcolm S. Muir")
Subject: Can't load WINDEBUG.DLL?! 
Distribution: world
Organization: Muir
Date: Tue, 1 Sep 1992 00:13:17 +0000


In article <1992Aug31.144214.28605@hasler.ascom.ch> PAULETTI@biel.be.tech.ascom.ch writes:

>In <1992Aug31.031025.10090@cucs5.cs.cuhk.hk> lam836@cucs18.cs.cuhk.hk writes:
>
>>       After I switched from Win 3.0 to 3.1, everytime I load a
>> program in TDW, it says "Can't load WINDEBUG.DLL", any idea?
>> 
>
>Make sure that WINDEBUG.DLL is located in the WINDOWS directory
>where all other DLL files of Windows normally are.

And make sure you are using the correct version of windebug for win 3.1

AFAIR Borland issued a replacement for win 3.1, MSC 7 Codeview uses a
different file name altogether.

--
===================
Malcolm S. Muir                       EMAIL: malcolm@muir.demon.co.uk
Sunderland, England                   CIX: mmuir BIX: mmuir CSERVE: 100012,31
===================
From: marwk@levels.unisa.edu.au
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: OWL: New window with a new menu - how?
Date: 29 Aug 92 17:08:39 GMT
Organization: University of South Australia

Using OWL I want to have a MAIN menu with a number of choices with
each choice giving rise to a NEW menu.

I can do this by simply using AssignMenu("NewMenu") but then all of the
member response functions are contained in the same MAIN window.

I want to use a new window.

I have tried doing this and assigning a menu in the constructor for the new
window but it does not work.

How is it done?

Thanx.
--
Raymond Kennington
LECTURER
University of South Australia   | Act in haste and repent at leisure
P.O. Box 1                      | Code too soon and debug forever
Ingle Farm                      | Knobs, knobs everywhere,
South Australia                 |              just vary a knob to think!
From: dobbins@lan.ccit.arizona.edu (Gary Dobbins)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: WinExec return useful?
Date: 3 Sep 92 19:57:24 GMT
Distribution: usa,world
Organization: University of Arizona

When an app calls WinExec, the return value is described somewhat vaguely
in the SDK as a task handle, which I presume is an instance handle. (?)

How, then, can I go about locating the hWnd for this instance's main window, 
in order to send it messages?  I've tried PostAppMessage (which accepts an 
instance handle instead of a hWnd), with no luck.

Thanks in advance...


        Gary L. Dobbins  *  University of Arizona  *  (602)621-6715
             dobbins@arizona.edu  *  dobbins@arizvms (bitnet)
     "Some days, you just can't get rid of a bomb..." - Batman, 1966
Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
From: epperson@adobe.com (Mark Epperson)
Subject: Re: Setting Client Area to entire screen
Organization: Adobe Systems Incorporated
Date: Fri, 28 Aug 1992 07:45:10 GMT

In article <1992Aug11.233710.18600@u.washington.edu> goble@hardy.u.washington.edu (Brian Goble) writes:
%%How do Win apps such a WinGif (and many other graphics/paint programs)
%%implement their "Full Screen" option?  That is, what are they doing to
%%make their Client Area the entire screen (no windows stuff at all--it's
%%all client area).

Start by moving the windows upper left corner off up and left so that 
the client areas origin is in the upper le~t corner of the screen. Then
resize the window to make the client area the same size a~ the screen.

MarkEppyrson
From: hooven@hplvec.LVLD.HP.COM (Chris Hooven)
Date: Wed, 26 Aug 1992 15:56:09 GMT
Subject: Re: Displaying data in an Icon
Organization: Hewlett-Packard Co., Loveland, CO
Newsgroups: comp.os.ms-windows.programmer.misc

Hi

    On Compuserve in the BORLAND forum theres a file called tpwmis.zip. Make
  sure you get the one with the FRAMES unit that is the file that will let
  you TextOut() to the icon.



 ___________________________________ _________________________________________
| Christopher L. Hooven             |     e-mail: hooven@hplvec.lvld.hp.com   |
| Hewlett Packard                   | Compuserve: 71051,2204                  |
| 815 SW 14th St. AU118             |      Phone: (303)679-2940               |
| Loveland Co. 80537-6330           |        Fax: (303)679-5969               |
|___________________________________|_________________________________________|