--- q_a/samples/spincube/spintest.h 2018/08/09 18:29:19 1.1 +++ q_a/samples/spincube/spintest.h 2018/08/09 18:29:20 1.1.1.2 @@ -1,32 +1,34 @@ -/************************************************************************\ +/******************************************************************************\ * -* SPINTEST.H +* SPINTEST.H * -\************************************************************************/ +\******************************************************************************/ -/************************************************************************\ -* SYMBOLIC CONSTANTS -\************************************************************************/ +/******************************************************************************\ +* SYMBOLIC CONSTANTS +\******************************************************************************/ -#define IDM_ABOUT 101 /* the only menuitem */ +#define IDM_DLGEDITDIALOG 101 /* menuitem id's */ +#define IDM_ABOUT 102 -#define BORDER 4 +#define BORDER 4 -/************************************************************************\ -* GLOBAL VARIABLES -\************************************************************************/ +/******************************************************************************\ +* GLOBAL VARIABLES +\******************************************************************************/ -HANDLE hInst; -HWND hwndSpin[3]; +HANDLE ghInst; +HWND gahwndSpin[3]; -/************************************************************************\ -* FUNCTION PROTOTYPES -\************************************************************************/ +/******************************************************************************\ +* FUNCTION PROTOTYPES +\******************************************************************************/ -LONG MainWndProc (HWND, UINT, UINT, LONG); -BOOL SpintestDlgProc (HWND, UINT, UINT, LONG); +LRESULT CALLBACK MainWndProc (HWND, UINT, WPARAM, LPARAM); +LRESULT CALLBACK SpintestDlgProc (HWND, UINT, WPARAM, LPARAM); +LRESULT CALLBACK AboutDlgProc (HWND, UINT, WPARAM, LPARAM);