Beispiel #1
0
BOOL CDlgCfgAutoMaintain::OnInitDialog() 
{
	CDialog::OnInitDialog();
	g_SetWndStaticText(this, DLG_AUTOMAINTAIN);
	// TODO: Add extra initialization here
	if (m_lLoginId == 0)
	{
		MessageBox("Please login first!", ConvertString("Prompt"));
		return FALSE;
	}
	int i = 0;
	for (i = 0; i < sizeof(stuAutoMianTainDay)/sizeof(stuAutoMianTainDay[0]); ++i)
	{
		m_cmbRebootDay.InsertString(-1, ConvertString(stuAutoMianTainDay[i].pszName, DLG_AUTOMAINTAIN));
		m_cmbStartUpDay.InsertString(-1, ConvertString(stuAutoMianTainDay[i].pszName, DLG_AUTOMAINTAIN));
		m_cmbShutDownDay.InsertString(-1, ConvertString(stuAutoMianTainDay[i].pszName, DLG_AUTOMAINTAIN));
	}
	m_cmbRebootDay.SetCurSel(0);
	m_cmbShutDownDay.SetCurSel(0);
	m_cmbStartUpDay.SetCurSel(0);
	m_ckRebootEnable.SetCheck(BST_UNCHECKED);
	m_timeRebootTime.SetTime(0, 0, 0);
	m_timeShutDownTime.SetTime(0, 0, 0);
	m_timeShutUpTime.SetTime(0, 0, 0);
	UpdateData(FALSE);
	OnAutomaintainBtnGet();

// 	// 设置回调接口
// 	CLIENT_SetDVRMessCallBack(AutoMainTainMessCallBack, (LDWORD)this);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #2
0
BOOL CConfigRecord::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	g_SetWndStaticText(this);
	if (!m_pDev)
	{
		return TRUE;
	}
	
	CString strChn;
	for (int i = 0; i < m_pDev->Info.byChanNum; i++)
	{
		strChn.Format(ConvertString("Channel_%d"), i+1);
		m_channelsel.InsertString(i, strChn);
	}
	
	m_weeksel.InsertString(0, ConvertString("Sunday"));
	m_weeksel.InsertString(1, ConvertString("Monday"));
	m_weeksel.InsertString(2, ConvertString("Tuesday"));
	m_weeksel.InsertString(3, ConvertString("Wedensday"));
	m_weeksel.InsertString(4, ConvertString("Thursday"));
	m_weeksel.InsertString(5, ConvertString("Friday"));
	m_weeksel.InsertString(6, ConvertString("Saturday"));
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #3
0
BOOL CDlgCfgAnalogAlarm::OnInitDialog() 
{
	CDialog::OnInitDialog();
	g_SetWndStaticText(this, DLG_CFG_ANALOGALARM);
	// TODO: Add extra initialization here
	if (!m_hLoginID)
	{
		MessageBox(ConvertString("We haven't login yet!", DLG_CFG_ANALOGALARM), ConvertString("Prompt"));
		return FALSE;
	}

	int nRetLen = 0;

	BOOL bRet = CLIENT_QueryDevState(m_hLoginID,DH_DEVSTATE_GET_SENSORLIST,(char*)&m_stuSensorList, sizeof(m_stuSensorList),&nRetLen,SDK_API_WAIT);
	if (bRet == FALSE)
	{
		CString csErr;
		csErr.Format("%s %08x...",ConvertString("Query state GetSensorList failed:", DLG_CFG_ANALOGALARM), CLIENT_GetLastError());
		MessageBox(csErr, ConvertString("Prompt"));
		//return FALSE;
	} 

	GetConfigFromDevice();
	InitDlg();
	StuToDlg();
		
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #4
0
BOOL CConfigNetwork::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	g_SetWndStaticText(this);

	//ethernet type
	m_interfacesel.InsertString(0, ConvertString(NAME_NETCFG_NET1));
	m_interfacesel.InsertString(1, ConvertString(NAME_NETCFG_NET2));
	m_interfacesel.InsertString(2, ConvertString(NAME_NETCFG_NET3));
	m_interfacesel.InsertString(3, ConvertString(NAME_NETCFG_NET4));
	m_interfacesel.InsertString(4, ConvertString(NAME_NETCFG_NET5));

	//remote host list
	m_remotehostsel.InsertString(0, ConvertString(NAME_NETCFG_REMOTE_ALARM));
	m_remotehostsel.InsertString(1, ConvertString(NAME_NETCFG_REMOTE_LOG));
	m_remotehostsel.InsertString(2, ConvertString(NAME_NETCFG_REMOTE_SMTP));
	m_remotehostsel.InsertString(3, ConvertString(NAME_NETCFG_REMOTE_MULTICAST));
	m_remotehostsel.InsertString(4, ConvertString(NAME_NETCFG_REMOTE_NFS));
	m_remotehostsel.InsertString(5, ConvertString(NAME_NETCFG_REMOTE_PPPOE));
	m_remotehostsel.InsertString(6, ConvertString(NAME_NETCFG_REMOTE_DDNS));
	m_remotehostsel.InsertString(7, ConvertString(NAME_NETCFG_REMOTE_DNS));
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
BOOL CDlgCfgAlarmPowerFault::OnInitDialog() 
{
	CDialog::OnInitDialog();
	g_SetWndStaticText(this, DLG_ALARM_POWERFAULT);
	// TODO: Add extra initialization here
	if (m_lLoginId == 0)
	{
		MessageBox(ConvertString(CString("We haven't login yet!"), DLG_ALARM_POWERFAULT), ConvertString("Prompt"));
	}

	m_pstuPowerFault= new CFG_POWERFAULT_INFO;
	if (m_pstuPowerFault == NULL)
	{
		return FALSE;
	}

	memset(m_pstuPowerFault, 0, sizeof(CFG_POWERFAULT_INFO));
	if (GetConfigFromDevice())
	{
		for (int i = 0; i < m_pstuPowerFault->nPowerCount; ++i)
		{
			CString csTemp;
			csTemp.Format("%s %d", ConvertString("Power", DLG_ALARM_POWERFAULT), i + 1);
			m_cmbPower.InsertString(-1, csTemp);
		}
		m_cmbPower.SetCurSel(0);
		showInfo();
		return TRUE;
	}
	return FALSE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #6
0
BOOL CConfigCrossLineRule::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	{
		CComboBox* pBox = (CComboBox*)GetDlgItem(IDC_COMBO_DIRECT);
		if (pBox)
		{
			pBox->AddString("左->右");
			pBox->AddString("右->左");
			pBox->AddString("右<->左");
		}
	}

	{
		CComboBox* pBox = (CComboBox*)GetDlgItem(IDC_COMBO_TriggerPosition);
		if (pBox)
		{//0-目标外接框中心, 1-目标外接框左端中心, 2-目标外接框顶端中心, 3-目标外接框右端中心, 4-目标外接框底端中心
			pBox->AddString("框中心");
			pBox->AddString("框左端中心");
			pBox->AddString("框顶端中心");
			pBox->AddString("框底端中心");
		}
	}
	
	g_SetWndStaticText(this);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #7
0
BOOL CInputAlarmDlg::OnInitDialog() 
{
	g_SetWndStaticText(this);
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	memset(&sAttrExt, 0, sizeof(HI_S_ATTR_EXT));

	HI_S32 s32Ret = HI_FAILURE;
	CString strBuf = "";

	m_combEA.InsertString(0, ConvertString("Disable"));
	m_combEA.InsertString(1, ConvertString("Enable"));
	m_combEA.SetCurSel(0);
	
	m_combEAM.InsertString(0, ConvertString("Normally close"));
	m_combEAM.InsertString(1, ConvertString("Normally Open"));
	m_combEAM.SetCurSel(0);
	
	if(m_lHandle != 0)
	{
		s32Ret = HI_SDK_GetConfig(m_lHandle, HI_CMD_ATTR_EXT, &sAttrExt, sizeof(HI_S_ATTR_EXT));
		if(s32Ret == HI_SUCCESS)
		{
			m_combEA.SetCurSel(sAttrExt.u32Enable);
			m_combEAM.SetCurSel(sAttrExt.u32Flag);
		}
	}
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #8
0
BOOL CDlgFileList::OnInitDialog() 
{
	CDialog::OnInitDialog();
	g_SetWndStaticText(this, DLG_FILENAME);
	
	// TODO: Add extra initialization here
	InitDlg();
	OnFilenameBtnGet();

// 	char szSeq[8] = {0};
// 	itoa(1, szSeq, 10);
// 	m_lsFileList.InsertItem(0, "", 0);
// 	m_lsFileList.SetItemText(0, 0, szSeq);
// 	m_lsFileList.SetItemText(0, 1, "abc");
// 
// 	itoa(2, szSeq, 10);
// 	m_lsFileList.InsertItem(1, "", 0);
// 	m_lsFileList.SetItemText(1, 0, szSeq);
// 	m_lsFileList.SetItemText(1, 1, "123");
// 	
// 	itoa(3, szSeq, 10);
// 	m_lsFileList.InsertItem(2, "", 0);
// 	m_lsFileList.SetItemText(2, 0, szSeq);
// 	m_lsFileList.SetItemText(2, 1, "456");
// 
// 	char* szTemp1 = "abc";
// 	char* szTemp2 = "123";
// 	char* szTemp3 = "456";
// 	m_listInfo.push_back(szTemp1);
// 	m_listInfo.push_back(szTemp2);
// 	m_listInfo.push_back(szTemp3);

	return TRUE;  // return TRUE unless you set the focus to a control
	// EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #9
0
BOOL CConfigWanderRule::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here

	{
		CComboBox* pBox = (CComboBox*)GetDlgItem(IDC_COMBO_TriggerPosition);
		if (pBox)
		{//0-目标外接框中心, 1-目标外接框左端中心, 2-目标外接框顶端中心, 3-目标外接框右端中心, 4-目标外接框底端中心
			pBox->AddString("框中心");
			pBox->AddString("框左端中心");
			pBox->AddString("框顶端中心");
			pBox->AddString("框右端中心");
			pBox->AddString("框底端中心");
		}
	}
	
	m_strTriggerTargetsNum.Format("%d",m_stuInfo.nTriggerTargetsNumber);

	m_strReportInterval.Format("%d",m_stuInfo.nReportInterval);
	
	g_SetWndStaticText(this);		
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #10
0
BOOL CConfigAlarm::OnInitDialog() 
{
	CDialog::OnInitDialog();
	g_SetWndStaticText(this);
	
	m_alarmBoard.InsertItem(0, ConvertString(MSG_ALARMCFG_ALARMIN));
	m_alarmBoard.InsertItem(1, ConvertString(MSG_ALARMCFG_MOTION));
	m_alarmBoard.InsertItem(2, ConvertString(MSG_ALARMCFG_VIDEOLOST));
	m_alarmBoard.InsertItem(3, ConvertString(MSG_ALARMCFG_BLINE));
//	m_alarmBoard.InsertItem(4, MSG_ALARMCFG_DISK);

	m_alarmInDlg.SetDevice(m_pDev);
	m_blindDlg.SetDevice(m_pDev);
//	m_diskDlg.SetDevice(m_pDev);
	m_motionDlg.SetDevice(m_pDev);
	m_vlostDlg.SetDevice(m_pDev);

	m_alarmInDlg.Create(IDD_CONFIG_ALARM_ALARM, &m_alarmBoard);
	m_blindDlg.Create(IDD_CONFIG_ALARM_BLIND, &m_alarmBoard);
	m_diskDlg.Create(IDD_CONFIG_ALARM_DISK, &m_alarmBoard);
	m_motionDlg.Create(IDD_CONFIG_ALARM_MOTION, &m_alarmBoard);
	m_vlostDlg.Create(IDD_CONFIG_ALARM_VLOST, &m_alarmBoard);

	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #11
0
BOOL CDlgTalk::OnInitDialog() 
{
	CDialog::OnInitDialog();

	g_SetWndStaticText(this, DLG_TALKING);

	unsigned int nIndex = 0;
	int ncbIndex = 0;	

	// 初始化语音编码格式
	std::string strAudioType;
	for (nIndex = 0; nIndex < m_stuAudioEncodeFormate.nSupportNum; nIndex++)
	{
		strAudioType = ConvertAudioTypeToString(m_stuAudioEncodeFormate.type[nIndex].encodeType);
		ncbIndex = m_cbAudioFormate.AddString(strAudioType.c_str());
		m_cbAudioFormate.SetItemData(ncbIndex, nIndex);
	}
	m_cbAudioFormate.SetCurSel(0);
	
	// 初始通道号
	char szTemp[64] = {0};
	m_cbChannelId.ResetContent();
	for (nIndex  = 0;  nIndex < m_nChannelNum; nIndex++)
	{
		sprintf(szTemp, "%s %d", ConvertString("Channel", DLG_TALKING), nIndex + 1);
		ncbIndex = m_cbChannelId.AddString((LPCTSTR)szTemp);
		m_cbChannelId.SetItemData(ncbIndex, nIndex);
	}
	m_cbChannelId.SetCurSel(0);
	
	return TRUE;
}
Beispiel #12
0
BOOL CClientState::OnInitDialog() 
{
	CDialog::OnInitDialog();

	g_SetWndStaticText(this);
	return TRUE;  
}
Beispiel #13
0
BOOL CPTZPannel::OnInitDialog() 
{
	CDialog::OnInitDialog();
	g_SetWndStaticText(this);
	
	//云台控制控件的命令定义设置
	m_ptz_up.SetButtonCommand(DH_PTZ_UP_CONTROL);
	m_ptz_down.SetButtonCommand(DH_PTZ_DOWN_CONTROL);
	m_ptz_left.SetButtonCommand(DH_PTZ_LEFT_CONTROL);
	m_ptz_right.SetButtonCommand(DH_PTZ_RIGHT_CONTROL);
	m_zoom_wide.SetButtonCommand(DH_PTZ_ZOOM_DEC_CONTROL);
	m_zoom_tele.SetButtonCommand(DH_PTZ_ZOOM_ADD_CONTROL);
	m_focus_near.SetButtonCommand(DH_PTZ_FOCUS_DEC_CONTROL);
	m_focus_far.SetButtonCommand(DH_PTZ_FOCUS_ADD_CONTROL);
	m_iris_open.SetButtonCommand(DH_PTZ_APERTURE_ADD_CONTROL);
	m_iris_close.SetButtonCommand(DH_PTZ_APERTURE_DEC_CONTROL);
	
	m_ptz_rightup.SetButtonCommand(DH_EXTPTZ_RIGHTTOP);
	m_ptz_rightdown.SetButtonCommand(DH_EXTPTZ_RIGHTDOWN);
	m_ptz_leftup.SetButtonCommand(DH_EXTPTZ_LEFTTOP);
	m_ptz_leftdown.SetButtonCommand(DH_EXTPTZ_LEFTDOWN);
	
	m_bPTZCtrl = FALSE;
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #14
0
BOOL CConfigFile::OnInitDialog() 
{
	CDialog::OnInitDialog();
	g_SetWndStaticText(this);
	// TODO: Add extra initialization here
	((CButton*)GetDlgItem(IDC_BUTTON_FOLDER))->EnableWindow(TRUE);
	((CButton*)GetDlgItem(IDC_BUTTON_IMPORT))->EnableWindow(TRUE);
	((CButton*)GetDlgItem(IDC_BUTTON_STOP_IMPORT))->EnableWindow(FALSE);
	
	((CButton*)GetDlgItem(IDC_BUTTON_FILE))->EnableWindow(TRUE);
	((CButton*)GetDlgItem(IDC_BUTTON_EXPORT))->EnableWindow(TRUE);
	((CButton*)GetDlgItem(IDC_BUTTON_STOP_EXPORT))->EnableWindow(FALSE);

	m_dwImportDownloadSize = 0;
	m_lImport = 0;
	m_lExport = 0;

	m_dwImportTotalSize = 0;
	m_dwImportDownloadSize = 0;
	m_dwExportTotalSize = 0;
	m_dwExportDownloadSize = 0;

	m_Timer1 = 0;
	m_Timer2 = 0;

	m_progressImport.SetRange(0, 100);
	m_progressExport.SetRange(0, 100);

	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #15
0
BOOL CLoginDlg::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	g_SetWndStaticText(this);

	return TRUE; 
}
Beispiel #16
0
BOOL CDHPtzMenu::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	g_SetWndStaticText(this);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
BOOL CAdvanceBtnPannel::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	g_SetWndStaticText(this);
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #18
0
BOOL CSubDlgInfoCard::OnInitDialog() 
{
	CDialog::OnInitDialog();
	g_SetWndStaticText(this, SUBDLG_INFO_CARD);
	// TODO: Add extra initialization here
	InitDlg();
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #19
0
BOOL CDlgUserManage::OnInitDialog() 
{
	CDialog::OnInitDialog();
	g_SetWndStaticText(this, DLG_USER);

	// TODO: Add extra initialization here
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #20
0
BOOL CLogo::OnInitDialog() 
{
	CDialog::OnInitDialog();
	g_SetWndStaticText(this);
	// TODO: Add extra initialization here
	m_ctrlProgress.SetRange(1, 8);
	m_ctrlProgress.SetStep(1);

	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #21
0
BOOL CConfigAlarm::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	//Initialize TabControl control
	InitTabControl();
	g_SetWndStaticText(this);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #22
0
BOOL CNetUpgrade::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	g_SetWndStaticText(this);
	m_lUpgradeID = 0;
	m_bStopped = TRUE;
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #23
0
BOOL CRuleRetrogradation::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	g_SetWndStaticText(this);

	m_treeObjType.ModifyStyle(TVS_CHECKBOXES, 0, 0);
	m_treeObjType.ModifyStyle(0, TVS_CHECKBOXES, 0);
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #24
0
BOOL CDlgQueryLog::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	g_SetWndStaticText(this, DLG_QUERYLOG);

	InitDlg();
	OnQuerylogBtnTotalCount();

	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #25
0
BOOL CAlarmMotion::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	g_SetWndStaticText(this);
	ConvertComboBox(m_ctlAlarmWeek);

	m_chnAlarmOut.Create(IDD_DIALOG_CHN, this);
	m_chnAlarmOut.Attach(IDC_STATIC_ALARMOUT, this);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #26
0
BOOL CDlgCfgAccessControl::OnInitDialog() 
{
	CDialog::OnInitDialog();
	g_SetWndStaticText(this, DLG_CFG_ACCESS_CONTROL);
	// TODO: Add extra initialization here
	InitDlg();
	if (GetConfigFromDevice())
	{
		StuToDlg();
	}
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #27
0
BOOL CDlgCfgAlarmSubSystem::OnInitDialog() 
{
	CDialog::OnInitDialog();
	g_SetWndStaticText(this, DLG_CFG_ALARM_SUBSYSTEM);
	// TODO: Add extra initialization here
	InitDlg();
	if (GetConfig())
	{
		StuToDlg();
	}
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
BOOL CStrategyDownload::OnInitDialog() 
{
	CDialog::OnInitDialog();
	g_SetWndStaticText(this);
	// TODO: Add extra initialization here
	int nIndex = m_ccbDownload.AddString(ConvertString("normal download"));
	m_ccbDownload.SetItemData(nIndex,0);
	nIndex = m_ccbDownload.AddString(ConvertString("quickly download"));
	m_ccbDownload.SetItemData(nIndex,1);

	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #29
0
BOOL CDlgCfgPSTNBreakLine::OnInitDialog() 
{
	CDialog::OnInitDialog();
	g_SetWndStaticText(this, DLG_CFG_PSTNBREAKLINE);
    // TODO: Add extra initialization here
    
    if (GetConfigFromDevice())
    {
        showInfo();
	}	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Beispiel #30
0
BOOL CStrategyTrans::OnInitDialog() 
{
	CDialog::OnInitDialog();
	g_SetWndStaticText(this);
	// TODO: Add extra initialization here
	int nIndex = m_ccbTrans.AddString(ConvertString("quality first"));
	m_ccbTrans.SetItemData(nIndex,0);
	nIndex = m_ccbTrans.AddString(ConvertString("fluency first"));
	m_ccbTrans.SetItemData(nIndex,1);
	nIndex = m_ccbTrans.AddString(ConvertString("auto"));
	m_ccbTrans.SetItemData(nIndex,2);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}