CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    May 2007
    Posts
    25

    Question Images are not visible on tab control

    I have written following code,I am able to see tabs but with only text not images
    IDB_BITMAP is image of size 96*32;

    CImageList ci;
    ci.Create(IDB_BITMAP1,32,1,RGB(255,0,0));
    m_tab.SetImageList(&ci);
    m_tab.InsertItem(1,_T("one"),0);
    m_tab.InsertItem(2,_T("two"),1);
    m_tab.InsertItem(3,_T("three"),2);

    Please help on this issue.
    One More Question ,how I can use this tabbed pages,Can I place other controls like button listbox etc on tab,if yes how ?
    Last edited by shivditya; March 18th, 2012 at 01:54 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured