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