Public Member Functions | Static Public Attributes | Protected Member Functions

IActionManager10 Class Reference

Search for all occurrences

Detailed Description

A mixin-interface extension to IActionManager which allows a client to dispatch a Message back to the application if it is not handled by the focused control.

Can be accessed as follows:

    Interface10* ip = GetCOREInterface10();
    IActionManager* actionMgr = ip-> GetActionManager();
    IActionManagerExt* ext = 
        static_cast<IActionManagerExt*>(actionMgr->GetInterface(IActionManagerExt::kActionMgr10InterfaceID));
Remarks:
This interface is not intended for extension by 3rd-party developers.
See also:
IActionManager

#include <actiontable.h>

Inheritance diagram for IActionManager10:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool  DispatchMessageToApplication (MSG *message)=0
  Dispatches a windows Message structure to the application.
virtual CoreExport Interface_ID  GetID ()
  Returns the interface ID.

Static Public Attributes

static CoreExport const
Interface_ID 
kActionMgr10InterfaceID
  The ID for the interface.

Protected Member Functions

CoreExport  IActionManager10 ()
  The constructor / destructor are defined in Core.dll, but bear in mind that this interface is not intended for extension.
virtual CoreExport  ~IActionManager10 ()
  The constructor / destructor are defined in Core.dll, but bear in mind that this interface is not intended for extension.

Constructor & Destructor Documentation

CoreExport IActionManager10 ( ) [protected]

The constructor / destructor are defined in Core.dll, but bear in mind that this interface is not intended for extension.

virtual CoreExport ~IActionManager10 ( ) [protected, virtual]

The constructor / destructor are defined in Core.dll, but bear in mind that this interface is not intended for extension.


Member Function Documentation

virtual bool DispatchMessageToApplication ( MSG *  message ) [pure virtual]

Dispatches a windows Message structure to the application.

Takes a MSG structure and dispatches it to the main application proc directly. This function can be used to dispatch WM_KEYDOWN events to the application for processing. If a control or dialog is capturing input messages, then this function is useful to delegate message handling to the main application window proc in the case where the message is not handled by the focused control hierarchy or the activated (modeless) dialog.

Parameters:
[in,out] message The message to dispatch to the application.
Returns:
true if the message is handled by the application
virtual CoreExport Interface_ID GetID ( ) [virtual]

Returns the interface ID.

Reimplemented from BaseInterface.


Member Data Documentation

CoreExport const Interface_ID kActionMgr10InterfaceID [static]

The ID for the interface.


IActionManager10 IActionManager10 IActionManager10 IActionManager10 IActionManager10 IActionManager10 IActionManager10 IActionManager10 IActionManager10 IActionManager10
IActionManager10 IActionManager10 IActionManager10 IActionManager10 IActionManager10 IActionManager10 IActionManager10 IActionManager10 IActionManager10 IActionManager10