Public Member Functions

IPopupMenu Class Reference

Search for all occurrences

Detailed Description

See also:
Class IMenu

Description:
This class is available in release 4.0 and later only.

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

#include <imenus.h>

Inheritance diagram for IPopupMenu:
Inheritance graph
[legend]

List of all members.

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.

IPopupMenu IPopupMenu IPopupMenu IPopupMenu IPopupMenu IPopupMenu IPopupMenu IPopupMenu IPopupMenu IPopupMenu
IPopupMenu IPopupMenu IPopupMenu IPopupMenu IPopupMenu IPopupMenu IPopupMenu IPopupMenu IPopupMenu IPopupMenu