wdt_lbp_api.h
上传用户:sunhongbo
上传日期:2022-01-25
资源大小:3010k
文件大小:2k
源码类别:

数据库系统

开发平台:

C/C++

  1. /*===============================================================================
  2.  File Name:wdt_lbp_api.h
  3.  Author:szhy
  4.  Create Time:2007-10-22
  5.  
  6.  Description:listbox page control
  7.  Class Name:"LBP"
  8.  History:
  9. ===============================================================================*/
  10. #ifndef __WDT_LBP_API_H_
  11. #define __WDT_LBP_API_H_
  12. /*-------------------------------------------------------------------------------
  13. Macro Define
  14. -------------------------------------------------------------------------------*/
  15. #define DEF_LBP(lpClassName,x,y,nWidth,nHeight,ID,parentID,selectAndFocusStyle, 
  16. selectAndUnFocusStyle,unSelectStyle,styleWidth,styleHeight,numInPage,scrollbarID,interval,bkStyle) 
  17. lpClassName,x,y,nWidth,nHeight,ID,parentID,selectAndFocusStyle,selectAndUnFocusStyle, 
  18. unSelectStyle,styleWidth,styleHeight,numInPage,scrollbarID,interval,bkStyle,
  19. #define DEF_LBP_EVE(ID,lpOnKey,lpOnChange) ID,0,0,0,lpOnKey,lpOnChange,
  20. /*-------------------------------------------------------------------------------
  21. Struct Define
  22. -------------------------------------------------------------------------------*/
  23. typedef struct _tagGUI_lbpAttribute_s
  24. {
  25. BU32 selectStyle;
  26. BU32 unSelectStyle;
  27. BU32 styleX;
  28. BU32 styleY;
  29. BU32 keyValue;
  30. } GUI_lbpAttribute_s;
  31. typedef GUI_lbpAttribute_s * GUI_lbpAttribute_sp;
  32. /*-------------------------------------------------------------------------------
  33. Constant Define
  34. -------------------------------------------------------------------------------*/
  35. enum WDT_LBP_SV_TYPE
  36. {
  37. WDT_LBP_SV_INDEX,
  38. WDT_LBP_SV_NUM,
  39.   WDT_LBP_SV_NUMINPAGE,
  40.   WDT_LBP_SV_DATA,
  41.   WDT_LBP_SV_STYLE,
  42.   WDT_LBP_SV_STATE,
  43.   WDT_LBP_SV_KEYVALUE,
  44.   WDT_LBP_SV_MOVESTYLE,
  45.   WDT_LBP_SV_DATAX,
  46.   WDT_LBP_SV_ITEMTYPE,
  47.   WDT_LBP_SV_COLOR1,
  48.   WDT_LBP_SV_COLOR2,
  49.   WDT_LBP_SV_PAINT,
  50.   WDT_LBP_SV_KEYSTATE
  51. };
  52. enum WDT_LBP_ITEM_TYPE
  53. {
  54. WDT_LBP_ITEM_2COLOR,
  55. WDT_LBP_ITEM_LINE
  56. };
  57. /*-------------------------------------------------------------------------------
  58. Function Declare
  59. -------------------------------------------------------------------------------*/
  60. void WDT_LBP_API_Register(void);
  61. PU08 WDT_LBP_API_GetVersion(void);
  62. #endif