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.

32 lines
1.2 KiB

  1. #ifndef __SCROLL_H__
  2. #define __SCROLL_H__
  3. //-------------------------------------------------------------------------//
  4. #ifndef WC_SCROLLBAR
  5. // ScrollBar Ctl Class Name
  6. #define WC_SCROLLBARW L"UxScrollBar"
  7. #define WC_SCROLLBARA "UxScrollBar"
  8. #ifdef UNICODE
  9. #define WC_SCROLLBAR WC_SCROLLBARW
  10. #else
  11. #define WC_SCROLLBAR WC_SCROLLBARA
  12. #endif
  13. #endif WC_SCROLLBAR
  14. //-------------------------------------------------------------------------//
  15. // Window scroll bar methods
  16. void WINAPI DrawSizeBox( HWND, HDC, int x, int y);
  17. void WINAPI DrawScrollBar( HWND, HDC, LPRECT, BOOL fVert);
  18. HWND WINAPI SizeBoxHwnd( HWND hwnd );
  19. BOOL WINAPI ScrollBar_MouseMove( HWND, LPPOINT, BOOL fVert);
  20. VOID WINAPI ScrollBar_Menu(HWND, HWND, LPARAM, BOOL fVert);
  21. void WINAPI HandleScrollCmd( HWND hwnd, WPARAM wParam, LPARAM lParam );
  22. void WINAPI DetachScrollBars( HWND hwnd );
  23. void WINAPI AttachScrollBars( HWND hwnd );
  24. LONG WINAPI ThemeSetScrollInfo( HWND, int, LPCSCROLLINFO, BOOL );
  25. BOOL WINAPI ThemeGetScrollInfo( HWND, int, LPSCROLLINFO );
  26. BOOL WINAPI ThemeEnableScrollBar( HWND, UINT, UINT );
  27. #endif //__SCROLL_H__