//下面是处理点击文本框全选中修改框架
void CXTPControlEditCtrl::OnSetFocus(CWnd* pOldWnd)
{
if (!m_pControl->IsCustomizeMode())
{
m_pControl->OnSetFocus(pOldWnd);
CEdit::OnSetFocus(pOldWnd);
//SetSel(0, 0);//以前的
//::PostMessage(m_hWnd, EM_SETSEL, 0, -1);//以前的
//::PostMessage(m_hWnd, EM_SETSEL, -1, 0);
/*int n=0,m=0;
m_pControl->GetEditCtrl()->GetSel(n,m);
if (n!=m)
{
SetSel(n, m);
::PostMess
void CXTPControlEditCtrl::OnSetFocus(CWnd* pOldWnd)
{
if (!m_pControl->IsCustomizeMode())
{
m_pControl->OnSetFocus(pOldWnd);
CEdit::OnSetFocus(pOldWnd);
//SetSel(0, 0);//以前的
//::PostMessage(m_hWnd, EM_SETSEL, 0, -1);//以前的
//::PostMessage(m_hWnd, EM_SETSEL, -1, 0);
/*int n=0,m=0;
m_pControl->GetEditCtrl()->GetSel(n,m);
if (n!=m)
{
SetSel(n, m);
::PostMess