#2
rjsp2023-04-20 14:36
|
只有本站会员才能查看附件,请 登录
程序代码:
#include<windows.h>
#include<stdio.h>
#include"resource.h"
HINSTANCE hInstance;
BOOL CALLBACK DlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
switch (msg)
{
case WM_INITDIALOG:
printf("1111111");
return TRUE;
}
return FALSE;
}
int main()
{
hInstance=GetModuleHandleA(NULL);
DialogBoxA(hInstance, (char*)IDD_DIALOG1, NULL, DlgProc);
return 0;
}
#include<stdio.h>
#include"resource.h"
HINSTANCE hInstance;
BOOL CALLBACK DlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
switch (msg)
{
case WM_INITDIALOG:
printf("1111111");
return TRUE;
}
return FALSE;
}
int main()
{
hInstance=GetModuleHandleA(NULL);
DialogBoxA(hInstance, (char*)IDD_DIALOG1, NULL, DlgProc);
return 0;
}