Window Class Names for the Office 97 Applications

Last reviewed: December 2, 1997
Article 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:97
Platform : WINDOWS
Issue type : kbref


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 2, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.