Home You are here: Home > Support > Reference v1.0

Change language: German

CXmFindHandler Class Reference

Inheritance diagram for CXmFindHandler:

XmObject List of all members.

Detailed Description

Supply a complete search process using a dialog and providing the search results.

Before using the handler it have to be initialized by calling SetFindHandler(). You start the search process by calling SearchFrom(). The specified CXmFindDlg will be opened, to give the user the possibility to set his find settings. This dialog perform the search and write the search results to the assigned exom::XmReferenceList.

If m_FindNotifier is set CXmFindNotifier::FindComplete() will be called after finishing the search.


Public Member Functions

bool SearchFrom (const XmPath &p)
 Start the search process using the given path as entry within the object hierarchy.
bool SetFindHandler (const XmPath *p, CXmFindDlg *findDlg, XmReferenceList *findList)
 Initialize the Handler.
Overridables - XmObject
XMOBJ ObjectID () const
 Return the ID of an object.
void manage (XmMan &m)
 Provide the possibility to connect member data and sub objects.
void manageFcn (XmManFcn &m)
 Defines the object functions usable in user interface.
ARESULT OnAction (XmActionCx &fc)
 Is called, when processing user action.
void MemberState (XmMemberStateCx &mc) const
 Define the presentation of member data and functions.

Public Attributes

CXmFindNotifierm_FindNotifier
 Specify the receiver, which will be notified when search finished.


Member Function Documentation

XMOBJ ObjectID  )  const [inline, virtual]
 

Return the ID of an object.

The ID give the exom framework the possibility to identify a class derived from XmObject. So all classes derived from XmObject should have their own ID.

Implements XmObject.

void manage XmMan m  )  [inline, virtual]
 

Provide the possibility to connect member data and sub objects.

Member data and sub objects can be connected, by calling the corresponding manXxx functions of XmMan.

Implements XmObject.

void manageFcn XmManFcn m  )  [virtual]
 

Defines the object functions usable in user interface.

All functions included manageFcn() are visible in user interface. The availibility is controlled by MemberState().

Reimplemented from XmObject.

ARESULT OnAction XmActionCx fc  )  [virtual]
 

Is called, when processing user action.

OnAction give the application the possibility to handle user input via the user interface. For example: range checks or additional actions like closing a dialog. This function is called recursive in the member hierarchy.

Reimplemented from XmObject.

void MemberState XmMemberStateCx mc  )  const [virtual]
 

Define the presentation of member data and functions.

Via MemberState() the application has the possibility to control the appearance of member data and functions in user interface, like enabled/disabled, checked/unchecked,... This function is called recursive in the member hierarchy.

Reimplemented from XmObject.


Copyright © 2006 Praetz Software Development - www.exomware.com