2 Screen saver library by Anders Norlander <anorland@hem2.passagen.se>
4 This library is (hopefully) compatible with Microsoft's
7 This is public domain software.
17 /* configure dialog identifier */
18 #define DLG_SCRNSAVECONFIGURE 2003
20 #define idsIsPassword 1000
21 #define idsIniFile 1001
22 #define idsScreenSaver 1002
23 #define idsPassword 1003
24 #define idsDifferentPW 1004
25 #define idsChangePW 1005
26 #define idsBadOldPW 1006
27 #define idsAppName 1007
28 #define idsNoHelpMemory 1008
29 #define idsHelpFile 1009
30 #define idsDefKeyword 1010
32 #define IDS_DESCRIPTION 1
35 #define WS_GT (WS_GROUP | WS_TABSTOP)
36 #define SCRM_VERIFYPW WM_APP
38 #define TITLEBARNAMELEN 40
39 #define APPNAMEBUFFERLEN 40
44 /* functions provided by the aothor of the screen saver */
45 BOOL WINAPI
ScreenSaverConfigureDialog(HWND
,UINT
,WPARAM
,LPARAM
);
46 BOOL WINAPI
RegisterDialogClasses(HANDLE
);
47 LONG WINAPI
ScreenSaverProc(HWND
,UINT
,WPARAM
,LPARAM
);
49 /* Change name of function if we are using UNICODE */
51 #define DefScreenSaverProc DefScreenSaverProcW
54 /* default screen saver proc; call instead of DefWindowProc */
55 LONG WINAPI
DefScreenSaverProc(HWND
,UINT
,WPARAM
,LPARAM
);
58 void WINAPI
ScreenSaverChangePassword(HWND
);
60 /* globals that may be used by screen saver */
61 extern HINSTANCE hMainInstance
;
62 extern HWND hMainWindow
;
63 extern BOOL fChildPreview
;
64 extern TCHAR szName
[];
65 extern TCHAR szAppName
[];
66 extern TCHAR szIniFile
[];
67 extern TCHAR szScreenSaver
[];
68 extern TCHAR szHelpFile
[];
69 extern TCHAR szNoHelpMemory
[];
70 extern UINT MyHelpMessage
;
72 #endif /* RC_INVOKED */
78 #endif /* _SCRNSAVE_H */