#ifndef __PREVIEWWINDOW

#define __PREVIEWWINDOW

#include "SM_Window.h"


DEFINE_EVGUID(EV_PREVIEW_PAINT, 0xDB1AFC1B, 0x3775, 0x40A1, 0xB8, 0x13, 0x2C, 0x5A, 0x7C, 0x0C, 0x97, 0xB1);

class PreviewPaintEvent : public Event
{
public:
  PreviewPaintEvent()
  {
    m_pGUID = (EVGUID*) &EV_PREVIEW_PAINT;
  }  
};

DEFINE_EVGUID(EV_COORDUPDATE, 0xE3A9926B, 0x63E8, 0x4F22, 0x86, 0x4E, 0x5D, 0x02, 0x4C, 0x95, 0xFC, 0x08);
class CoordEvent : public Event
{
public:
  CoordEvent(int x, int y)
  {
    m_pGUID = (EVGUID*) &EV_COORDUPDATE;    
    m_x     = x;
    m_y     = y;
  }  

  int m_x;
  int m_y;
};



class PreviewWindow : public Window
{
public:
  virtual int           Init            (Window* pParent = 0);  
  virtual int           ProcessMessage  (const UINT message, const WPARAM wParam, const LPARAM lParam);  
protected:  
};

#endif