HINSTANCE hinst = GetModuleHandle(0);
HRSRC hr = ::FindResource(hinst, MAKEINTRESOURCE(IDD_MEMDIALOG), RT_DIALOG);
LoadResource(hinst, hr);
m_hWnd=CreateDialog(hinst, MAKEINTRESOURCE(IDD_MEMDIALOG), 0, DlgProc);
时间: 2024-10-08 16:57:02