选项卡(不是选项下的内容 大小)的长度,宽度 如何设置选项卡都是矩形的,如何变成 带有圆角的 矩形啊。。
解决方案 »
- 在InitInstance() 函数里面找到了ShowWindow(SW_SHOW)和UpdateWindow()函数 却没看到 注册和创建窗口的函数
- dlg添加了CMyButton类
- 程序跳过,不执行下面的代码。但是代码里面没有continue,break语句
- 求航拍视频!!
- evc中怎样在对话框中插入菜单
- 请教一个控件通知的问题
- ★请问CCmdTarget的OnCmdMsg函数是怎么被触发的~~~~~大虾帮忙,谢谢~
- ===有几个问题====
- 急用,我想直接操纵CBitmap对应的内存,但是当我用GetBitmap返回BITMAP结构时,bmBits总是NULL,请大家指教
- 小弟初学TAPI,只是定义了一个新类,把TAPI封装一下,结果......请问为什么?
- 时间控件问题
- DDV_MinMaxUInt()可否修改超出范围后的提示信息?
你看看这个行不行,注意下面是圆角矩形
http://www.codeproject.com/KB/tabs/magictabcontrol.aspx
CSharp 版本的。
晕,那你看看这个VC版的:
http://hi.baidu.com/hnhkj/blog/item/c7b594185b5983b44aedbcb4.html
你自己也可以到codeproject上搜,有很多
size.cx = 40;
size.cy = 40;
m_tabCtrl.SetItemSize(size);
下面是它的style:Style
Description
STYLE_3D
Creates a tab control with a three-dimensional appearance.
STYLE_FLAT
Creates a tab control with flat tabs.
STYLE_FLAT_SHARED_HORZ_SCROLL
Creates a tab control with flat tabs and a scroll bar that can scroll the tabs if they are clipped by a parent window.
STYLE_3D_ONENOTE
Creates a tab control in the style of Microsoft OneNote.
STYLE_3D_VS2005
Creates a tab control in the style of Microsoft Visual Studio 2005.
STYLE_3D_ROUNDED
Creates a tab control with rounded tabs in the style of Microsoft Visual Studio 2005.
STYLE_3D_ROUNDED_SCROLL
Creates a tab control with rounded tabs and scroll buttons in the style of Microsoft Visual Studio 2005.