ReactOS  0.4.13-dev-99-g7e18b6d
scroll.h
Go to the documentation of this file.
1 #pragma once
2 
3 typedef VOID (NEAR NTAPI *PFN_SCROLLBAR)(PWND, UINT, WPARAM, LPARAM, PSBCALC);
4 
5 typedef struct tagSBTRACK
6 {
15  PFN_SCROLLBAR xxxpfnSB;
24 } SBTRACK, *PSBTRACK;
25 
26 /*
27 typedef struct _SBINFOEX
28 {
29  SCROLLBARINFO ScrollBarInfo;
30  SCROLLINFO ScrollInfo;
31 } SBINFOEX, *PSBINFOEX;
32 */
33 #define IntGetScrollbarInfoFromWindow(Window, i) \
34  ((PSCROLLBARINFO)(&((Window)->pSBInfoex + i)->ScrollBarInfo))
35 
36 #define IntGetScrollInfoFromWindow(Window, i) \
37  ((LPSCROLLINFO)(&((Window)->pSBInfoex + i)->ScrollInfo))
38 
39 #define SBOBJ_TO_SBID(Obj) ((Obj) - OBJID_HSCROLL)
40 #define SBID_IS_VALID(id) (id == SB_HORZ || id == SB_VERT || id == SB_CTL)
41 
#define NEAR
Definition: windef.h:146
struct tagSBTRACK * PSBTRACK
typedef PSBCALC
Definition: scroll.h:3
INT dpxThumb
Definition: scroll.h:18
INT posOld
Definition: scroll.h:20
void IntDrawScrollBar(PWND, HDC, INT)
Definition: scrollbar.c:1073
DWORD FASTCALL IntScrollWindowEx(PWND, INT, INT, const RECT *, const RECT *, HRGN, LPRECT, UINT)
Definition: scrollex.c:228
PSBCALC pSBCalc
Definition: scroll.h:23
static HDC
Definition: imagelist.c:92
DWORD FASTCALL co_UserShowScrollBar(PWND, int, BOOL, BOOL)
Definition: scrollbar.c:859
ULONG fTrackVert
Definition: scroll.h:8
#define FASTCALL
Definition: nt_native.h:50
int32_t INT
Definition: typedefs.h:56
ULONG fTrackRecalc
Definition: scroll.h:10
typedef LPARAM
Definition: scroll.h:3
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
typedef WPARAM
Definition: scroll.h:3
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
INT posNew
Definition: scroll.h:21
ULONG fHitOld
Definition: scroll.h:7
ULONG fCtlSB
Definition: scroll.h:9
PWND spwndSBNotify
Definition: scroll.h:13
RECT rcTrack
Definition: scroll.h:14
BOOL FASTCALL co_IntGetScrollBarInfo(PWND, LONG, PSCROLLBARINFO)
Definition: scrollbar.c:668
UINT_PTR hTimerSB
Definition: scroll.h:17
PWND spwndTrack
Definition: scroll.h:11
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
BOOL FASTCALL co_IntCreateScrollBars(PWND)
Definition: scrollbar.c:750
PWND spwndSB
Definition: scroll.h:12
UINT cmdSB
Definition: scroll.h:16
BOOL FASTCALL co_IntSetScrollBarInfo(PWND, LONG, PSETSCROLLBARINFO)
Definition: scrollbar.c:717
PFN_SCROLLBAR xxxpfnSB
Definition: scroll.h:15
Definition: ntuser.h:657
struct _WND * PWND
struct tagSBTRACK SBTRACK
BOOL FASTCALL IntDestroyScrollBars(PWND)
Definition: scrollbar.c:806
INT pxOld
Definition: scroll.h:19
unsigned int UINT
Definition: ndis.h:50
typedef UINT
Definition: scroll.h:3
typedef VOID(NEAR NTAPI *PFN_SCROLLBAR)(PWND
unsigned int ULONG
Definition: retypes.h:1
BOOL FASTCALL IntScrollWindow(PWND, int, int, CONST RECT *, CONST RECT *)
Definition: scrollex.c:454
INT nBar
Definition: scroll.h:22
#define CONST
Definition: pedump.c:81