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

数据库系统

开发平台:

C/C++

  1. /*===============================================================================
  2.  File Name:wdt_lvw_api.h
  3.  Author:szhy
  4.  Create Time:2007-7-17
  5.  
  6.  Description:listview control
  7.  Class Name:"LVW"
  8.  History:
  9. ===============================================================================*/
  10. #ifndef __WDT_LVW_API_H_
  11. #define __WDT_LVW_API_H_
  12. /*-------------------------------------------------------------------------------
  13. Macro Define
  14. -------------------------------------------------------------------------------*/
  15. #define DEF_LVW(lpClassName,x,y,nWidth,nHeight,ID,parentID,selectAndFocusStyle, 
  16. selectAndUnFocusStyle,unSelectStyle,styleWidth,styleHeight,numInPage,scrollbarID,interval) 
  17. lpClassName,x,y,nWidth,nHeight,ID,parentID,selectAndFocusStyle,selectAndUnFocusStyle, 
  18. unSelectStyle,styleWidth,styleHeight,numInPage,scrollbarID,interval,0,
  19. #define DEF_LVW_EVE(ID,lpOnKey) ID,0,0,0,lpOnKey,0,
  20. /*-------------------------------------------------------------------------------
  21. Struct Define
  22. -------------------------------------------------------------------------------*/
  23. typedef struct _tagGUI_ListviewAttribute_s
  24. {
  25. BU32 selectStyle;
  26. BU32 unSelectStyle;
  27. BU32 styleX;
  28. BU32 styleY;
  29. BU32 keyValue;
  30. PU08 itemAttrib;
  31. } GUI_ListviewAttribute_s;
  32. typedef GUI_ListviewAttribute_s * GUI_ListviewAttribute_sp;
  33. /*-------------------------------------------------------------------------------
  34. Constant Define
  35. -------------------------------------------------------------------------------*/
  36. #define WDT_LVW_SV_ITEMATTRIB 1
  37. #define WDT_LVW_SV_DATA 2
  38. #define WDT_LVW_SV_ATTRIB 3
  39. #define WDT_LVW_SV_INDEX 4
  40. #define WDT_LVW_SV_MOVEATTRIB 5
  41. /*-------------------------------------------------------------------------------
  42. Function Declare
  43. -------------------------------------------------------------------------------*/
  44. void WDT_LVW_API_Register(void);
  45. PU08 WDT_LVW_API_GetVersion(void);
  46. #endif