16,472
社区成员
发帖
与我相关
我的任务
分享
void CDrawEditDlg::OnVscrollEdit2()
{
// TODO: Add your control notification handler code here
int l=m_Edit2.GetScrollPos(SB_VERT);
afxDump << l << "\n";
m_Edit4.SendMessage(WM_VSCROLL, MAKELONG(SB_THUMBPOSITION,l),0);
}
void CDrawEditDlg::OnVscrollEdit4()
{
// TODO: Add your control notification handler code here
int l=m_Edit4.GetScrollPos(SB_VERT);
afxDump << l << "\n";
m_Edit2.SendMessage(WM_VSCROLL, MAKELONG(SB_THUMBPOSITION,l),0);
}