// --------------------------------------------------------------------------
//
//  INSPECT.H
//
//  Resource IDs
//
// --------------------------------------------------------------------------

#define IDD_MAIN        10

#define ID_PROPERTYFIRST    100
#define ID_NAME         100
#define ID_ROLE         101
#define ID_STATE        102
#define ID_LOCATION     103
#define ID_DESCRIPTION  104
#define ID_VALUE        105
#define ID_HELP         106
#define ID_SHORTCUT     107
#define ID_DEFAULT      108
#define ID_PARENT       109
#define ID_CHILDREN     110
#define ID_SELECTION    111
#define ID_WINDOW       112
#define ID_PROPERTYLAST 112


// Strings
#define STR_NAMEFIRST       10

#define CMD_SHOWCHILDREN    196
#define CMD_ALWAYSONTOP     197
#define CMD_FOLLOWFOCUS     198
#define CMD_FOLLOWCARET     199
#define CMD_USEINVOKE       200

#define CMD_DOPROPERTIES    201
#define CMD_DODEFAULT       202
#define CMD_DOSELECT        203
#define CMD_DOFOCUS         204
#define CMD_DONEXT          205
#define CMD_DOPREVIOUS      206
#define CMD_DOLEFT          207
#define CMD_DOUP            208
#define CMD_DORIGHT         209
#define CMD_DODOWN          210

//
// Macros
//
#define ARRAYSIZE(rg)       (sizeof(rg) / sizeof(rg[0]))

#ifdef DEBUG
#define Assert(f)       if (!(f)) DebugBreak()
#else
#define Assert(f)
#endif


#define WM_DOPROPERTIES         (WM_APP+1)
#define WM_DONAVIGATE           (WM_APP+2)     // wParam is TRUE/FALSE
#define WM_DOSELECT             (WM_APP+3)     // wParam is SELFLAGS
#define WM_DODEFAULT            (WM_APP+4)
#define WM_DODIRECTION          (WM_APP+5)     // wParam is NAVDIR

extern __declspec(dllexport) BOOL WINAPI InstallHook(HWND hwnd, BOOL fInstall);
