Windows Mobile,C ++,MFC,CTabCtrl [英] windows mobile , C++ ,MFC, CTabCtrl

查看:147
本文介绍了Windows Mobile,C ++,MFC,CTabCtrl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用C ++和MFC编写的Windows Mobile应用程序上工作.我使用CTabCtrl在其中显示对话框.我想让它看起来不错,决定在tab上显示图像.但是它显示不佳,仅显示的图像部分以及选项卡项目的左右部分为白色,看起来非常糟糕.

我需要信息,但是不幸的是,Windows mobile上没有很多CTabCtrl的示例.

我在Windows Mobile上没有太多经验,这是我第一次进行此工作.
有没有人告诉我该怎么做或向我介绍有关此问题的相关文章.

主要问题是:

1.如何选择要显示的图标?大小,格式和哪个文件更好?
2.在选项卡中显示图像的方法?如何相互调整图像和选项卡项目的大小?我的意思是如何使它看起来不错,并且当我在其上显示图像时不要在选项卡项上留下任何其他白色或黑色区域?

I am working on a windows mobile application written with C++ and MFC . I used CTabCtrl to display for dialog within it. and I want to make it looks good decided to display image on tab . but it display not good ,only a parts of image displayed and left and right part of tab item is white , looks very bad.

I look for information, unfortunately there is not much example of CTabCtrl on Windows mobile.

I don''t have much experience with windows mobile and this is first time I am working on it.
is there any one tell me what to do in detail or introduce me relative articles about this problem.

main problem is :

1. how to select icon for display ? size , format and which file is better?
2. the method in display image in tab? how to adjust image and tab item size each other? I mean how to make it looks good and don''t let have any additional white or black region on tab item when I display image on it?

more in detail would be better!

推荐答案

在Gimp中调整图像大小,然后将其加载到选项卡控件上;)
Resize image in Gimp and then load it on tab control ;)


dmageiras,您能给我一个简单的代码还是可以具体告诉我?如何调整大小以及图像应该如何?
dmageiras , could you give me an simple code or could you tell me specificly? how to resize and how should be the image ?


这篇关于Windows Mobile,C ++,MFC,CTabCtrl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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