怎么获得系统最下面“选项”和“退出”按钮的高度与长度?
怎么获得系统最下面“选项”和“退出”按钮的高度与长度?
[解决办法]
AknLayoutUtils::LayoutMetricsRect (TAknLayoutMetrics aParam, TRect &aRect);
AknLayoutUtils::LayoutMetricsSize (TAknLayoutMetrics aParam, TSize &aSize);
enum TAknLayoutMetrics
{
EScreen,
EApplicationWindow,
EStatusPane,
EStatusPaneSecondary, // Deprecated, do not use
EMainPane,
EControlPane,
EControlPaneSecondary, // Deprecated, do not use
ESignalPane,
EContextPane,
ETitlePane,
EBatteryPane,
EUniversalIndicatorPane,
ENaviPane,
EFindPane,
EWallpaperPane,
EIndicatorPane,
EAColunm,
EBColunm,
ECColunm,
EDColunm,
EStaconTop, // landscape
EStaconBottom, // landscape
EStatusPaneBottom = EStatusPaneSecondary, // landscape
EControlPaneBottom = EControlPaneSecondary, // landscape
EControlPaneTop = EControlPane, // landscape
EStatusPaneTop = EStatusPane // landscape
};