|
-
April 12th, 1999, 12:51 PM
#1
CTabCtrl Icons
Hi! I've started working with the CTabCtrl and have gotten the functionality going alright, but I can't get any icons to appear. I create my CImageList from a resource bitmap, and I do the set properly on the tab control. When I run the program, then tabs are shaped the correct size from the bitmaps, but nothing appears. I only want to show an icon so I have the correct ITCIF_IMAGE mask set when I add the tabs. If I do the text, I can see the text, but still no icons. I've also tried setting Owner Draw Fixed, but that causes an exception in the MFC42 debug DLL.
I found some example code on here that's almost the same, but I'm doing the same thing and it's not working. The thing I'm doing differently is using the resource editor to insert the tab control and I think the sample is creating it from a class.
Anyone have any ideas?
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|