Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: w32std.h

Enum TScreenModeEnforcement

TScreenModeEnforcement

Support

Supported from 5.0

Description

Screen mode enforcement flags.

Screen mode enforcement ensures that windows must meet certain requirements if they are to be displayed. When the screen mode changes, window groups that are incorrectly set up, according to these requirements, are locked out. The windows are notified of the change, and will be displayed if they are updated (according to the current enforcement requirement) to match the new screen mode.

See also:

ESizeEnforcementNone

No enforcement. All windows that are the children of window groups will be displayed — irrespective of the screen mode. This is not properly supported and is provided for testing purposes.

ESizeEnforcementPixelsAndRotation

Pixels and rotation enforcement. Group windows must be set up for the correct rotation and be working in the correct size in pixels to be displayed.

ESizeEnforcementPixelsTwipsAndRotation

Pixels and Twips enforcement. Group windows must have the correct rotation and be working in the correct size in pixels and twips to be displayed. This setting might be used if the display pixels are not square, and would distort fonts when rotated.