/****************************************************************************************/
/*  PROPPAGE.CPP																		*/
/*                                                                                      */
/*  Author: Jim Mischel		                                                            */
/*  Description: Actor Studio property page parent class.								*/
/*                                                                                      */
/*  The contents of this file are subject to the Jet3D Public License                   */
/*  Version 1.02 (the "License"); you may not use this file except in                   */
/*  compliance with the License. You may obtain a copy of the License at                */
/*  http://www.jet3d.com                                                                */
/*                                                                                      */
/*  Software distributed under the License is distributed on an "AS IS"                 */
/*  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See                */
/*  the License for the specific language governing rights and limitations              */
/*  under the License.                                                                  */
/*                                                                                      */
/*  The Original Code is Jet3D, released December 12, 1999.                             */
/*  Copyright (C) 1996-1999 Eclipse Entertainment, L.L.C. All Rights Reserved           */
/*                                                                                      */
/****************************************************************************************/
#include "stdafx.h"
#include "PropPage.h"
#include <assert.h>
#include "resource.h"

/////////////////////////////////////////////////////////////////////////////
// CAStudioPropPage property page

IMPLEMENT_DYNCREATE(CAStudioPropPage, CPropertyPage)

BEGIN_MESSAGE_MAP(CAStudioPropPage, CPropertyPage)
	//{{AFX_MSG_MAP(CAStudioPropPage)
//	ON_BN_CLICKED(IDC_MESSAGES, OnMessages)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

// Common initialization called by the 2 different constructors because MFC
// won't let me use a common constructor.  Grrrrr.....
void CAStudioPropPage::CommonInit (void)
{
	m_Modified = false;
	m_Compiling = false;
	m_Project = NULL;
}

CAStudioPropPage::CAStudioPropPage (LPCSTR lpszTemplateName, UINT nIDCaption) :
	CPropertyPage (lpszTemplateName, nIDCaption)
{
	CommonInit ();
}

CAStudioPropPage::CAStudioPropPage (UINT nIDTemplate, UINT nIDCaption) :
	CPropertyPage (nIDTemplate, nIDCaption)
{
	CommonInit ();
}

CAStudioPropPage::CAStudioPropPage ()
{
	assert (0);	// Default constructor not allowed
}

CAStudioPropPage::~CAStudioPropPage()
{
}

/////////////////////////////////////////////////////////////////////////////
// CAStudioPropPage message handlers


void CAStudioPropPage::SetModifiedFlag (bool Flag)
{
	m_Modified = Flag;
}

void CAStudioPropPage::OnMessages ()
{
//	::SendMessage (GetParent ()->m_hWnd, WM_COMMAND, IDC_MESSAGES, 0);
}
