Knowledge Base

Window Class Names for the Office 97 Applications

Article ID: 169240

Article Last Modified on 10/11/2006


APPLIES TO


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