//Example1.h #ifndef _EXAMPLE1_H_ #define _EXAMPLE1_H_ #include /* required for all Windows applications */ #include #include "..\\..\\..\\include\\l_bitmap.h" /* LEADTOOLS main header file */ #include "..\\..\\..\\include\\l_error.h" /* LEADTOOLS error definition header file */ #include "types.h" #include "handles.h" //************************************************************************************** // // Functions for Example1 // //************************************************************************************* extern HCURSOR hCursorRotate; // Handle IDs for Example1 #define HANDLE_ID_HORIZONTAL_TOP 100 #define HANDLE_ID_HORIZONTAL_BOTTOM 101 #define HANDLE_ID_VERTICAL_LEFT 102 #define HANDLE_ID_VERTICAL_RIGHT 103 //*************** Example1 Create functions L_VOID Example1_LButtonDown(HWND hWnd, LPCHILDDATA pData); L_VOID Example1_MouseMove(LPCHILDDATA pData); L_VOID Example1_LButtonUp(LPCHILDDATA pData, L_UINT uTool); //*************** Example1 Update functions L_VOID Example1_Handle_LButtonDown(LPCHILDDATA pData, pANNMOUSEPOS pMousePos); L_VOID Example1_Handle_MouseMove(LPCHILDDATA pData, pANNMOUSEPOS pMousePos); L_VOID Example1_Handle_LButtonUp(LPCHILDDATA pData, pANNMOUSEPOS pMousePos); // *************** Example1 Additional functions L_VOID Example1_AddUserHandles(HANNOBJECT hObject, pANNPOINT pAnnPoints); L_VOID Example1_Hilight(LPCHILDDATA pData, pANNHILIGHT pAnnHilight); #endif _EXAMPLE1_H_