Window Class Names for the Office 97 Applications

ID: Q169240


The information in this article applies to:
  • Microsoft Office 97 for Windows


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 kbprg
Version : WINDOWS:
Platform : WINDOWS
Issue type :


Last Reviewed: October 31, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.