#ifndef _ANNDEMOBMP_ #define _ANNDEMOBMP_ #include #include "..\..\..\..\include\ClassLib\ltWrappr.h" #define ISTIF(nFormat) \ ((nFormat)==FILE_JTIF ||\ (nFormat)==FILE_LEAD2JTIF ||\ (nFormat)==FILE_LEAD1JTIF ||\ (nFormat)==FILE_TIFLZW ||\ (nFormat)==FILE_TIFLZW_CMYK ||\ (nFormat)==FILE_TIFLZW_YCC ||\ (nFormat)==FILE_TIF ||\ (nFormat)==FILE_TIF_CMYK ||\ (nFormat)==FILE_TIF_YCC ||\ (nFormat)==FILE_TIF_PACKBITS ||\ (nFormat)==FILE_TIF_PACKBITS_CMYK ||\ (nFormat)==FILE_TIF_PACKBITS_YCC ||\ (nFormat)==FILE_CCITT ||\ (nFormat)==FILE_CCITT_GROUP3_1DIM ||\ (nFormat)==FILE_CCITT_GROUP3_2DIM ||\ (nFormat)==FILE_CCITT_GROUP4) #define WM_USERMSG (WM_USER + 1) //--------------------------------------------- class TAnnDemoBitmap : public LAnnotationWindow //--------------------------------------------- { private: BOOL m_bShowLocked; UINT m_nAnnObject; int m_nHotspots; int m_nButtons; public: TAnnDemoBitmap(); virtual ~TAnnDemoBitmap(); void GetAnnFile(LPSTR pDest, LPSTR pSource, L_UINT nPage, L_INT nFormat); //void SetSavePageNumber(); int GetHyperlink(LAnnotation* pAnn); void PrintImage(); void Unrealize(); void Realize(); BOOL IsLockedVisible(); void ShowLocked(BOOL bShow =TRUE); void ToolChecked(UINT ); UINT GetCurrentObjectID(); virtual L_VOID OnAnnEvent(L_UINT uAnnEvent,L_UINT32 lParam); virtual LRESULT MsgProcCB(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM lParam); LONG OnUserMessage(UINT wp,LONG lp); }; #endif //#ifndef _ANNDEMOBMP_