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

数据库系统

开发平台:

C/C++

  1. #ifndef __GUI_REGCLASS_API_H_
  2. #define __GUI_REGCLASS_API_H_
  3. //regclass
  4. typedef BU32  (*WNDPROC)(BU32 hWnd,BU32 iMsg,BU32 wParam,BU32 lParam);
  5. typedef void  (*INITPROC)(BU32 hWnd,void * pAttrib);
  6. typedef void (*EVENTPROC)(BU32 hWnd,void *pAttrib);
  7. typedef void (*STATEPROC)(BU32 hWnd,void *pAttrib);
  8. typedef void (*FOCUSPROC)(BU32 hWnd,void *pAttrib);
  9. typedef void (*SETVALUEPROC)(BU32 hWnd,BU32 type,BU32 value,BU32 Param);
  10. typedef void (*GETVALUEPROC)(BU32 hWnd,BU32 type,BU32 * value,BU32 * Param);
  11. typedef struct _tagGUI_WndClass_s
  12. {
  13. PU08 lpszClassName;
  14. WNDPROC  lpfnWndProc;
  15. INITPROC lpfnInitProc;
  16. EVENTPROC lpfnEventProc;
  17. STATEPROC lpfnStateProc;
  18. FOCUSPROC lpfnFocusProc;
  19. SETVALUEPROC lpfnSetvalueProc;
  20. GETVALUEPROC lpfnGetvalueProc;
  21. struct _tagGUI_WndClass_s * pNext;
  22. }GUI_WndClass_s,* GUI_WndClass_sp;
  23. BU32 GUI_API_RegisterClass(GUI_WndClass_sp pWndClass);
  24. GUI_WndClass_sp GUI_API_GetRegClass(PU08 pClassName);
  25. #endif