HDTenEightyP/NetNews huggingface dataset:
From: yfwu@Uz.nthu.edu.tw (EE U780935)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: VB HELP: Events detection when minimized?
Date: 17 Nov 92 00:42:26 GMT
Organization: National Tsing Hua University (HsinChu)

lchang@eniac.seas.upenn.edu (Ling Chang) writes:
> 1)  How do I detect events when the form is minimized (icon level).  The
> only thing that it seems to be able to do is to maximize form when double-
> clicked on the icon.  I can also change icon before it is minimized.  But
> what I really want is a way to communicate with user at the icon level.
> For example, I wish to run some code when the user clicks on the icon with
> the right-mouse button.  Thanks.
You can use a control called CallBack by MicroHelp Inc. The control is in
its VBTools 2.x. By this control, you can monitor all events you want whenever
what state your program is(except your program is not being executed). If you
don't have this control, you can write a DLL which perform Hook Function by
yourself....   :-)
 
> 2)  Can I use all the Windows API stuff?  So far, I have experimented with
> the getprofile and writeprofile, wish to do something like calling the
> printer setup or access the printer driver (to change configuration).
You can use almost all of the Windows API in Visual Basic. About 99% I think.
If you wan to call printer setup or access printer driver, just use 
Common Dialog Roution. It is easy....   Almost no code required.
 
> 3)  Is VB 2.0 worth the upgrade?
It seems that it is much better than VB 1.0, so upgrade soon. Though I havn't 
gotten VB2.0 yet.
 
> Thanks a lot!
You are welcome.

> Ling S. Chang
> lchang@eniac.seas.upenn.edu
Last, are you a chinese ?

--
===============================================================================
 Yuh-Fuu Wu                                      National Tsing-Hua University
 e-mail: yfwu@uz.nthu.edu.tw                     Dept. of Electric Engineering
                                                 Hsin-Chu City, 300
 Like MS Visual Basic most!                      Taiwan, ROC
===============================================================================
From: miarrobi@cvbnet.prime.com (Mike Iarrobino)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: TrueType Hidden Bitmaps?
Date: 19 Nov 92 16:01:57 GMT
Reply-To: miarrobi@cvbnet.prime.com

> gardner_a@kosmos.wcc.govt.nz (andy gardner) writes:
>Judging on the fact that the origianal font (when displayed
>on screen) is perfect, it is my guess that Microsoft has
>hidden some bitmaps in their font that are used automatically
>by Windows for on screen display.  Dows anybody know anything
>about this?  Is there some way to bundle bitmaps back into
>a TrueType font?  Is there more to this than meets the eye?

I haven't used Fontographer so I can't say what it's doing. I think TrueType
fonts are hinted so that at small sizes it uses the hinting to produce an
acceptable font. Perhaps Fontographer has removed the hinting. Assuming
that you have a legit copy of Fontographer you might want to contact the
manufacturer to ask them. You might also want to check to see if there's
some option that specifies whether hinting is to be used/preserved.

I'd be curious to hear what you find/figure out.
Xref: sparky comp.os.ms-windows.programmer.misc:3520 comp.os.ms-windows.programmer.tools:1458 ba.market.computers:5580 ca.wanted:1476
From: whedon@netcom.com (Bill Whedon)
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools,ba.wanted,ba.market.computers,ca.wanted
Subject: NAPCAD 3D PACKAGE NEEDED DESPERATELY - WILL PAY $$$
Keywords: NAPCAD GRAPHICS
Date: 18 Nov 92 18:29:54 GMT
Followup-To: poster
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

I will pay double what you paid for your NAPCAD/3D graphics  with source.  It
must be a legal package, and either registerable or transferrable.

If you want to sell, please send me a note so that we can arrange things.

Thanks,
Bill Whedon   whedon@netcom.com

-- 
-- If I ain't programmin' I ain't awake! --
From: karlth@rhi.hi.is (Karl Thoroddsen)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: who reads UNDOCUMENTED WINDOWS
Keywords: Undocumented windows
Date: 23 Nov 92 09:46:28 GMT

In <1992Nov21.180313.10195@mnemosyne.cs.du.edu> ebergman@nyx.cs.du.edu (Eric Bergman-Terrell) writes:

>In article <tflin.6.0@csie.nctu.edu.tw> tflin@csie.nctu.edu.tw (Tsung-Fan Lin.) writes:
>>Hi:
>>  In these days, BYTES and PC magazine both talked about a new book,called "
>>Undocumented windows". There are some companies to criticize Microsoft to 
>>hide these calls and let their applications have more chances to win 
>>markets. Maybe it is unfair. But I want to know who to read this book. I 
>>there is , can you tell me about the powers of these calls and functions.

>The functions are so powerful, they can cause your application to stop
>working when the next version of Windows is developed!

:-)

Most of the undocumented functions are pretty useless and those who are of
any use are used by the other major companies as well.  Lotus, Borland etc.
acted shocked when they were asked about their opinions on this matter, but
the truth is that they themselves have used undocumented calls extensivly
(Borland's Resource Workshop has about 20-30).
  
Undocumented calls in Windows should rather be called Semi-Documented calls 
because their descriptive names aren't hidden, only the parameters are.  I 
ain't trying to whitewash Microsoft, but Lotus and Borlands' complaints
are purely political.

Ciao.
-- 

\ Internet: karlth@rhi.hi.is             \ Karl Thoroddsen University Of Iceland
 \ Respect...            , Peter Ustinov  \ Department Of Computer Science
Newsgroups: comp.os.ms-windows.programmer.misc
From: rryan@panix.com (Rob Ryan)
Subject: Re: what is CBS_NOINTEGRALHEIGHT for combobox supposed to do?
Date: Sun, 15 Nov 1992 15:53:34 GMT
Organization: Panix, NYC

The CBS_NOINTEGRALHEIGHT is used in cases where the Combobox's height holds,
say, 4.5 lines of information.  If you use CBS_NOINTEGRALHEIGHT, you will,
if there are more than 4 items in the box, see 1/2 of the fifth.  Otherwise,
the system will only display 4 lines.  So, the default of integral height
ensures that you never have partial items in the box, whereas CBS_NOINTEGRAL
HEIGHT ensures that the box is exactly the size as the control as you 
specified it in the resource file.

It does not change the size of the control based upon how many items you
have in it.  You can do this manually, but this is (a) a nuisance to do; and
(b) isn't consistent with the general Windows interface.

-- 
 Rob Ryan
    Internet:   rryan@panix.com or Robert_Ryan@brown.edu
    Bitnet:     ROBR@BROWNVM
    Compu$erve: 70324.227@compuserve.com
Newsgroups: comp.os.ms-windows.programmer.misc
From: jinli@gpu.utcs.utoronto.ca (Jin Tonic Li)
Subject: How to get Windows to load DLLs that are not in PATH, etc.
Organization: University of Toronto Computing Services
Distribution: na
Date: Sat, 21 Nov 1992 18:21:37 GMT


I have some custom DLLs that are in c:\myapp, which is not in the PATH variable.
I want Windows to auto load these DLL(s) for me whenever a function in it(them)
is called(as oppose to explicitly load them myself).

However, as I understand it, Windows will only look for DLLs in the current dir,
windows dir, windows system dir and any dir that is on the PATH.  If a user
invokes programs from c:\myapp, everything is fine.  Otherwise, Windows will
complain that it cannot find the DLLs.

Is there a way to instruct Windows to look for DLLs in a user-supplied dir?
Any other method to get around this problem?(aside from putting all my custom
DLLs in windows system dir)

Thanks in advance,

-- 
  		    Jin Li		      >>    Gin & Tonic mix well
   University of Toronto Computing Services  <<
jinli@gpu.utcs.utoronto.ca   uunet!utgpu!jinli>>      No bugs, no bucks
Newsgroups: comp.os.ms-windows.programmer.misc
From: jagrant@emr1.emr.ca (John Grant)
Subject: Re: changing wallpaper on the fly?
Organization: Energy, Mines, and Resources, Ottawa
Date: Tue, 24 Nov 1992 03:41:36 GMT

In article <1992Nov20.111639.221@otago.ac.nz> helpdesk@otago.ac.nz writes:
>From my program I want to change the wallpaper.
>
>I write the profile string
>I send WM_INICHANGE
>
>The wallpaper changes next time I start windows.
>I want it to change now.
>
>How do I do it? (Using Borland C++ 3.0)

	Just a wild guess, but how about:

	InvalidateRect(GetDesktopWindow(),NULL,TRUE);

-- 
John A. Grant						jagrant@emr1.emr.ca
Airborne Geophysics
Geological Survey of Canada, Ottawa
Newsgroups: comp.os.ms-windows.programmer.misc
From: lipsett@dylan.camb.inmet.com (Roger Lipsett)
Subject: Memory Management question
Organization: Intermetrics, Inc.
Distribution: ne
Date: Thu, 19 Nov 1992 18:16:16 GMT


I am in the process of reading Petzold's book.  The chapter on memory
management seems a curious mixture of real mode discussion and protected
mode discussion.  In particular, there are some rules regarding use of the
medium model (such as, don't store far pointers to data); these
rules seem to apply to real mode only, but the book does not say so.

Can anyone enlighten me as to these medium model restrictions?

Thanks,
Roger Lipsett
733 Concord Ave.
Intermetrics, Inc.
Cambridge, MA 02138

+-----------------------------------------------------------------------------+
| internet:	lipsett@inmet.com	               | Voice:  617-661-1840 |
| uunet:		uunet!inmet!lipsett            | Fax:    617-868-2843 |
|    or:          lipsett%inmet@uunet.uu.net           |                      |
| CompuServe:   >INTERNET:lipsett@inmet.camb.inmet.com |                      |
+-----------------------------------------------------------------------------+
From: keogh@sc.sni.ie (Paul Keogh)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: sockets
Date: 16 Nov 92 12:11:11 GMT
Article-I.D.: sc.180
Organization: Siemens Nixdorf Software Center, Dublin, Ireland
Keywords: sockets

I realise that this is becoming somewhat of a FAQ but I think it would be useful
for all to know that current availability of socket libraries and development
environments for Windows, both commercial and public domain (if any).

Also, is the winsock API actually implemented by anybody ? Is it designed to
force socket library developers to provide a consistent set of socket semantics
for applications or is it simply a statement by Microsoft of a forthcoming
product ?

Thanx,
-- 
Paul Keogh, 				// 
SSE 					//
Dublin, Ireland.			//
					//
Net: keogh@sse.ie			//
From: jan@nasobem.stgt.sub.org (Jan Schiefer)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Setting Up Dual Monitor Mode for BC++
Date: Sat, 21 Nov 92 0:29:45 GMT
Distribution: world

In article <BxtHrA.38J@news.iastate.edu> martin@iastate.edu (Martin R Calsyn) writes:
| >NOTE: If your VGA card is 16 bit, the mon card will force it into
| >8bit mode and possible affect its ram access speed. This could efect
| >your video display speed rather drastically.
|
| Definately! (sic)

I'd like to add that for Tseng 4000 cards, there is a program at cica, which
lets you switch the VGA to 16- or 8-bit mode despite the HGC being in the
system. The Hercules will show garbage when it is addressed and the VGA is 16
bits. I am using this tool with a Diamond Speedstar 24 and it works great.
I have to do a 'mode co80' or 'mode mono' after changing the mode, however.

The exact location:
setbus.zip      911230  Speed up Tseng-based video cards with dual monitors
in pub/pc/win3/drivers/video at ftp.cica.indiana.edu [129.79.20.84]

Jan

--
             Jan Schiefer, DL5UE, jan@nasobem.stgt.sub.org
                 "Oracle et laboracle!"   - Fritz Hohl
Newsgroups: comp.os.ms-windows.programmer.misc
From: bdwheele@silver.ucs.indiana.edu (Brian Wheeler)
Subject: Can somebody help me?
Organization: Indiana University
Date: Mon, 16 Nov 1992 21:14:23 GMT

	I need a DLL that will allow me to:
		Allocate & Free Memory, and will let me read/write byte data
values to the allocated memory.  Here's the problem:
	Visual Basic will allow me to use GlobalAlloc and the other memory 
functions, but being BASIC, I can't access it.
	Here's the functions I'd need:
	(in BASIC prototype form)
	Function PEEK (Ptr As Long) as Integer 'Using integers because there
	Sub POKE (Ptr As Long, Value as Integer) 'is no single byte type.
	Function MemoryAllocate (Size as Long) as Long
	Sub MemoryFree (Ptr as Long)

Is there such a DLL?  Can someone write one?  
Any help would be appriciated.

Thanx in advance
Brian Wheeler
-- 
******************************************************************************
* Brian 'Nautical' Wheeler - These are my opinions, do you hear me?  MINE!
* "Wombats are our friends" - Me
******************************************************************************
From: jav@dstos3.dsto.gov.au
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Inaccuracy in windows timer?
Date: 18 Nov 92 11:31:54 CST
Organization: Defence Science and Technology Organisation

Windows timer inaccuracy!

I have an application which needs to sample a value every 60 seconds.  I use
the settimer function with an interval of 60000 to send a message to the
appropriate window which invokes the relevant member function to do the
sampling (I'm using Boralnd C++ 3.1 with OWL).  This all works fine except that
the sampling time actually creeps by about 1 second every thirty minutes.  I
store the time (obtained using standard C time.h functions from the PC clock)
in a file with every sample and after thirty minutes or so, the sampling occurs
one second later in the minute than originally.

I realise that the windows timer is only accurate to 18.2 ms, but surely the
settimer function is able to correct for non-multiple of 18.2 ms intervals
(obviously not!).  If not, then does any Guru out there know how I can correct
the time to accurately be able to sample every sixty seconds?

Thanks in advance,                         jav@itd.dsto.gov.au
Jon Vaughan
Information Technology Division
D.S.T.O.
Salisbury, South Australia 5108.
Xref: sparky comp.os.ms-windows.programmer.misc:3494 comp.os.ms-windows.misc:4693
From: sbchanin@ai.mit.edu (Steve Chanin)
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.misc
Subject: Adding Dos Box fonts (Win 3.1)
Date: 17 Nov 92 15:34:03
Organization: MIT Artificial Intelligence Laboratory
Distribution: world
Reply-To: sbchanin@ai.mit.edu
NNTP-Posting-Host: raisin-nut.ai.mit.edu

I would like to add a new font or two the list which Windows 3.1
allows me to use with Dos programs (i.e. 10x12, 6x12).  I have an ATI
Ultra video card which I run in 8514/A mode.  This card also has
custom drivers which are Win 3.1 compatible SVGA.

Is this possible?

Thanks,
Steve
--
===============================================================================
DOMAIN: sbchanin@ai.mit.edu                                       Steven Chanin
Newsgroups: comp.os.ms-windows.programmer.misc
From: hyunk@vccnw02.its.rpi.edu (Kwangik Hyun)
Subject: HELP NEEDED: How to write device drivers for Windows 3.1?
Organization: Rensselaer Polytechnic Institute, Troy NY
Date: Tue, 17 Nov 1992 01:30:32 GMT

I need to write a device driver for a PCboard and I would like to know
what kind of information or/and development software will I need. 
The driver has to be called from a Visual Basic application. 
Newsgroups: comp.os.ms-windows.programmer.misc
From: tomh@wes.on.ca (Tom Haapanen)
Subject: CommonView vs. C++/Views
Organization: Waterloo Engineering Software
Date: Wed, 18 Nov 1992 17:51:23 GMT

We're looking at both of these packages, and both look potentially quite
attractive.  It's impossible to tell, though, whether they're bug-free,
comprehensive and well-supported without actually using them for something
non-trivial.

If you've used either (or better yet, both) of these packages, could you
describe your experiences?  Incomplete APIs, bugs, tech support, anything
else that's important?

Posting followups is probably the best; I expect there are others out there
who'd be interested in this as well...

[ \tom haapanen    "i don't even know what street canada is on" -- al capone ]
[ tomh@wes.on.ca                   "trust the programmer" -- ansi c standard ]
[ waterloo engineering software      "to thine own self be true" -- polonius ]
Newsgroups: comp.os.ms-windows.programmer.misc
From: ampac@netcom.com (Marc Kulla)
Subject: Bitmap in a button?
Organization: AmPac International
Date: Thu, 19 Nov 1992 00:25:41 GMT


I am trying to put a bitmap in a button that I have created with a 
CreateWindow call.  I got the hdc of the 'button' window and tried
to BitBlt to it, but it didn't appear.  Is there something special
that I have to do?  I'm trying to put a .bmp file into the button
face.

Thanks.  You can reply here or to me directly.

Marc
e-mail: ampac@netcom.com
From: goldstei@shrike.und.ac.za (Hilton Goldstein)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Format of BMP files?
Date: 23 Nov 1992 12:48:44 GMT
Organization: University of Natal (Durban), South Africa
NNTP-Posting-Host: shrike.und.ac.za
X-Newsreader: Tin 1.1 PL4

Hi,

I would like to know the file format of a BMP file.
Could you please email the format to me, or tell
me where (book) I could locate this information?

Thanking you in advance,

Hilton Goldstein

Newsgroups: comp.os.ms-windows.programmer.misc
From: Jim_Sollows@mindlink.bc.ca (Jim Sollows)
Subject: ObjectVision vs Visual Basic??
Organization: MIND LINK! - British Columbia, Canada
Date: Mon, 23 Nov 1992 01:08:02 GMT

I am interrested in delving into the world of windows programming. I am
an experienced dBase programmer so I do have some general programming
experience. I would appreciate any comments regarding Microsoft Visual
Basic or ObjectVision for Windows. Which is better, what are the pro's
and cons of one over the other? If you have any personal experince with
either package I would also be interrested in you personal opinions.
Any comments would be appreciated.

Please E-Mail your response to JIM_SOLLOWS@MINDLINK.BC.CA

Thanks for the assistance.


Jim Sollows

Newsgroups: comp.os.ms-windows.programmer.misc
From:  andr@ncmi.kis.nnov.su (Kostunin A.N.)
Subject: One question about HC31.exe
Date: Tue, 17 Nov 1992 16:02:07 GMT
Reply-To: andr@ncmi.kis.nnov.su
Organization: Medical Research Center


 Hello, all!
 I'm writing Help files and I'm using HC31.exe ver.3.10 from SDK3.1 Microsoft.
I'd like a part of BMP to be a cross-reference. I've split BMP into pieces and
inserted them into RTF file. One of the parts (in the middle of the picture)
was made a cross-reference. But after compilation I've lost a piece of BMP
following this cross-reference. Duely, it wasn't specified as hidden, I've
checked it. I've looked through RTF file and think everything is correct.
Is it a bug in HC31? Had anybody experienced such problems? Can anybody help
me? Thanks in advance.
Andry Kostjunin.

Andr@ncmi.kis.nnov.su

Newsgroups: comp.os.ms-windows.programmer.misc
From: chuck@searchtech.com (Chuck Howard)
Subject: FAQ question & MDI question
Organization: Search Technology, Inc.
Date: Tue, 17 Nov 1992 12:34:52 GMT

First, where do I find the FAQ listing?

Second, I'm trying to build a MDI application with a tool bar along the top.
How do I move the client window down to allow room for a tool bar between
the menu bar and the client window?  Also, if anyone knows of a good example
of a MDI application please tell me.

Thanx

Chuck


-- 
Chuck Howard	                                chuck@srchtec.uucp (registered)
search technology, inc.				           chuck@searchtech.com
4725 peachtree corners cir., suite 200		   {uupsi,stiatl}!srchtec!chuck
norcross, georgia 30092				                 (404) 441-1457
Newsgroups: comp.os.ms-windows.programmer.misc
From: kinetix@cwis.unomaha.edu (Andrew Wigodsky)
Subject: Problems with EXCEL/WIN31/GENDRV.DLL
Summary: Help me!
Organization: University of Nebraska at Omaha
Date: Thu, 19 Nov 1992 08:20:05 GMT


I am wondering if it is possible that I am slow or something, but
when using the GENDRV.DLL and IBM4019.DRV printer drivers under
Win3.1  and  Excel 4.0 -- I get GENERAL PROTECTION FAULTed out of 
Excel every time I try to make any formatting changes ...

Has anyone had this problem???

If you need a copy of my DRWATSON.LOG and/or think you can
do something with it, please email...

I am currently working with Excel 4.0 and a 500k Excel application
I am writing for my business.  

					Andrew Wigodsky
					(402) 391-5482
					kinetix@unomaha.edu


--
========================================================================

kinetix@cwis.unomaha.edu			Andrew S. Wigodsky
						University of NE, Omaha
Newsgroups: comp.os.ms-windows.programmer.misc
From: Peter.Hug@bbs.actrix.gen.nz
Subject: Printing using the new Windows 3.1 API
Organization: Actrix Information Exchange
Date: Wed, 18 Nov 1992 01:20:02 GMT

I have two problems with printing under Windows 3.1:

1. Are there situations when an application must use "banding" for printing
   or is this something an application can descide if it wants to make use of
   this feature. If it is required with some printer drivers, how can this be 
   determined?

2. When using "banding", the sequence of printer functions I invoke is:

   StartDoc(...);
   while( more pages )
      {
      StartPage(...);
      Escape(..., NEXTBAND, paintRectangle, ....);
      while(!IsEmptyRect(paintRectangle))
         {
         paintBand(..., paintRectangle );
         Escape(..., NEXTBAND, paintRectangle, ....);
         }
      EndPage(...);
      }
   EndDoc(...);

   Unfortunately, EndPage() always returns SB_ERROR! Is there a cure? If I
   dont use banding, everything works just fine!


   Thanks for your input!
Newsgroups: comp.os.ms-windows.programmer.misc
From: jagrant@emr1.emr.ca (John Grant)
Subject: Re: From TURBOVISION to MS-WINDOWS
Keywords: TurboVision,MS-WINDOWS,HELP
Organization: Energy, Mines, and Resources, Ottawa
Date: Wed, 18 Nov 1992 17:28:32 GMT

In article <bell.722068634@nella4.cc.monash.edu.au> bell@nella4.cc.monash.edu.au (mr g.a. bell) writes:
>I have an application using Borlands TurboVision class
>libraries which I might convert to MS WINDOWS. 
>
>What I would like to know is what is involved in the conversion?

	From what I understand, a complete re-write is required.  I don't
	believe there is any compatibility between TurboVision and the
	ObjectWindows Library (OWL).
-- 
John A. Grant						jagrant@emr1.emr.ca
Airborne Geophysics
Geological Survey of Canada, Ottawa
Newsgroups: comp.os.ms-windows.programmer.misc