For a radio button even if the initial style includes WS_TABSTOP the
[wine/wine64.git] / programs / clock / main.h
blob00c4abc02b5142b29058a7fcba6e692b5b71acb1
1 /*
2 * Clock (main.h)
4 * Copyright 1998 Marcel Baur <mbaur@g26.ethz.ch>
5 */
7 #define MAX_STRING_LEN 255
8 #define MAX_PATHNAME_LEN 1024
9 #define MAX_LANGUAGE_NUMBER (CL_LAST_LANGUAGE - CL_FIRST_LANGUAGE)
11 #define HELPFILE "clock.hlp"
12 #define DEFAULTICON OIC_WINLOGO
14 /* hide the following from winerc */
15 #ifndef RC_INVOKED
17 typedef struct
19 HANDLE hInstance;
20 HWND hMainWnd;
21 HICON hMainIcon;
22 HICON hDefaultIcon;
23 HMENU hMainMenu;
24 HMENU hPropertiesMenu;
25 HMENU hLanguageMenu;
26 HMENU hInfoMenu;
27 HMENU hSystemMenu;
28 HMENU hPopupMenu1;
29 LPCSTR lpszIniFile;
30 LPCSTR lpszIcoFile;
31 UINT wStringTableOffset;
33 BOOL bAnalog;
34 BOOL bAlwaysOnTop;
35 BOOL bWithoutTitle;
36 BOOL bSeconds;
37 BOOL bDate;
39 int MaxX;
40 int MaxY;
41 } CLOCK_GLOBALS;
43 extern CLOCK_GLOBALS Globals;
45 /* function prototypes */
46 VOID MAIN_FileChooseFont(VOID);
48 /* class names */
50 /* Resource names */
51 extern CHAR STRING_MENU_Xx[];
53 #define STRINGID(id) (0x##id + Globals.wStringTableOffset)
55 #else /* RC_INVOKED */
57 #define STRINGID(id) id
59 #endif
61 /* string table index */
62 #define IDS_LANGUAGE_ID STRINGID(00)
63 #define IDS_LANGUAGE_MENU_ITEM STRINGID(01)
64 #define IDS_CLOCK STRINGID(02)
65 #define IDS_MENU_ON_TOP STRINGID(03)
67 /* main menu */
69 #define CL_ON_TOP 99
71 #define CL_ANALOG 100
72 #define CL_DIGITAL 101
73 #define CL_FONT 102
74 #define CL_WITHOUT_TITLE 103
75 #define CL_SECONDS 104
76 #define CL_DATE 105
78 #define CL_LANGUAGE 200
80 #define CL_INFO 301
81 #define CL_INFO_LICENSE 302
82 #define CL_INFO_NO_WARRANTY 303
83 #define CL_INFO_ABOUT_WINE 304
85 #define CL_FIRST_LANGUAGE 200
86 #define CL_LAST_LANGUAGE 220