LafMsgWin Class Reference

class LafMsgWin

Provides LAF settings for the system environment's message windows (CEikMsgWin).

Nested Classes and Structures

Public Member Functions
IMPORT_C voidCompleteMessageWinConstructionL(RMessageWindow &, const MLafEnv &)
IMPORT_C voidConfigureText(TDisplayParameters &, const MLafEnv &)
IMPORT_C voidHandleResourceChange(RMessageWindow &, const MLafEnv &)
IMPORT_C voidSetUpBlankWindow(RBlankWindow &)

Member Functions Documentation

CompleteMessageWinConstructionL(RMessageWindow &, const MLafEnv &)

IMPORT_C voidCompleteMessageWinConstructionL(RMessageWindow &aMessageWin,
const MLafEnv &aEnv
)[static]

Completes the intitialisation of the message window.

This function should select a font and call RMessageWindow::ConstructL() for aMessageWin.

This method completes the intitialisation of the LafMsgWin. This method should set a font and call constructL on aMessageWin.

Parameters

RMessageWindow & aMessageWinMessage window
const MLafEnv & aEnvLAF environment functions

ConfigureText(TDisplayParameters &, const MLafEnv &)

IMPORT_C voidConfigureText(TDisplayParameters &aParams,
const MLafEnv &aEnv
)[static]

Formats message text display.

The function should truncate the text in aParams.iTextToDisplay to fit the device display, and set aParms.iMsgWinSize and aParams.iMsgWinPosition appropriately, depending on the corner aParams.iDisplayCorner, and the font for the device.

aParams.iClientRect is provided for devices that wish to set the position relative to the client rect of the application rather than the screen rect.

This method should truncate the text in aParams.iTextToDisplay if this is needed on the device. It should also set aParms.iMsgWinSize and aParams.iMsgWinPosition of the message, depending on the corner aParams.iDisplayCorner, and the font for the device. aParams.iClientRect is provided for devices that wish to set the position relative to the client rect of the application rather than the screen rect.

Parameters

TDisplayParameters & aParamsDisplay parameters
const MLafEnv & aEnvLAF environment functions

HandleResourceChange(RMessageWindow &, const MLafEnv &)

IMPORT_C voidHandleResourceChange(RMessageWindow &aMessageWin,
const MLafEnv &aEnv
)[static]

Handles a change to the system resources that may affect how the window is displayed.

The function should update aMessageWin appropriately.

Parameters

RMessageWindow & aMessageWinMessage window
const MLafEnv & aEnvLAF environment functions

SetUpBlankWindow(RBlankWindow &)

IMPORT_C voidSetUpBlankWindow(RBlankWindow &aBlankWindow)[static]

Sets the shadow on the blank window which the message is contained in.

This method sets the shadow on the blank window which the Info Message or Busy message is contained in.

Parameters

RBlankWindow & aBlankWindowMessage window