void CplayerTestDlg::OnStnClickedIcon1()
{
// TODO: Add your control notification handler code here
bCanDrawRegion = true;
drawType = LINE;
CStatic* h_sta1 =(CStatic*) GetDlgItem(IDI_ICON1);
h_sta1->ModifyStyleEx(NULL,SS_SUNKEN|WS_EX_STATICEDGE,0);
CStatic* h_sta2 =(CStatic*) GetDlgItem(IDI_ICON2);
h_sta2->ModifyStyleEx(SS_SUNKEN|WS_EX_STATICEDGE,NULL,0);
}
void CplayerTestDlg::OnStnClickedIcon2()
{
// TODO: Add your control notification handler code here
bCanDrawRegion = true;
drawType = RECTANGLE;
CStatic* h_sta2 =(CStatic*) GetDlgItem(IDI_ICON2);
h_sta2->ModifyStyleEx(NULL,SS_SUNKEN|WS_EX_STATICEDGE,0);
CStatic* h_sta1 =(CStatic*) GetDlgItem(IDI_ICON1);
h_sta1->ModifyStyleEx(SS_SUNKEN|WS_EX_STATICEDGE,NULL,0);
}