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

数据库系统

开发平台:

C/C++

  1. /*===============================================================================
  2.  File Name:gui_dlg_api.h
  3.  Author:szhy
  4.  Create Time:2007-5-31
  5.  
  6.  Description:dialog
  7.  History:
  8. ===============================================================================*/
  9. #ifndef __GUI_DLG_API_H_
  10. #define __GUI_DLG_API_H_
  11. /*-------------------------------------------------------------------------------
  12. Macro Define
  13. -------------------------------------------------------------------------------*/
  14. #define DEF_DLG(lpClassName,x,y,nWidth,nHeight,ID,focusID) 
  15. lpClassName,x,y,nWidth,nHeight,ID,0,0,0,0,0,0,focusID,0,0,0,       
  16. #define DEF_BKD(lpClassName,x,y,parentID,style) 
  17. lpClassName,x,y,0,0,0,parentID,0,0,0,0,0,style,0,0,0,
  18. #define DEF_DLG_EVE(ID,lpEnter,lpEnd,lpOnKey) 
  19. ID,lpEnter,lpEnd,0,lpOnKey,0,
  20. /*-------------------------------------------------------------------------------
  21. Constant Define
  22. -------------------------------------------------------------------------------*/
  23. #define GUI_DLG_SV_KEYSTATE 0
  24. #define GUI_DLG_SV_NOPAINT 1
  25. #define GUI_DLG_SV_MSG_HANDLE 2
  26. typedef enum
  27. {
  28. GUI_DLG_KEYSTATE_ACTION=0x01,
  29. GUI_DLG_KEYSTATE_PAINT =0x02
  30. }ffffffffffff;
  31. typedef void (* LPNoPaint)(void);
  32. typedef struct
  33. {
  34. BU32 msg;
  35. BU32 (*handle)(BU32 message,BU32 wParam,BU32 lParam);
  36. }GUI_DLG_msg_handle_s,*GUI_DLG_msg_handle_sp;
  37. /*-------------------------------------------------------------------------------
  38. Function Declare
  39. -------------------------------------------------------------------------------*/
  40. PU08 GUI_DLG_API_GetVersion(void);
  41. void GUI_DLG_API_RegisterNoPaint(BU32 bu32ID,LPNoPaint lpNoPaint);
  42. #endif