Click here to Skip to main content
15,897,891 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
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!
Posted

Resize image in Gimp and then load it on tab control ;)
 
Share this answer
 
dmageiras , could you give me an simple code or could you tell me specificly? how to resize and how should be the image ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900