Window Class Names for the Office 97 Applications (169240)



The information in this article applies to:

  • Microsoft Office 97 for Windows

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.

Modification Type:MinorLast Reviewed:10/11/2006
Keywords:kbinterop kbProgramming KB169240