블로그방명록갤러리
Blog | Tag | Local | Media | Guest | Login  RSS

BOOL C다이얼로그클래스::PreTranslateMessage(MSG* pMsg)
{
 if (pMsg->message==WM_MOUSEMOVE)
    {
        if (GetDlgItem(IDC_SEND)->GetSafeHwnd()==pMsg->hwnd)
        {

        }
        else if (GetDlgItem(IDC_SELSEND)->GetSafeHwnd()==pMsg->hwnd)
        {
   
        }
        else if (GetDlgItem(IDC_START)->GetSafeHwnd()==pMsg->hwnd)
        {
   
        }
        else if (GetDlgItem(IDOK)->GetSafeHwnd()==pMsg->hwnd)
        {
   
         }
      }
   return CDialog::PreTranslateMessage(pMsg);
}

....

사실 버튼같은 경우엔 CButtonST를, 스태틱컨트롤은 CColorStaticST를 쓰는 편이 낫긴 하다.

Creative Commons License
Creative Commons License

 태그 : 
이 글의 관련글(Trackback) 주소 :: http://blog.naru4u.net/trackback/2304185 관련글 쓰기
Name
Password
Homepage
비밀글 (Secret)