Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: eiklbed.h
Link against: eikcoctl.lib

Class MListBoxEditorObserver

MListBoxEditorObserver

Support

Supported from 6.0

Description

List box editor observer interface.

This class provides owning dialogs and list boxes with a method of intercepting key events prior to, or instead of, passing them to the editor. For example, a file saving dialog may want to check whether a file exists when the Enter key is pressed and prevent the Enter key being passed on to the editor.

Defined in MListBoxEditorObserver:
HandleListBoxEditorEventL()


Public functions


HandleListBoxEditorEventL()

virtual TKeyResponse HandleListBoxEditorEventL(MEikListBoxEditor* aListBoxEditor, const TKeyEvent& aKeyEvent)=0;

Description

Handles a list box editor event.

Parameters

MEikListBoxEditor* aListBoxEditor

The list box editor for which the key event is handled.

const TKeyEvent& aKeyEvent

The key event to handle.

Return value

TKeyResponse

The response to the key event.