MDisplayControl Class Reference

class MDisplayControl : public MDisplayControlBase

Window Server client interface for display control.

All functions in MDisplayControlBase will automatically flush the client-server session buffer as part of their behavior.

Setting the display configuration successfully shall cause the screen mode index to change to one of the last two entries (dependent on rotation) and that mode's size information shall be updated as necessary.

Inherits from

Public Member Functions
TBool DisplayChangeEventsEnabled ()
void EnableDisplayChangeEvents ( TBool )
Public Member Enumerations
enum anonymous { KUidDisplayControl  = 0x10286499, ETypeId  = KUidDisplayControl }

Member Functions Documentation

DisplayChangeEventsEnabled()

TBool DisplayChangeEventsEnabled ( ) const [pure virtual]

Returns whether changes in the display will trigger an EEventDisplayChanged event to be issued.

Events will be triggered configuration changes that have taken place on the display, when a display has been connected / disconnected (if it can be detected), and when the available resolutions change.

This function always causes a flush of the window server buffer.

EnableDisplayChangeEvents(TBool)

void EnableDisplayChangeEvents ( TBool aEnable ) [pure virtual]

Determines whether changes in the display will trigger an EEventDisplayChanged event to be issued.

DisplayChangeEventsEnabled

Parameters

TBool aEnable ETrue to enable display change events, EFalse to disable them

Member Enumerations Documentation

Enum anonymous

Enumerators

KUidDisplayControl = 0x10286499
ETypeId = KUidDisplayControl