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

Change language: German

CXmNavResult Class Reference

Inheritance diagram for CXmNavResult:

XmObject List of all members.

Detailed Description

Connect a object list to a list control and allow forward and backward navigation between the items.

This class is only to simplify the implementaion for navigation in search results.


Public Member Functions

CXmListCtrlConnectNavList (CXmUIDialog &uiDlg, HWND list, XmObject &navList)
 Connect the given container navList to the list control.
int GetHitCount () const
 Return number of items within the list.
bool NavigateWithOffset (int offset)
 Navigate to the item with the specified offset relative to the current selection.

Private Member Functions

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.
void MemberState (XmMemberStateCx &mc) const
 Define the presentation of member data and functions.
ARESULT OnAction (XmActionCx &fc)
 Is called, when processing user action.


Member Function Documentation

CXmListCtrl* ConnectNavList CXmUIDialog uiDlg,
HWND  list,
XmObject navList
 

Connect the given container navList to the list control.

Similar to CXmUIDialog::ConnectList().

XMOBJ ObjectID  )  const [inline, private, 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, private, 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  )  [private, 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.

void MemberState XmMemberStateCx mc  )  const [private, 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.

ARESULT OnAction XmActionCx fc  )  [private, 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.


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