#ifndef __CHILD_H_ #define __CHILD_H_ /* Child Window Proc */ LRESULT CALLBACK ChildWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); /* Windows Messages functions */ L_BOOL Child_OnCreate(HWND hwnd,CREATESTRUCT * Createst ); L_VOID Child_OnPaint(HWND hwnd); L_VOID Child_OnMDIActivate(HWND hwnd, L_BOOL activate, HWND hactivate,HWND hdeactivate); L_VOID Child_OnDestroy(HWND hwnd); L_VOID Child_OnCommand(HWND hwnd,L_INT id,HWND hwndCtl,UINT codeNotify); L_VOID Child_OnSize (HWND hWnd, UINT nState, L_INT nCx, L_INT nCy); L_VOID Child_OnVScroll (HWND hWnd, HWND hWndCtl, UINT nCode, L_INT nPos); L_VOID Child_OnHScroll (HWND hWnd, HWND hWndCtl, UINT nCode, L_INT nPos); L_BOOL Child_OnEraseBkgnd(HWND hWnd, HDC hDC); L_VOID Child_OnLButtonDown(HWND hWnd, L_BOOL fDoubleClick, L_INT x, L_INT y, L_UINT keyFlags); L_VOID Child_OnMouseMove(HWND hWnd, L_INT x, L_INT y, L_UINT keyFlags); L_VOID Child_OnLButtonUp(HWND hWnd, L_INT x, L_INT y, L_UINT keyFlags); L_VOID Child_OnLButtonDblClk(HWND hWnd, L_BOOL fDoubleClick, L_INT x, L_INT y, L_UINT keyFlags); L_VOID Child_OnRButtonDown(HWND hWnd, L_BOOL fDoubleClick, L_INT x, L_INT y, L_UINT keyFlags); L_VOID Child_OnKillFocus(HWND hWnd, HWND hWndNewFocus); L_BOOL Child_OnSetCursor(HWND hWnd, HWND hWndCursor, L_UINT codeHitTest, L_UINT msg); /* For Palette */ L_BOOL Child_OnQueryNewPalette (HWND hwnd); L_VOID Child_OnPaletteChanged (HWND hwnd, HWND hwndPaletteChange); /* Dialog functions */ L_VOID ChDialog_OnResizeWidth(HWND hwnd); L_VOID ChDialog_OnResizeHeight(HWND hwnd); L_VOID ChDialog_OnZoomFactor(HWND hwnd); L_VOID ChDialog_OnResizeBorder(HWND hwnd); L_VOID ChDialog_BackColor(HWND hwnd); L_VOID ChDialog_BorderColor(HWND hwnd); L_VOID ChDialog_OnPaintIntensity(HWND hWnd); L_VOID ChDialog_OnPaintGamma(HWND hWnd); L_VOID ChDialog_OnPaintContrast(HWND hWnd); /* Other functions */ L_VOID Child_ResetMagGlassData(LPWINDOWDATA pData); L_VOID Child_StartMagGlass(LPWINDOWDATA pData); L_VOID Child_StopMagGlass(LPWINDOWDATA pData); L_VOID Child_Copy(HWND hwnd); L_VOID Child_BorderType(HWND hwnd); L_VOID Child_CrossHair(HWND hwnd,L_INT id); L_VOID Child_MagCenter(HWND hwnd,L_INT id); L_VOID Child_MagPaint(HWND hwnd,L_INT id); L_VOID Child_MagCursor(HWND hwnd,L_INT id); L_VOID Child_UpdateRectangle(HWND hwnd); L_VOID Child_UpdateEllipse(HWND hwnd); L_VOID Child_UpdateRoundRectangle(HWND hwnd, L_BOOL NewDataRequest); L_VOID Child_UpdateFreeHand(HWND hwnd, L_BOOL NewDataRequest); L_BOOL Child_DisplayContextMenu(HWND hWnd, POINT pt); L_VOID Child_ManualUpdate(LPWINDOWDATA pData); L_VOID Child_UpdateMagGlassBitmap(HWND hWnd); L_VOID Child_UpdateSourceMagGlassBitmap(HWND hWnd); L_VOID Child_CheckMenuItems(HMENU hMenu, pFLAGSDATA pFlagsData); L_VOID Child_WindowLevel(HWND hWnd); L_VOID CleanOpenDlgParam(LPOPENDLGPARAMS pFOParam); #endif