我已经弄好了一个Tab 里面包含三个Tab页(分别为Tab1,Tab2,Tab3)(垂直方向显示的) 分别显示三个对话框:
我现在想在刚创建好的Tab的Tab1里面在在创建一个Tab(水平显示)、(界面和 阿里旺旺的那种tab 表差不多),但是我按照那种方法创建好之后界面非常丑我想请问大家有没有人知道有没有已经写好的扩展Tab可以直接 同时能创建垂直方向的Tab 和水平方向的Tab  或者能帮我提供一个按照我说的那种方法创建起来不丑的界面 谢谢大家!  
CodeProject上面的代码和Demo我基本都看了,没有符合我要求的
 如果界面十分漂亮的 我可以追加分

解决方案 »

  1.   

    可以上传到CSDN的个人空间里面,然后把链接贴在帖子里,这样大家都可以看。
      

  2.   

    我想实现的效果图   
    http://p.blog.csdn.net/images/p_blog_csdn_net/tanker1024/EntryImages/20081119/QQ截图未命名.jpg目前状况图:
    http://p.blog.csdn.net/images/p_blog_csdn_net/tanker1024/EntryImages/20081119/QQ截图未命名1.jpg谢谢大家
      

  3.   

    这种效果需要自绘来实现。以下是MSDN中有关TabCtrl自绘的说明:
    Owner-Drawn Tabs
    If a tab control has the TCS_OWNERDRAWFIXED style, the parent window must paint tabs by processing the WM_DRAWITEM message. The tab control sends this message whenever a tab needs to be painted. The lParam parameter specifies the address of a DRAWITEMSTRUCT structure, which contains the index of the tab, its bounding rectangle, and the device context (DC) in which to draw. By default, the itemData member of DRAWITEMSTRUCT contains the value of the lParam member of the TCITEM structure. However, if you change the amount of application-defined data per tab, itemData contains the address of the data instead. You can change the amount of application-defined data per tab by using the TCM_SETITEMEXTRA message. To specify the size of items in a tab control, the parent window must process the WM_MEASUREITEM message. Because all tabs in an owner-drawn tab control are the same size, this message is sent only once. There is no tab control style for owner-drawn tabs of varying size. You can also set the width and height of tabs by using the TCM_SETITEMSIZE message. 另外你可以到www.codeproject.com上搜索一下,应该可以找到类似的例子。
      

  4.   

    没有自绘好的么?我就是不怎么会自绘的  CodeProject 上的我基本都下了看了   没有符合要求的.
      

  5.   

    这个东西不知对你是否有用http://blog.csdn.net/gnuljf/archive/2008/10/09/3041358.aspx
      

  6.   

    VC模仿超炫QQ界面的实现下面是连接地址,附带源代码可下载
    http://www.vckbase.com/document/viewdoc/?id=1841