1个回答
推荐于2016-04-24
展开全部
用MFC省事,当然,不用也行。
HWND Button=CreateWindow(TEXT("BUTTON"), TEXT("OK"), WS_VISIBLE|WS_CHILD|BS_DEFPUSHBUTTON,
10, 10,100, 30,
hWnd, NULL,(HINSTANCE)GetWindowLong(hWnd,GWL_HINSTANCE), NULL);
HWND Button=CreateWindow(TEXT("BUTTON"), TEXT("OK"), WS_VISIBLE|WS_CHILD|BS_DEFPUSHBUTTON,
10, 10,100, 30,
hWnd, NULL,(HINSTANCE)GetWindowLong(hWnd,GWL_HINSTANCE), NULL);
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询