diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-D7600D93-CFB8-565D-8200-7082B2CF1791.dita --- a/Symbian3/PDK/Source/GUID-D7600D93-CFB8-565D-8200-7082B2CF1791.dita Tue Mar 30 11:42:04 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-D7600D93-CFB8-565D-8200-7082B2CF1791.dita Tue Mar 30 11:56:28 2010 +0100 @@ -1,50 +1,50 @@ - - - - - -User -Interface Data MTM -

UI MTM libraries can be quite large, and often there are functions that -Messaging applications need to access often and rapidly. To improve memory -efficiency, these functions are split off into another DLL, called the UI -Data MTM that can be easily kept in memory without the extra overhead of the -UI MTM.

-
UI Data MTM base class

The base class for a UI -Data MTM is CBaseMtmUiData. The implementation of UI Data -MTMs is relatively simple, as they contain little more than functions to return -the required icons and extra menu items.

UI Data MTMs offer the following -capabilities:

    -
  • Provide MTM-specific -icons for Message Server entries

    Provide bitmap icons for messages, -folders, and services for display in the various folder views. For each icon, -an array of bitmaps should be available, giving the icon in a number of sizes.

  • -
  • Provide user interface -text

    Provide command captions for MTM-specific functions that -the Messaging client application can dynamically add to menus and dialog controls. -A function ID is associated with each caption to identify the MTM-specific -function that should be invoked when the command is chosen. This data is encapsulated -in a resource of the MTUD_FUNCTION type.

  • -
  • Verification of -MTM functions

    Validate the specified functions that are available -on a particular entry, so that a Messaging client application can process.

    It -is intended that client applications use the OperationSupportedL() function -to dynamically set the user interface features that are available depending -on the entry currently selected within the application. For example, menu -items that do not apply to particular entries could be greyed out.

  • -

The CBaseMtmUiData class provides the virtual -functions for overriding in derived classes.

-
-MTM - overview -MTM - Capabilities -Writing a -UI Data MTM + + + + + +User +Interface Data MTM +

UI MTM libraries can be quite large, and often there are functions that +Messaging applications need to access often and rapidly. To improve memory +efficiency, these functions are split off into another DLL, called the UI +Data MTM that can be easily kept in memory without the extra overhead of the +UI MTM.

+
UI Data MTM base class

The base class for a UI +Data MTM is CBaseMtmUiData. The implementation of UI Data +MTMs is relatively simple, as they contain little more than functions to return +the required icons and extra menu items.

UI Data MTMs offer the following +capabilities:

    +
  • Provide MTM-specific +icons for Message Server entries

    Provide bitmap icons for messages, +folders, and services for display in the various folder views. For each icon, +an array of bitmaps should be available, giving the icon in a number of sizes.

  • +
  • Provide user interface +text

    Provide command captions for MTM-specific functions that +the Messaging client application can dynamically add to menus and dialog controls. +A function ID is associated with each caption to identify the MTM-specific +function that should be invoked when the command is chosen. This data is encapsulated +in a resource of the MTUD_FUNCTION type.

  • +
  • Verification of +MTM functions

    Validate the specified functions that are available +on a particular entry, so that a Messaging client application can process.

    It +is intended that client applications use the OperationSupportedL() function +to dynamically set the user interface features that are available depending +on the entry currently selected within the application. For example, menu +items that do not apply to particular entries could be greyed out.

  • +

The CBaseMtmUiData class provides the virtual +functions for overriding in derived classes.

+
+MTM + overview +MTM + Capabilities +Writing a +UI Data MTM
\ No newline at end of file