home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
POPUP.IDL
< prev
next >
Wrap
Text File
|
1995-12-13
|
3KB
|
107 lines
/********************************************************************/
/* Licensed Materials - Property of IBM */
/* */
/* */
/* Copyright (C) International Business Machines Corp., 1994. */
/* Copyright (C) Apple Computer, Inc., 1994 */
/* */
/* US Government Users Restricted Rights - */
/* Use, duplication, or disclosure restricted */
/* by GSA ADP Schedule Contract with IBM Corp. */
/* */
/* */
#ifndef _POPUP_
#define _POPUP_
#ifndef _MENUBAR_
#include "MenuBar.idl"
#endif
#ifndef _ODTYPESM_
#include "odtypesm.idl"
#endif
//======================================================================
// Classes defined in this interface
//======================================================================
interface ODPopup;
//======================================================================
// Classes used by this interface
//======================================================================
interface ODSession;
interface ODPart;
interface ODFrame;
interface ODMenuBar;
//======================================================================
// Class ODPopupMenu
//======================================================================
interface ODPopup : ODMenuBar
{
ODPopup CopyPopup();
ODBoolean AddDefaultMenuItemBefore(in ODMenuItemID menuItemID,
in ODMenuItemID beforeID);
ODBoolean AddDefaultMenuItemLast(in ODMenuItemID menuItemID);
#ifdef __SOMIDL__
implementation
{
functionprefix = ODPopup;
override:
somInit,
somUninit,
Purge,
Release,
Display,
AddMenuLast,
AddMenuBefore,
RemoveMenu,
GetMenu,
#ifndef _PLATFORM_OS2_
IsValid,
#endif //PLATFORM_OS2
Copy,
SetMenuItemText,
GetMenuItemText,
SetHideMenuItem,
SetShowMenuItem,
CheckMenuItem,
EnableMenuItem,
AddMenuItemBefore,
AddMenuItemLast,
InsertSubmenu,
Exists,
IsItemEnabled,
AddToAccelTable,
RestoreAccelTable,
IsItemChecked,
RemoveMenuItem,
GetMenuItem,
SetMenuItemStatusText,
GetMenuItemStatusText;
releaseorder:
CopyPopup,
AddDefaultMenuItemBefore,
AddDefaultMenuItemLast,
reserved1,
reserved2;
majorversion = 1; minorversion = 0;
};
#endif // __SOMIDL__
};
#endif // _POPUP_