home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1998 November
/
VPR9811A.BIN
/
VPR_DATA
/
Program
/
Ce
/
About.c
next >
Wrap
C/C++ Source or Header
|
1998-09-04
|
556b
|
34 lines
//
// About.c
//
#include <windows.h>
#include "resource.h"
//----------------------------------------------------------------------------
// the About Proc
LRESULT CALLBACK AboutProc(
HWND hDlg,
UINT uMessage,
WPARAM wParam,
LPARAM lParam)
//----------------------------------------------------------------------------
{
switch (uMessage)
{
case WM_INITDIALOG:
return TRUE;
case WM_COMMAND:
switch(wParam)
{
case IDOK: // OK
EndDialog(hDlg, TRUE);
return TRUE;
}
break;
}
return FALSE;
}