home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2001 April
/
PCWorld_2001-04_cd.bin
/
Software
/
Topware
/
fprint
/
fpdk400.exe
/
samples
/
msvc
/
callback.mfc
/
CALLDLG.CPP
next >
Wrap
C/C++ Source or Header
|
1999-09-21
|
1KB
|
55 lines
// calldlg.cpp : implementation file
//
#include "stdafx.h"
#include "fpcallm.h"
#include "calldlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCallbackDialog dialog
CCallbackDialog::CCallbackDialog(CWnd* pParent /*=NULL*/)
: CDialog(CCallbackDialog::IDD, pParent)
{
//{{AFX_DATA_INIT(CCallbackDialog)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CCallbackDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CCallbackDialog)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CCallbackDialog, CDialog)
//{{AFX_MSG_MAP(CCallbackDialog)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CCallbackDialog message handlers
BOOL CCallbackDialog::OnCommand(WPARAM wParam, LPARAM lParam)
{
switch (LOWORD (wParam)) {
case PB_Early:
case PB_Late:
case IDCANCEL:
EndDialog (LOWORD (wParam));
return (TRUE);
}
return CDialog::OnCommand(wParam, lParam);
}