Go to the source code of this file.
Defines | |
#define | CBWNDEXTRA (16) |
#define | GWL_RANGE (0) |
#define | GWL_CRNTVALUE (4) |
#define | GWL_TRIANGLEPRESSED (8) |
#define | GWL_EDITCTRL (12) |
#define | SPNM_SCROLLVALUE (WM_USER + 500) |
#define | TIME_DELAY (150) |
Enumerations | |
enum | TRIANGLEPRESSED { TP_NONE, TP_UP, TP_DOWN } |
Functions | |
ATOM | RegisterControlClass (HINSTANCE hInstance) |
LRESULT CALLBACK | SpinWndFn (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
BOOL WINAPI | DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved) |
Variables | |
char | _szControlName [] = "Spin" |
#define CBWNDEXTRA (16) |
#define GWL_RANGE (0) |
#define GWL_CRNTVALUE (4) |
#define GWL_TRIANGLEPRESSED (8) |
#define GWL_EDITCTRL (12) |
#define SPNM_SCROLLVALUE (WM_USER + 500) |
#define TIME_DELAY (150) |
Definition at line 22 of file SPIN_DLL.C.
enum TRIANGLEPRESSED |
ATOM NEAR RegisterControlClass | ( | HINSTANCE | hInstance | ) |
Definition at line 64 of file SPIN_DLL.C.
References _szControlName, CBWNDEXTRA, and SpinWndFn().
Referenced by DllMain().
LRESULT CALLBACK SpinWndFn | ( | HWND | hWnd, | |
UINT | uMsg, | |||
WPARAM | wParam, | |||
LPARAM | lParam | |||
) |
Definition at line 323 of file SPIN_DLL.C.
References FALSE, GWL_CRNTVALUE, GWL_EDITCTRL, GWL_RANGE, GWL_TRIANGLEPRESSED, SPNM_GETCRNTVALUE, SPNM_GETRANGE, SPNM_SCROLLVALUE, SPNM_SETCRNTVALUE, SPNM_SETEDITCTRL, SPNM_SETRANGE, SPNN_VALUECHANGE, SPNS_WRAP, TIME_DELAY, TP_DOWN, TP_UP, and TRUE.
Referenced by RegisterControlClass().
BOOL WINAPI DllMain | ( | HANDLE | hDLL, | |
DWORD | dwReason, | |||
LPVOID | lpReserved | |||
) |
Definition at line 39 of file SPIN_DLL.C.
References _szControlName, DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, FALSE, RegisterControlClass(), and TRUE.
char _szControlName[] = "Spin" |
Definition at line 26 of file SPIN_DLL.C.
Referenced by DllMain(), EditPathMovement(), and RegisterControlClass().