I recently learned about the UI Technology on Windows Mobile and saw a good entry-level article on MSDN. This article introduces typical cases of Windows Mobile UI development based on the hosting layer. The author is Alex Yakhnin, and the article address is http://msdn.microsoft.com/en-us/library/dd630622.aspx
According to my habits, I learned the code as a whole and summarized the MSDN. UIFramwork library as follows.
Module description:
PlatformAPI IImageFactory Win32Helper:
These three classes are responsible for calling Native methods and COM interfaces from the hosting layer. It covers most of the methods and techniques for type conversion, method calling, and interface calling in P/Invoke calls. It is worth further study.
Really Drawing Class:
Including GradientFill class and GraphicExtension class for specific graphic processing implementation.
Image Elements:
Parses each element of the UI Layer into a unit. Define the base class UIElements. The others are specific implementation classes.
Manager Class for Render the Elments:
This module manages the presentation of each element on each UI in a set of processing methods (I personally think there is a concept of factory mode included.
UIForm:
Displays the elements to be painted.
MSDN. UIFramwork has many things worth learning and researching. This chapter first summarizes my learning experience. More details will be introduced in subsequent articles. You are very grateful for your comments and suggestions on the content of this article!
PS: Thanks to Alex Yakhnin for his contribution to Windows Mobile! Salute!