46 lines
1.4 KiB
C
46 lines
1.4 KiB
C
/**********************************************************************/
|
|
/* */
|
|
/* DLGS.C */
|
|
/* */
|
|
/* Copyright (c) 1995 - 2000 Microsoft Corporation */
|
|
/* */
|
|
/**********************************************************************/
|
|
|
|
#include <windows.h>
|
|
#include <imm.h>
|
|
#include "resource.h"
|
|
#include "multiui.h"
|
|
|
|
/**********************************************************************/
|
|
/* */
|
|
/* About (HWND, UINT, WPARAM, LPARAM) */
|
|
/* */
|
|
/**********************************************************************/
|
|
BOOL AboutDlg (
|
|
HWND hDlg,
|
|
UINT message,
|
|
WPARAM wParam,
|
|
LPARAM lParam)
|
|
{
|
|
BOOL bRet = FALSE;
|
|
|
|
switch (message)
|
|
{
|
|
case WM_INITDIALOG:
|
|
bRet = TRUE;
|
|
break;
|
|
|
|
case WM_COMMAND:
|
|
if (wParam == IDOK ||
|
|
wParam == IDCANCEL)
|
|
{
|
|
EndDialog(hDlg, TRUE);
|
|
bRet = TRUE;
|
|
}
|
|
break;
|
|
}
|
|
|
|
return bRet;
|
|
}
|
|
|