//---------------------------------------------------------------------------- // Laser Guard Ltd. // Copyright © 2000-2002. All Rights Reserved. // Version 1.0 01/01/2000 // Last modification: 29/07/2002 // PROJECT: // SUBSYSTEM: // FILE: HZMaskScheduleDlg.h // AUTHOR: Sergey Chizhevskiy // OVERVIEW // ~~~~~~~~ // Header file of HZMaskScheduleDlg.h //---------------------------------------------------------------------------- #ifndef __HZ__MASK__SCHEDULE__DLG__H__INCLUDED__ #define __HZ__MASK__SCHEDULE__DLG__H__INCLUDED__ #if _MSC_VER > 1000 #pragma once #endif #include "HZMaskSchedule.h" class CHZMaskScheduleDlg { public: CHZMaskScheduleDlg(); virtual ~CHZMaskScheduleDlg(); public: UINT DoModal( CHZMaskSchedule* pMaskSchedule, HWND hParent ); void Destroy(); private: LRESULT OnDestroy( WPARAM, LPARAM ); LRESULT OnCommand( WPARAM, LPARAM ); LRESULT OnInitDialog( WPARAM, LPARAM ); LRESULT OnMeasureItem( WPARAM, LPARAM ); LRESULT OnDrawItem( WPARAM, LPARAM ); private: void OnButtonAdd(); void OnButtonDelete(); void OnButtonEdit(); void OnButtonCancel(); private: static BOOL CALLBACK WindowProc_( HWND, UINT, WPARAM, LPARAM ); virtual BOOL WindowProc( UINT, WPARAM, LPARAM ); private: HWND m_hWnd; private: HBITMAP m_hButtonBitmaps[40]; private: CHZMaskSchedule *m_pMaskSchedule; }; #endif