#include "stdafx.h"
#include "analyze3.h"
#include "PlayVideoDlg.h"
#include "CustomPP.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////

CCustomPP::CCustomPP(UINT id) : CPropertyPage(id)
{
}

void CCustomPP::PleaseUpdateData(int v)
{   
   SendMessage(WM_UPDATEDATA, (WPARAM)v);
}

BEGIN_MESSAGE_MAP(CCustomPP, CPropertyPage)
	//{{AFX_MSG_MAP(CCustomPP)
   ON_MESSAGE(WM_UPDATEDATA, OnUpdateData)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

LRESULT CCustomPP::OnUpdateData(WPARAM v, LPARAM q)
{   
   UpdateData(v);
   return 0;
}

void CCustomPP::SetPlaybackDlg(CPlayVideoDlg *dlg)
{
   CCustomPP::dlg = dlg;
}
