Go to the source code of this file.
Defines | |
#define | MODULE_SUPERCLASS 1 |
#define | BCWNDPROCINDEX (sizeof(WNDPROC)) |
#define | CBBCCLSEXTRAINDEX (sizeof(WNDPROC) + sizeof(int)) |
#define | CBBCWNDEXTRAINDEX (sizeof(WNDPROC) + sizeof(int) + sizeof(int)) |
#define | MINCBCLSADDTIONAL (sizeof(WNDPROC) + sizeof(int) + sizeof(int)) |
#define | NOALPHA_CBCLSEXTRA (0) |
#define | NOALPHA_CBWNDEXTRA (4) |
#define | GSCWW_LOVALUE (0) |
#define | GSCWW_HIVALUE (2) |
Typedefs | |
typedef struct SUPERCLSINIT * | LPSUPERCLSINIT |
Functions | |
ATOM WINAPI | RegisterSuperClass (LPWNDCLASS WndClass, WNDPROC lpfpSCWndProc, int cbClsAdditional, int cbWndAdditional) |
WNDPROC WINAPI | GetBCWndProc (HWND hWnd) |
WORD WINAPI | SetSCClassWord (HWND hWnd, int nIndex, WORD wNewWord) |
WORD WINAPI | GetSCClassWord (HWND hWnd, int nIndex) |
DWORD WINAPI | SetSCClassLong (HWND hWnd, int nIndex, DWORD dwNewLong) |
DWORD WINAPI | GetSCClassLong (HWND hWnd, int nIndex) |
WORD WINAPI | SetSCWindowWord (HWND hWnd, int nIndex, WORD wNewWord) |
WORD WINAPI | GetSCWindowWord (HWND hWnd, int nIndex) |
DWORD WINAPI | GetSCWindowLong (HWND hWnd, int nIndex) |
DWORD WINAPI | SetSCWindowLong (HWND hWnd, int nIndex, DWORD dwNewLong) |
LRESULT CALLBACK | NoAlphaWndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
ATOM | RegisterNoAlphaWndClass (HINSTANCE hInstance) |
#define MODULE_SUPERCLASS 1 |
Definition at line 3 of file SUPERCLS.C.
#define BCWNDPROCINDEX (sizeof(WNDPROC)) |
#define CBBCCLSEXTRAINDEX (sizeof(WNDPROC) + sizeof(int)) |
Definition at line 27 of file SUPERCLS.C.
#define CBBCWNDEXTRAINDEX (sizeof(WNDPROC) + sizeof(int) + sizeof(int)) |
Definition at line 28 of file SUPERCLS.C.
#define MINCBCLSADDTIONAL (sizeof(WNDPROC) + sizeof(int) + sizeof(int)) |
#define NOALPHA_CBCLSEXTRA (0) |
#define NOALPHA_CBWNDEXTRA (4) |
#define GSCWW_LOVALUE (0) |
#define GSCWW_HIVALUE (2) |
typedef struct SUPERCLSINIT* LPSUPERCLSINIT |
ATOM WINAPI RegisterSuperClass | ( | LPWNDCLASS | WndClass, | |
WNDPROC | lpfpSCWndProc, | |||
int | cbClsAdditional, | |||
int | cbWndAdditional | |||
) |
Definition at line 69 of file SUPERCLS.C.
References _SetRangeMsg, _ValidRangeMsg, FALSE, MINCBCLSADDTIONAL, and TRUE.
Referenced by RegisterNoAlphaWndClass().
WNDPROC WINAPI GetBCWndProc | ( | HWND | hWnd | ) |
Definition at line 95 of file SUPERCLS.C.
References BCWNDPROCINDEX.
Referenced by NoAlphaWndProc().
Definition at line 118 of file SUPERCLS.C.
WORD WINAPI GetSCClassWord | ( | HWND | hWnd, | |
int | nIndex | |||
) |
Definition at line 124 of file SUPERCLS.C.
DWORD WINAPI SetSCClassLong | ( | HWND | hWnd, | |
int | nIndex, | |||
DWORD | dwNewLong | |||
) |
Definition at line 129 of file SUPERCLS.C.
DWORD WINAPI GetSCClassLong | ( | HWND | hWnd, | |
int | nIndex | |||
) |
Definition at line 135 of file SUPERCLS.C.
WORD WINAPI GetSCWindowWord | ( | HWND | hWnd, | |
int | nIndex | |||
) |
DWORD WINAPI GetSCWindowLong | ( | HWND | hWnd, | |
int | nIndex | |||
) |
Definition at line 157 of file SUPERCLS.C.
DWORD WINAPI SetSCWindowLong | ( | HWND | hWnd, | |
int | nIndex, | |||
DWORD | dwNewLong | |||
) |
Definition at line 151 of file SUPERCLS.C.
LRESULT CALLBACK NoAlphaWndProc | ( | HWND | hWnd, | |
UINT | uMsg, | |||
WPARAM | wParam, | |||
LPARAM | lParam | |||
) |
Definition at line 182 of file SUPERCLS.C.
References _SetRangeMsg, _ValidRangeMsg, FALSE, GetBCWndProc(), GetSCWindowWord(), GSCWW_HIVALUE, GSCWW_LOVALUE, L, SetSCWindowWord(), and TRUE.
Referenced by RegisterNoAlphaWndClass().
ATOM RegisterNoAlphaWndClass | ( | HINSTANCE | hInstance | ) |
Definition at line 169 of file SUPERCLS.C.
References NOALPHA_CBCLSEXTRA, NOALPHA_CBWNDEXTRA, NoAlphaWndProc(), and RegisterSuperClass().
Referenced by WinMain().