// PlaqueDemo.h : header file for the PlaqueDemo application // #pragma once #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" enum EnumEtape { etapeRien, etapeSegments, etapeTacheSeuil, etapeReglage }; enum enumType { typeUndefined, typeBW, typeRGB, typeManual }; class CPlaqueDemoApp : public CWinApp { public: CPlaqueDemoApp(); virtual ~CPlaqueDemoApp(); CPen m_penDraw, m_penVert, m_penBleu, m_penRouge; public: virtual BOOL InitInstance(); DECLARE_MESSAGE_MAP() CMutex m_Mutex; BOOL m_block; }; extern CPlaqueDemoApp theApp;