动态创建 Static 显示边框有关问题
动态创建 Static 显示边框问题
static.Create(_T(""), WS_CHILD | WS_VISIBLE | WS_BORDER|WS_EX_CLIENTEDGE, rt, this, IDC_STATIC_O);这句代码创建的static控件不显示 边框? 有知道怎么做的吗?
------解决方案--------------------
你是要显示边框还是不显示边框
------解决方案--------------------
WS_EX_CLIENTEDGE Specifies that a window has a 3D look — that is, a border with a sunken edge.
你把WS_EX_CLIENTEDGE 属性去掉,再看看效果
static.Create(_T(""), WS_CHILD | WS_VISIBLE | WS_BORDER|WS_EX_CLIENTEDGE, rt, this, IDC_STATIC_O);这句代码创建的static控件不显示 边框? 有知道怎么做的吗?
------解决方案--------------------
你是要显示边框还是不显示边框
------解决方案--------------------
WS_EX_CLIENTEDGE Specifies that a window has a 3D look — that is, a border with a sunken edge.
你把WS_EX_CLIENTEDGE 属性去掉,再看看效果