[comp.windows.ms] Enumerating Window Classes

risto@tuura.UUCP (Risto Lankinen) (05/31/90)

Hi!

Someone asked a few days ago for a method to read registered window classes
from Windows kernel.  I found out, that the currently running applications'
window classes can be read by supplying the EnumWindows call with a pointer
to a function that calls GetClassName for each hWnd recived from EnumWindows.
It is not known to me, whether Windows stores the classes for an application
that has been, but no longer is running.  I also called CreateWindow with an
other application's registered window class, which would cause funny effects.

As to Windows 3.0, has anyone else noticed, that the 'Good Old' MS-DOS Exec.
is still there.  I built a PgmGrp for the 2.0 toolkit files, and added the
MSDOS.EXE from \WINDOWS to it.  There's also another extra, the SYSEDIT.EXE
in the \WINDOWS\SYSTEM, which can be used to quickly configure CONFIG.SYS,
AUTOEXEC.BAT, WIN.INI and SYSTEM.INI files (no File..Open facility, so you're
restricted to these four).  Quicker it is than Notepad, though.

This is mentioned in the NetWork -part of the Windows 3.0 manuals:  The file
SETUP.INF is read each time the SETUP is run, and it is ASCII, so you can 
make modifications to it.  It could be modified to include possible in-house
applications (of a company) that do not originally appear in the SETUP.INF
and are thatby not recognized by the Windows' automatic installation.

I've heard that the EXCEL 2.1C is needed for Windows 3.0 .  Well, I have
tested it, and found that the EXCELCBT.CBT is not [MARKed?] for Windows 3 .
To check this, try Help..Tutorial and wait for the (possible) incompatibility
message.  Has anyone else got this or am I alone with the problem?

terveisin: Risto Lankinen
-- 
Risto Lankinen / product specialist ***************************************
Nokia Data Systems, Technology Dept *  2                              2   *
THIS SPACE INTENTIONALLY LEFT BLANK * 2 -1 is PRIME!  Now working on 2 +1 *
replies: risto@yj.data.nokia.fi     ***************************************