
#include <LAttachment.h>

#include "pibwdgmac.h"

const MessageT	msg_Resize			= 817;
const MessageT	msg_Move			= 818;

class PIUpdAttachment : public LAttachment {
public:
  PIUpdAttachment(PIBaseWdgMac* wdg);
  ~PIUpdAttachment();
  
protected:
 virtual void	ExecuteSelf(
							MessageT		inMessage,
							void			*ioParam);

 PIBaseWdgMac* myWdg;
 PIGraphicMac* myGraphic;
 
 friend class PIPPApplMac;
 static PIUpdAttachment* lastCursPane;
 static bool hit;
 static int down;
 Point lastPt;
};

