SUPERCLS.C File Reference

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 Documentation

#define MODULE_SUPERCLASS   1

Definition at line 3 of file SUPERCLS.C.

#define BCWNDPROCINDEX   (sizeof(WNDPROC))

Definition at line 26 of file SUPERCLS.C.

Referenced by GetBCWndProc().

#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))

Definition at line 31 of file SUPERCLS.C.

Referenced by RegisterSuperClass().

#define NOALPHA_CBCLSEXTRA   (0)

Definition at line 163 of file SUPERCLS.C.

Referenced by RegisterNoAlphaWndClass().

#define NOALPHA_CBWNDEXTRA   (4)

Definition at line 165 of file SUPERCLS.C.

Referenced by RegisterNoAlphaWndClass().

#define GSCWW_LOVALUE   (0)

Definition at line 166 of file SUPERCLS.C.

Referenced by NoAlphaWndProc().

#define GSCWW_HIVALUE   (2)

Definition at line 167 of file SUPERCLS.C.

Referenced by NoAlphaWndProc().


Typedef Documentation

typedef struct SUPERCLSINIT* LPSUPERCLSINIT


Function Documentation

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().

WORD WINAPI SetSCClassWord ( HWND  hWnd,
int  nIndex,
WORD  wNewWord 
)

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 SetSCWindowWord ( HWND  hWnd,
int  nIndex,
WORD  wNewWord 
)

Definition at line 140 of file SUPERCLS.C.

Referenced by NoAlphaWndProc().

WORD WINAPI GetSCWindowWord ( HWND  hWnd,
int  nIndex 
)

Definition at line 146 of file SUPERCLS.C.

Referenced by NoAlphaWndProc().

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 
)

ATOM RegisterNoAlphaWndClass ( HINSTANCE  hInstance  ) 

Definition at line 169 of file SUPERCLS.C.

References NOALPHA_CBCLSEXTRA, NOALPHA_CBWNDEXTRA, NoAlphaWndProc(), and RegisterSuperClass().

Referenced by WinMain().


Generated on Sun Apr 27 14:20:15 2014 for OpenFX by  doxygen 1.5.6