LRESULT CALLBACK MyButton(HWND hDlg,UINT msg,
WPARAM wParam,LPARAM lParam);
hWndButton =CreateWindowEx(0L,"button",NULL,
(long)0|WS_CHILD|WS_VISIBLE,100,0,30,20,
hWnd,NULL,cs->hInstance,NULL);
我用SetWindwoLong,
SetWindowLong(hWndButtonDWL_DLGPROC,(long)MyButton);
但不行,不知为什么?
WPARAM wParam,LPARAM lParam);
hWndButton =CreateWindowEx(0L,"button",NULL,
(long)0|WS_CHILD|WS_VISIBLE,100,0,30,20,
hWnd,NULL,cs->hInstance,NULL);
我用SetWindwoLong,
SetWindowLong(hWndButtonDWL_DLGPROC,(long)MyButton);
但不行,不知为什么?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货