/*	WindowMenu.h                                 J. Strout, 2/03/97**									http://www.strout.net/****	This file defines a "Windows" menu.  Call BuildWindowMenu() once**	at the beginning of the program; then call UpdateWindowMenu()**	whenever you think the windows might have changed (including**	changing layer order) -- e.g., whenever you access the menu bar.*/#ifndef __WINDOWMENU_H#define __WINDOWMENU_H#ifdef __cplusplusextern "C" {#endif// call this usually just once, after initialize your menu bar:void BuildWindowMenu( const short menuID );// call whenever the list of windows has changedvoid UpdateWindowMenu();// call these whenever you need to enable/disable the Window menu:void EnableWindowMenu();void DisableWindowMenu();// when you detect a selection in the Window menu, call this:void HandleWindowMenuSelection( const short num );#ifdef __cplusplus}#endif#endif