LafMsgWin Class Reference

class LafMsgWin

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

Nested Classes and Structures

Member Functions Documentation

CompleteMessageWinConstructionL(RMessageWindow &, const MLafEnv &)

IMPORT_C void CompleteMessageWinConstructionL ( 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 & aMessageWin Message window
const MLafEnv & aEnv LAF environment functions

ConfigureText(TDisplayParameters &, const MLafEnv &)

IMPORT_C void ConfigureText ( 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 & aParams Display parameters
const MLafEnv & aEnv LAF environment functions

HandleResourceChange(RMessageWindow &, const MLafEnv &)

IMPORT_C void HandleResourceChange ( 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 & aMessageWin Message window
const MLafEnv & aEnv LAF environment functions

SetUpBlankWindow(RBlankWindow &)

IMPORT_C void SetUpBlankWindow ( 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 & aBlankWindow Message window