1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#define cDefaultSnapWidth 12 typedef struct TOptions { bool DoSnap; int SnapWidth; bool ScriverWorkAround; } TOptions; extern HANDLE hInitOptionsHook; extern TOptions Options; int CALLBACK OptionsDlgProc(HWND, UINT, WPARAM, LPARAM); int InitOptions(WPARAM, LPARAM); void LoadOptions();