//---------------------------------------------------------------------------- // Laser Guard Ltd. // Copyright © 2000-2002. All Rights Reserved. // Version 1.0 01/01/2000 // Last modification: 08/10/2003 // PROJECT: // SUBSYSTEM: // FILE: HZMaskDlg.h // AUTHOR: Sergey Chizhevskiy // OVERVIEW // ~~~~~~~~ // Header file of HZMaskDlg.h //---------------------------------------------------------------------------- #ifndef __HZ__MASK__DLG__H__INCLUDED__ #define __HZ__MASK__DLG__H__INCLUDED__ #if _MSC_VER > 1000 #pragma once #endif #include "DialogItemsPosition.h" #include "GenericWnd.h" class CApplication; class CHZMaskDlg : public CGenericWnd { public: CHZMaskDlg(); virtual ~CHZMaskDlg(); public: BOOL Create( CApplication* pApplication, HWND hParent, INT x, INT y, INT cx, INT cy ); public: void SetViewZoneCheck( INT n, BOOL fEnable ); void EnableButton( INT n, BOOL fEnable ); private: virtual LRESULT OnDestroy( WPARAM, LPARAM ); virtual LRESULT OnCommand( WPARAM, LPARAM ); virtual LRESULT OnInitDialog( WPARAM, LPARAM ); virtual LRESULT OnMove( WPARAM, LPARAM ); virtual LRESULT OnSize( WPARAM, LPARAM ); virtual LRESULT OnEraseBackground( WPARAM, LPARAM ); private: void OnPaint( HDC ); private: void OnCheckButtonMask( UINT nCtrlId ); HBITMAP m_hButtonBitmaps[40]; private: CApplication* m_pApplication; private: CDialogItemsPosition m_DialogItemsPosition; }; #endif