void CPictureExDemoDlg::OnLButtonDown(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
CRect rect;
m_Picture.GetWindowRect(&rect);
ScreenToClient(&rect);
if (rect.PtInRect(point))
ShellExecute(AfxGetMainWnd()->m_hWnd,_T("open"),
_T("http://www.rsdn.ru"),_T(""),NULL,0);
CDialog::OnLButtonDown(nFlags, point);
}
浙公网安备 33010602011771号