// TODO: 在此添加额外的初始化代码
// Set the icon for this dialog. The framework does this automatically
// when the application's main window is not a dialog
SetIcon(m_hIcon, TRUE);// Set big icon
SetIcon(m_hIcon, FALSE);// Set small icon
CRect rect;
GetDlgItem(IDC_PC1)->GetWindowRect(&rect); //IDC_WAVE_DRAW为Picture Control的ID
ScreenToClient(&rect);
GetDlgItem(IDC_PC1)->MoveWindow(rect.left, rect.top, 10, 10, true); //固定Picture Control控件的大小
// Set the icon for this dialog. The framework does this automatically
// when the application's main window is not a dialog
SetIcon(m_hIcon, TRUE);// Set big icon
SetIcon(m_hIcon, FALSE);// Set small icon
CRect rect;
GetDlgItem(IDC_PC1)->GetWindowRect(&rect); //IDC_WAVE_DRAW为Picture Control的ID
ScreenToClient(&rect);
GetDlgItem(IDC_PC1)->MoveWindow(rect.left, rect.top, 10, 10, true); //固定Picture Control控件的大小