symbian复合控件的重绘问题 (compound controls redraw)
来源:互联网 发布:js添加按钮点击事件 编辑:程序博客网 时间:2024/06/05 19:32
在一个container中有多个复合控件的情况下,实现切换横竖屏幕的时候,发现在SizeChanged()里定义的操作执行了,但是container里的控件却没有被重绘。
后发现,复合控件的container里必须要实现两个方法
TInt CmydlgAppView::CountComponentControls() const
{
return 1; // return nbr of controls inside this container
}
CCoeControl* CmydlgAppView::ComponentControl(TInt aIndex) const
{
switch ( aIndex )
{
case 0:
if ( iColListBox )
{
return iColListBox;
}
default:
return NULL;
}
}
有了这两个方法以后,重绘的时候container 才能找到里面复合控件,进行重绘。
- symbian复合控件的重绘问题 (compound controls redraw)
- Android 复合控件Compound Controls
- 复合语句(compound statement)
- 复合页( Compound Page )
- 第8天 Symbian学习之开发实践:简单控件和复合控件的使用
- 浏览器控件的重绘问题
- symbian 3rd/5th 复合控件的两种实现方式
- 复合赋值(compound assignment)
- 复合控件的开发
- 复合控件的开发
- 复合控件的开发
- ATL复合控件焦点问题
- 关于Controls属性的问题
- 谈谈C99的新特征:复合文字(compound literal)和伸缩型数组
- Dynamically Created Controls - Common Pitfalls (动态控件易出现的问题)
- Compound literal(复合文本值类型)
- 复合模式(Compound Pattern)之MVC模式
- Symbian 去掉自定义控件背景白色的问题
- memset函数
- 珍惜生命,战胜自己,活出精彩
- Ext json传递Date数据问题
- 也搞点艺术!
- Oracle 10g Release 2 RAC On RHEL4 Linux Using VMware ESX Server and NFS
- symbian复合控件的重绘问题 (compound controls redraw)
- [.NET] 在桌面画图的范例
- pv3d视频教程
- android timer与handler的用法体会
- C#中时间差的计算
- MySQL 5.1新特性之事件调度器(Event Scheduler)
- MFC中用户界面元素更新原理
- http://acm.pku.edu.cn/JudgeOnline/problem?id=2480 欧拉
- 创业者应警惕可疑的成功