You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.7 KiB
61 lines
1.7 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: LgMaskScheduleEditDlg.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of LgMaskScheduleEditDlg.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __HZ__MASK__SCHEDULE__EDIT__DLG__H__INCLUDED__
|
|
#define __HZ__MASK__SCHEDULE__EDIT__DLG__H__INCLUDED__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "LgMaskSchedule.h"
|
|
|
|
class LGMASKSCHEDULE_API CLgMaskScheduleEditDlg
|
|
{
|
|
public:
|
|
CLgMaskScheduleEditDlg();
|
|
virtual ~CLgMaskScheduleEditDlg();
|
|
|
|
public:
|
|
UINT DoModal( CLgMaskSchedule* pMaskSchedule, CLgMaskScheduleLgsArray *pArray, HWND hParent, PMASK_SCHEDULE pSchedule );
|
|
void Destroy();
|
|
|
|
private:
|
|
LRESULT OnDestroy( WPARAM, LPARAM );
|
|
LRESULT OnCommand( WPARAM, LPARAM );
|
|
LRESULT OnInitDialog( WPARAM, LPARAM );
|
|
LRESULT OnNotify( WPARAM, LPARAM );
|
|
|
|
LRESULT OnLvnItemChanged( WPARAM, LPARAM );
|
|
|
|
private:
|
|
void OnButtonCancel();
|
|
void OnButtonOk();
|
|
void OnCheckHzEnable();
|
|
void OnCheckSpecialDay();
|
|
|
|
private:
|
|
void InitListControl();
|
|
void OnCheckButtonMask( UINT nCtrlId );
|
|
static BOOL CALLBACK WindowProc_( HWND, UINT, WPARAM, LPARAM );
|
|
virtual BOOL WindowProc( UINT, WPARAM, LPARAM );
|
|
|
|
private:
|
|
HWND m_hWnd;
|
|
HBITMAP m_hButtonBitmaps[40];
|
|
CLgMaskSchedule *m_pMaskSchedule;
|
|
PMASK_SCHEDULE m_pSchedule;
|
|
CLgMaskScheduleLgsArray *m_pMaskScheduleLgsArray;
|
|
};
|
|
|
|
#endif
|