int MessageBox( HWND hWnd,
LPCTSTR lpText,
LPCTSTR lpCaption,
UINT uType
);
是winapi函数在user。dll中,你不需要mfc就可以调用
如果自己建立对话框,则需要
INT_PTR DialogBox( HINSTANCE hInstance,
LPCTSTR lpTemplate,
HWND hWndParent,
DLGPROC lpDialogFunc
);
函数
LPCTSTR lpText,
LPCTSTR lpCaption,
UINT uType
);
是winapi函数在user。dll中,你不需要mfc就可以调用
如果自己建立对话框,则需要
INT_PTR DialogBox( HINSTANCE hInstance,
LPCTSTR lpTemplate,
HWND hWndParent,
DLGPROC lpDialogFunc
);
函数
搞个对话框截面...出力不掏好的事..!
不过那完全是找麻烦..
MessageBox(NULL,"hello",NULL,MB_OK);
首先填充WNDCLASSEX之后注册RegisterClassEx还需要自己实现一个消息泵。
如果你打算再win32环境下使用MFC的东西首先需要静态或动态包含其MFC库之后调用其.h