Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.5 KiB

  1. /*-----------------------------------------------------------------------
  2. | CTL3D.DLL
  3. |
  4. | Adds 3d effects to Windows controls
  5. |
  6. | See ctl3d.doc for info
  7. |
  8. -----------------------------------------------------------------------*/
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. BOOL WINAPI Ctl3dSubclassDlg(HWND, WORD);
  13. BOOL WINAPI Ctl3dSubclassDlgEx(HWND, DWORD);
  14. WORD WINAPI Ctl3dGetVer(void);
  15. BOOL WINAPI Ctl3dEnabled(void);
  16. HBRUSH WINAPI Ctl3dCtlColor(HDC, LONG); // ARCHAIC, use Ctl3dCtlColorEx
  17. HBRUSH WINAPI Ctl3dCtlColorEx(UINT wm, WPARAM wParam, LPARAM lParam);
  18. BOOL WINAPI Ctl3dColorChange(void);
  19. BOOL WINAPI Ctl3dSubclassCtl(HWND);
  20. LONG WINAPI Ctl3dDlgFramePaint(HWND, UINT, WPARAM, LPARAM);
  21. BOOL WINAPI Ctl3dAutoSubclass(HANDLE);
  22. BOOL WINAPI Ctl3dRegister(HANDLE);
  23. BOOL WINAPI Ctl3dUnregister(HANDLE);
  24. /* Ctl3dSubclassDlg3d flags */
  25. #define CTL3D_BUTTONS 0x0001
  26. #define CTL3D_LISTBOXES 0x0002
  27. #define CTL3D_EDITS 0x0004
  28. #define CTL3D_COMBOS 0x0008
  29. #define CTL3D_STATICTEXTS 0x0010
  30. #define CTL3D_STATICFRAMES 0x0020
  31. #define CTL3D_NODLGWINDOW 0x00010000
  32. #define CTL3D_ALL 0xffff
  33. #define WM_DLGBORDER (WM_USER+3567)
  34. /* WM_DLGBORDER *(int FAR *)lParam return codes */
  35. #define CTL3D_NOBORDER 0
  36. #define CTL3D_BORDER 1
  37. #define WM_DLGSUBCLASS (WM_USER+3568)
  38. /* WM_DLGSUBCLASS *(int FAR *)lParam return codes */
  39. #define CTL3D_NOSUBCLASS 0
  40. #define CTL3D_SUBCLASS 1
  41. /* Resource ID for 3dcheck.bmp (for .lib version of ctl3d) */
  42. #define CTL3D_3DCHECK 26567
  43. #ifdef __cplusplus
  44. }
  45. #endif