IPopupMenu Class Reference
 
 
 
IPopupMenu Class Reference

#include <imenus.h>

Inheritance diagram for IPopupMenu:
IMenu FPMixinInterface IMenuElement FPInterface MaxHeapOperators BaseInterface InterfaceServer MaxHeapOperators

Class Description

See also:
Class IMenu

Description:
This abstract class represents an interface for a popup menu and is used internally. Methods that are marked as internal should not be used.

Public Member Functions

virtual void  SetMenu (IMenu *menu) const =0
virtual IMenu GetMenu () const =0
virtual void  TrackMenu (HWND hMessageWnd, bool displayAll=false)=0

Member Function Documentation

virtual void SetMenu ( IMenu menu ) const [pure virtual]
Remarks:
This method is used internally.

This method allows you to set the menu associated with this popup menu.
Parameters:
IMenu* menu

A pointer to the menu.
virtual IMenu* GetMenu ( ) const [pure virtual]
Remarks:
This method is used internally.

This method returns a pointer to the menu associated with this popup menu.
virtual void TrackMenu ( HWND  hMessageWnd,
bool  displayAll = false 
) [pure virtual]
Remarks:
This method is used internally.

This method allows you to track a quad menu.
Parameters:
HWND hMessageWnd

A handle to the message window.

bool displayAll = false

TRUE if all menus should be displayed, otherwise FALSE.