ReactOS 0.4.15-dev-8131-g4988de4
scroll.h
Go to the documentation of this file.
1#pragma once
2
3typedef VOID (NEAR NTAPI *PFN_SCROLLBAR)(PWND, UINT, WPARAM, LPARAM, PSBCALC);
4
5typedef struct tagSBTRACK
6{
15 PFN_SCROLLBAR xxxpfnSB;
25
26/*
27typedef 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 VOID
Definition: acefi.h:82
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
struct _WND * PWND
static HDC
Definition: imagelist.c:92
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
unsigned int UINT
Definition: ndis.h:50
#define FASTCALL
Definition: nt_native.h:50
#define CONST
Definition: pedump.c:81
long LONG
Definition: pedump.c:60
DWORD FASTCALL IntScrollWindowEx(PWND, INT, INT, const RECT *, const RECT *, HRGN, LPRECT, UINT)
Definition: scrollex.c:228
typedef LPARAM
Definition: scroll.h:3
typedef WPARAM
Definition: scroll.h:3
typedef UINT
Definition: scroll.h:3
DWORD FASTCALL co_UserShowScrollBar(PWND, int, BOOL, BOOL)
Definition: scrollbar.c:852
BOOL FASTCALL IntDestroyScrollBars(PWND)
Definition: scrollbar.c:799
struct tagSBTRACK SBTRACK
typedef PSBCALC
Definition: scroll.h:3
struct tagSBTRACK * PSBTRACK
BOOL FASTCALL co_IntGetScrollBarInfo(PWND, LONG, PSCROLLBARINFO)
Definition: scrollbar.c:666
BOOL FASTCALL co_IntCreateScrollBars(PWND)
Definition: scrollbar.c:748
BOOL FASTCALL IntScrollWindow(PWND, int, int, CONST RECT *, CONST RECT *)
Definition: scrollex.c:458
void IntDrawScrollBar(PWND, HDC, INT)
Definition: scrollbar.c:1072
BOOL FASTCALL co_IntSetScrollBarInfo(PWND, LONG, PSETSCROLLBARINFO)
Definition: scrollbar.c:715
Definition: ntuser.h:694
ULONG fHitOld
Definition: scroll.h:7
PWND spwndSBNotify
Definition: scroll.h:13
UINT_PTR hTimerSB
Definition: scroll.h:17
ULONG fTrackVert
Definition: scroll.h:8
ULONG fTrackRecalc
Definition: scroll.h:10
RECT rcTrack
Definition: scroll.h:14
INT dpxThumb
Definition: scroll.h:18
PFN_SCROLLBAR xxxpfnSB
Definition: scroll.h:15
UINT cmdSB
Definition: scroll.h:16
PSBCALC pSBCalc
Definition: scroll.h:23
INT nBar
Definition: scroll.h:22
INT posOld
Definition: scroll.h:20
INT pxOld
Definition: scroll.h:19
PWND spwndSB
Definition: scroll.h:12
INT posNew
Definition: scroll.h:21
ULONG fCtlSB
Definition: scroll.h:9
PWND spwndTrack
Definition: scroll.h:11
#define NTAPI
Definition: typedefs.h:36
int32_t INT
Definition: typedefs.h:58
uint32_t ULONG
Definition: typedefs.h:59
#define NEAR
Definition: windef.h:146