winId()函数

SendMessage((HWND)(this->dlg->winId()),WM_SEND_MY_MESSAGE,0,0);
04-27 21:13