Hi,
感谢在MSDN论坛发帖。
>>我在CDockablePane里面嵌入了对话框或者ListCtrl,停靠在一起的时候发现有一个像素的边
如图所示,选中这个边还是可以拖拽使其浮动,我怀疑这个边是属于CTabbedPane的,有没有办法去掉这个边使其不能拖拽浮动?
这个问题听上去可能是框架的边框问题。建议你尝试创建一个新的CTabbedPane或者设置CTabbedPane的style,去除边框属性,查看是否可以解决。例如:
CTabbedPane* pTabbededBar = new CTabbedPane (TRUE);
if (!pTabbededBar->Create (_T(""),
this,
CRect (0,
0,
200,
200),
TRUE,
(UINT) -1,
~(WS_CAPTION | WS_THICKFRAME | WS_SYSMENU)
)
Best Regards,
Baron Bi
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.