DLGS.C
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- /**********************************************************************/
- /* */
- /* DLGS.C */
- /* */
- /* Copyright (c) 1995-1996 Microsoft Corporation */
- /* */
- /**********************************************************************/
- #include "windows.h"
- #include "imm.h"
- #include "resource.h"
- #include "multiui.h"
- /**********************************************************************/
- /* */
- /* About(HWND, UINT, WPARAM, LPARAM) */
- /* */
- /**********************************************************************/
- BOOL FAR PASCAL AboutDlg(hDlg, message, wParam, lParam)
- HWND hDlg;
- unsigned message;
- WPARAM wParam;
- LPARAM lParam;
- {
- switch (message) {
- case WM_INITDIALOG:
- return (TRUE);
- case WM_COMMAND:
- if (wParam == IDOK
- || wParam == IDCANCEL) {
- EndDialog(hDlg, TRUE);
- return (TRUE);
- }
- break;
- }
- return (FALSE);
- }