if(wm_mousemove == pmsg->message)
if(pmsg->hwnd == getdlgitem(idc_button1)->getsafehwnd())
{
uint nflag = pmsg->wparam; // 状态,如ctrl是不按下
int xpos = loword(pmsg->lparam); // horizontal position of cursor
int ypos = hiword(pmsg->lparam); // vertical position of cursor
}
return cdialog::pretranslatemessage(pmsg);
}