TrackViewActionCallback Class Reference
 
 
 
TrackViewActionCallback Class Reference

#include <itreevw.h>

Inheritance diagram for TrackViewActionCallback:
ActionCallback BaseInterfaceServer InterfaceServer MaxHeapOperators

Class Description

See also:
Class ActionCallback

class TrackViewActionCallback : public ActionCallback

Description:
This is the callback object for handling TrackView actions.

Data Members:
HWND mhWnd;

The handle to the.window.

Public Member Functions

BOOL  ExecuteAction (int id)
void  SetHWnd (HWND hWnd)

Public Attributes

HWND  mhWnd

Member Function Documentation

BOOL ExecuteAction ( int  id ) [virtual]
Remarks:
This method specifies which action to execute. This returns a BOOL that indicates if the action was actually executed. If the item is disabled, or if the table that owns it is not activated, then it won't execute, and returns FALSE. If it does execute then TRUE is returned.
Parameters:
int id

The action ID.

Reimplemented from ActionCallback.

void SetHWnd ( HWND  hWnd ) [inline]
Remarks:
This method sets the window handle.
Parameters:
HWND hWnd

The handle to the window you wish to set.
Default Implementation:
{ mhWnd = hWnd; }
{ mhWnd = hWnd; }

Member Data Documentation