;     include files
;     ~~~~~~~~~~~~~
    include \masm32\include\windows.inc
    include \masm32\include\masm32.inc
    include \masm32\include\gdi32.inc
    include \masm32\include\user32.inc
    include \masm32\include\kernel32.inc
    include \masm32\include\comctl32.inc
    include \masm32\include\debug.inc
    include \masm32\include\Msimg32.inc
    include \masm32\include\winmm.inc
      
;     libraries
;     ~~~~~~~~~
    includelib \masm32\lib\masm32.lib
    includelib \masm32\lib\gdi32.lib
    includelib \masm32\lib\user32.lib
    includelib \masm32\lib\kernel32.lib
    includelib \masm32\lib\comctl32.lib      
    includelib \masm32\lib\debug.lib
    includelib \masm32\lib\Msimg32.lib
    includelib \masm32\lib\winmm.lib

;     macros
;     ~~~~~~~~~
    include   \masm32\macros\macros.asm
    include   XXMacros.inc
 
 
SetNewWndProc   PROTO   :HWND, :DWORD
SetOldWndProc   PROTO   :HWND, :DWORD

    

.data
szGlyphFont         db      "Marlett",0
szProp_OldWndProc   db      "OLD_WND_PROC",0
szProp_Struct       db      "CTRL_STRUCT",0

.const

GRAY        equ 1
SELECT      equ 2
UNSELECT    equ 3

WIN_NT4     equ 1
WIN_2000    equ 2
WIN_XP      equ 3
WIN_NT3     equ 4 
WIN_32s     equ 5
WIN_98      equ 6 
WIN_ME      equ 7
WIN_95      equ 8

DARK_UP    equ 1
DARK_DOWN  equ 2
DARK_LEFT  equ 1
DARK_RIGHT equ 2

DARK_NONE  equ 0

SPI_GETDROPSHADOW equ 1024h

GRADIENT_FILL_RECT_H	equ	00000000h
GRADIENT_FILL_RECT_V	equ	00000001h
GRADIENT_FILL_TRIANGLE	equ 	00000002h
GRADIENT_FILL_OP_FLAG	equ	000000ffh

RAND_MAX        equ 7fffh    