15,979
社区成员
发帖
与我相关
我的任务
分享
PAINTSTRUCT ps;
HWND hwnd;
GetDlgItem(hwnd, IDC_View);//
HDC hdc = BeginPaint(hwnd,&ps);//
DrawIcon(hdc,5,5,g_icon);
EndPaint(hwnd,&ps);//
HWND GetDlgItem(
HWND hDlg,
int nIDDlgItem
);
Parameters
hDlg
[in] Handle to the dialog box that contains the control.
nIDDlgItem
[in] Specifies the identifier of the control to be retrieved.