Windows CE按钮绘图性能问题 [英] Windows CE button drawing performance problem

查看:98
本文介绍了Windows CE按钮绘图性能问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.
我想在Windows CE上创建虚拟键盘.所以我要在一个窗口上动态创建大约40个按钮.一切都还好,但是当我想显示窗口时,我可以看着每个按钮在画一个.我想同时显示所有页面和所有按钮.我该怎么做?谢谢.

Hi.
I want to make a virtual keyboard on windows ce. So i''m creating about 40 buttons on a window dynamically. Everything is ok but when i want to show the window i can watch every button drawing by one by. I want to show all page at once and all buttons at the same time. How can i do it? Thanks.

推荐答案

可能是其他
当您通过内存DC自己绘制按钮时,
通过按钮矩形分析鼠标的下移,上移和上移事件的点,
并仅动态更改按下按钮的阴影框...:)
It could be else,
when you would draw your buttons yourself via memory DC,
analyse the points of the mouse down, move and up events through the buttons rectangles,
and change dynamically only the shadow frame of a pressed button... :)


这篇关于Windows CE按钮绘图性能问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆