HQ_CL.H
上传用户:bjghjy
上传日期:2007-01-07
资源大小:379k
文件大小:1k
- #define GWW_HQ_TYPE 0
- #define Y0_TITLE 0
- //#define X0_TITLE 84
- //#define ITEM_SPACE_Y 7
- //#define ITEM_SPACE_X 12
- //#define WM_HQ_INIT WM_USER
- //#define WM_HQ_READ WM_USER+1
- //#define WM_SEND_REFRESH WM_HQ_READ
- #define WM_HQ_REFRESH WM_USER+2
- #define WM_READ_OK WM_HQ_REFRESH
- #define WM_HQSEL_RESET WM_USER+3
- //#define WM_HQFLDS_RESET WM_USER+4
- #define SORT_DOWN 0
- #define SORT_UP 1
- #define SORT_ZQDM 0
- #define HQ_SZALL 0
- #define HQ_SHALL 1
- #define HQ_SEL_1 2
- #define HQ_SEL_2 3
- #define HQ_SEL_3 4
- #define HQ_SEL_4 5
- #define HQ_SEL_5 6
- #define HQ_ALL 0
- #define HQ_A 1
- #define HQ_B 2
- #define HQ_BOND 3
- typedef struct tag_SORT_DATA
- {
- int type;
- int fldID;
- int key[MAX_HQ_REC_COUNT];
- }SORT_DATA, FAR *LPSORT_DATA;
- typedef struct tag_HQ_PAINT_DATA
- {
- int jys, type ,filter;
- int recCount, fldCount;
- int curRecNum, curSelRec, curRecCount, curFldNum;
- int x0, itemHeight;
- RECT rcTitles[HQ_FLDS_COUNT+1];
- SORT_DATA sortData;
- int fldNum[HQ_FLDS_COUNT+1];
- }HQ_PAINT_DATA, FAR *LPHQ_PAINT_DATA;
- HFONT ghFontSmall;
- HFONT hHqFont;
- short *recList;
- int FontHight;
- BOOL isRF;
- unsigned short ITEM_SPACE_Y;
- unsigned short X0_TITLE;
- unsigned short ITEM_SPACE_X;
- LOGFONT lf;
- BOOL IsZsRec(int jys, int rec_num);
- BOOL RegisterHq(void);
- BOOL CreateWndHq(HWND);
- BOOL HqInit(void);
- void HqExit(void);
- int RefreshAllWnd(void);
- extern HQ_PAINT_DATA HqPaintData;