home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / NEWS / 4418 / DEMO / SOURCE.ZIP / USECT3D.H < prev    next >
Text File  |  1993-05-20  |  1KB  |  36 lines

  1. #define useCtl3dRegister(a) LoadRegistCtlModule(a)
  2.  
  3. BOOL LoadRegistCtlModule(HANDLE hInst);
  4. BOOL useCtl3dUnregister(HANDLE hInst);
  5. BOOL useCtl3dAutoSubclass(HANDLE hInst);
  6. BOOL useCtl3dSubclassDlg(HWND hWnd, WORD word);
  7. BOOL useCtl3dSubclassCtl(HWND hWnd);
  8. BOOL useCtl3dColorChange(void);
  9. typedef UINT    (CALLBACK * LPFNHOOK)(HWND, UINT, WPARAM, LPARAM);
  10.  
  11. LPFNHOOK GetCDLGProc(void);
  12. BOOL GetCtl3dState(void);
  13.  
  14. HBRUSH useCtl3dCtlColorEx(UINT wm, WPARAM wParam, LPARAM lParam);
  15. LONG useCtl3dDlgFramePaint(HWND hwnd, UINT ui, WPARAM wp, LPARAM lp);
  16.  
  17. /* Ctl3dSubclassDlg3d flags */
  18. #define CTL3D_BUTTONS           0x0001
  19. #define CTL3D_LISTBOXES         0x0002          
  20. #define CTL3D_EDITS                     0x0004  
  21. #define CTL3D_COMBOS                    0x0008          
  22. #define CTL3D_STATICTEXTS       0x0010          
  23. #define CTL3D_STATICFRAMES      0x0020
  24.  
  25. #define CTL3D_ALL                               0xffff
  26.  
  27. #define WM_DLGBORDER (WM_USER+3567)
  28. /* WM_DLGBORDER *(int FAR *)lParam return codes */
  29. #define CTL3D_NOBORDER          0
  30. #define CTL3D_BORDER                    1
  31.  
  32. #define WM_DLGSUBCLASS (WM_USER+3568)
  33. /* WM_DLGSUBCLASS *(int FAR *)lParam return codes */
  34. #define CTL3D_NOSUBCLASS        0
  35. #define CTL3D_SUBCLASS          1
  36.