Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/169240

From BetaArchive Wiki
Knowledge Base


Window Class Names for the Office 97 Applications

Article ID: 169240

Article Last Modified on 10/11/2006



APPLIES TO

  • Microsoft Office 97 Standard Edition



This article was previously published under Q169240

SUMMARY

Some Microsoft Windows application programming interface (API) function calls, for example, FindWindow(), require the window class name (the main window).

MORE INFORMATION

The window class names used by each Microsoft Office 97 program are listed in the following table.

   Program name           Window class name
   ----------------------------------------
   Microsoft Access       OMain
   Microsoft Excel        XLMAIN
   Microsoft Outlook      rctrl_renwnd32
   Microsoft PowerPoint   PP97FrameClass
   Microsoft Word         OpusApp
                

NOTE: Microsoft Access 97 is included in Microsoft Office 97 Professional Edition for Windows.


Additional query words: Win32 kbmacro

Keywords: kbinterop kbprogramming KB169240