Bug fixes (thanks to Juergen Schmied).
[wine/multimedia.git] / include / scroll.h
blobf8f10b1d37b8d8e5dc6df95651daef8b4e02b93a
1 /*
2 * Scroll-bar class extra info
4 * Copyright 1993 Martin Ayotte
5 * Copyright 1994 Alexandre Julliard
6 */
8 #ifndef __WINE_SCROLL_H
9 #define __WINE_SCROLL_H
11 #include "windef.h"
13 struct tagWND;
15 typedef struct
17 INT CurVal; /* Current scroll-bar value */
18 INT MinVal; /* Minimum scroll-bar value */
19 INT MaxVal; /* Maximum scroll-bar value */
20 INT Page; /* Page size of scroll bar (Win32) */
21 UINT flags; /* EnableScrollBar flags */
22 } SCROLLBAR_INFO;
24 extern LRESULT WINAPI ScrollBarWndProc( HWND hwnd, UINT uMsg,
25 WPARAM wParam, LPARAM lParam );
27 extern void SCROLL_DrawScrollBar( HWND hwnd, HDC hdc, INT nBar,
28 BOOL arrows, BOOL interior );
29 extern void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar,
30 UINT msg, POINT pt );
31 extern INT SCROLL_SetNCSbState( struct tagWND *wndPtr, int vMin, int vMax, int vPos,
32 int hMin, int hMax, int hPos );
33 #endif /* __WINE_SCROLL_H */