Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

自定义窗口的消色参数无法正确工作的问题

From Wiki
Jump to: navigation, search
Article Metadata

文章
huwell 在 01 Sep 2007 创建
最后由 hamishwillee 在 15 Dec 2011 编辑
  • 设备, 软件 版本:

S60 3rd Edition

S60 3rd Edition, FP1


  • 详细描述

当使用下列方法时:

void RWsSession::SetDefaultFadingParameters( TUInt8 aBlackMap, TUint8 aWhiteMap );  
 
void RWindowTreeNode::SetFaded( TBool aFaded,
 
TFadeControl aIncludeChildren,
 
TUInt8 aBlackMap,
 
TUint8 aWhiteMap );

可以为窗口设置出消色(fading)效果,但其使用结果取决于手机设备和当前屏幕状态。

有一些设备中,该消色参数会被忽略,而在另一些设备中(如N95),则在竖屏下才能生效,在横屏下是无法工作的(在横屏下将使用系统缺省的消色遮罩)无论程序开始于竖屏,而后来切换到横屏或者直接开始于横屏都会出现这样的状况。


此外,如果UI控件在竖屏模式下被消色处理(使用自定义的参数)时又被重绘了,那将使用系统缺省的消色遮罩替代先前自定义的消色遮罩了。

This page was last modified on 15 December 2011, at 10:06.
29 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×