]>
Commit | Line | Data |
---|---|---|
4514447c FM |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: const_stdevtid.h | |
3 | // Purpose: std event values enumerated | |
4 | // Author: wxWidgets team | |
5 | // RCS-ID: $Id$ | |
6 | // Licence: wxWindows license | |
7 | ///////////////////////////////////////////////////////////////////////////// | |
8 | ||
9 | ||
880efa2a | 10 | /** |
4514447c | 11 | |
928f1a07 FM |
12 | @page page_stdevtid Standard event identifiers |
13 | ||
14 | wxWidgets defines a special identifier value @c wxID_ANY which is used in | |
15 | the following two situations: | |
16 | ||
17 | @li when creating a new window you may specify @c wxID_ANY to let | |
18 | wxWidgets assign an unused identifier to it automatically | |
19 | @li when installing an event handler using either the event table | |
20 | macros or wxEvtHandler::Connect, | |
21 | you may use it to indicate that you want to handle the events | |
22 | coming from any control, regardless of its identifier | |
23 | ||
24 | Another standard special identifier value is @c wxID_NONE: this is a value | |
25 | which is not matched by any other id. | |
26 | ||
27 | wxWidgets also defines a few standard command identifiers which may be used by | |
28 | the user code and also are sometimes used by wxWidgets itself. These reserved | |
29 | identifiers are all in the range between @c wxID_LOWEST and | |
30 | @c wxID_HIGHEST and, accordingly, the user code should avoid defining its | |
31 | own constants in this range (e.g. by using wxNewId()). | |
32 | ||
33 | @verbatim | |
34 | wxID_LOWEST = 4999, | |
35 | ||
36 | wxID_OPEN, | |
37 | wxID_CLOSE, | |
38 | wxID_NEW, | |
39 | wxID_SAVE, | |
40 | wxID_SAVEAS, | |
41 | wxID_REVERT, | |
42 | wxID_EXIT, | |
43 | wxID_UNDO, | |
44 | wxID_REDO, | |
45 | wxID_HELP, | |
46 | wxID_PRINT, | |
47 | wxID_PRINT_SETUP, | |
48 | wxID_PAGE_SETUP, | |
49 | wxID_PREVIEW, | |
50 | wxID_ABOUT, | |
51 | wxID_HELP_CONTENTS, | |
52 | wxID_HELP_INDEX, | |
53 | wxID_HELP_SEARCH, | |
54 | wxID_HELP_COMMANDS, | |
55 | wxID_HELP_PROCEDURES, | |
56 | wxID_HELP_CONTEXT, | |
57 | wxID_CLOSE_ALL, | |
58 | wxID_PREFERENCES, | |
59 | ||
60 | wxID_EDIT = 5030, | |
61 | wxID_CUT, | |
62 | wxID_COPY, | |
63 | wxID_PASTE, | |
64 | wxID_CLEAR, | |
65 | wxID_FIND, | |
66 | wxID_DUPLICATE, | |
67 | wxID_SELECTALL, | |
68 | wxID_DELETE, | |
69 | wxID_REPLACE, | |
70 | wxID_REPLACE_ALL, | |
71 | wxID_PROPERTIES, | |
72 | ||
73 | wxID_VIEW_DETAILS, | |
74 | wxID_VIEW_LARGEICONS, | |
75 | wxID_VIEW_SMALLICONS, | |
76 | wxID_VIEW_LIST, | |
77 | wxID_VIEW_SORTDATE, | |
78 | wxID_VIEW_SORTNAME, | |
79 | wxID_VIEW_SORTSIZE, | |
80 | wxID_VIEW_SORTTYPE, | |
81 | ||
82 | wxID_FILE = 5050, | |
83 | wxID_FILE1, | |
84 | wxID_FILE2, | |
85 | wxID_FILE3, | |
86 | wxID_FILE4, | |
87 | wxID_FILE5, | |
88 | wxID_FILE6, | |
89 | wxID_FILE7, | |
90 | wxID_FILE8, | |
91 | wxID_FILE9, | |
92 | ||
93 | // Standard button and menu IDs | |
94 | wxID_OK = 5100, | |
95 | wxID_CANCEL, | |
96 | wxID_APPLY, | |
97 | wxID_YES, | |
98 | wxID_NO, | |
99 | wxID_STATIC, | |
100 | wxID_FORWARD, | |
101 | wxID_BACKWARD, | |
102 | wxID_DEFAULT, | |
103 | wxID_MORE, | |
104 | wxID_SETUP, | |
105 | wxID_RESET, | |
106 | wxID_CONTEXT_HELP, | |
107 | wxID_YESTOALL, | |
108 | wxID_NOTOALL, | |
109 | wxID_ABORT, | |
110 | wxID_RETRY, | |
111 | wxID_IGNORE, | |
112 | wxID_ADD, | |
113 | wxID_REMOVE, | |
114 | ||
115 | wxID_UP, | |
116 | wxID_DOWN, | |
117 | wxID_HOME, | |
118 | wxID_REFRESH, | |
119 | wxID_STOP, | |
120 | wxID_INDEX, | |
121 | ||
122 | wxID_BOLD, | |
123 | wxID_ITALIC, | |
124 | wxID_JUSTIFY_CENTER, | |
125 | wxID_JUSTIFY_FILL, | |
126 | wxID_JUSTIFY_RIGHT, | |
127 | wxID_JUSTIFY_LEFT, | |
128 | wxID_UNDERLINE, | |
129 | wxID_INDENT, | |
130 | wxID_UNINDENT, | |
131 | wxID_ZOOM_100, | |
132 | wxID_ZOOM_FIT, | |
133 | wxID_ZOOM_IN, | |
134 | wxID_ZOOM_OUT, | |
135 | wxID_UNDELETE, | |
136 | wxID_REVERT_TO_SAVED, | |
137 | ||
138 | // System menu IDs (used by wxUniv) | |
139 | wxID_SYSTEM_MENU = 5200, | |
140 | wxID_CLOSE_FRAME, | |
141 | wxID_MOVE_FRAME, | |
142 | wxID_RESIZE_FRAME, | |
143 | wxID_MAXIMIZE_FRAME, | |
144 | wxID_ICONIZE_FRAME, | |
145 | wxID_RESTORE_FRAME, | |
146 | ||
147 | // IDs used by generic file dialog (13 consecutive starting from this value) | |
148 | wxID_FILEDLGG = 5900, | |
149 | ||
150 | // IDs used by generic file ctrl (4 consecutive starting from this value) | |
151 | wxID_FILECTRL = 5950, | |
152 | ||
153 | wxID_HIGHEST = 5999 | |
154 | @endverbatim | |
4514447c FM |
155 | |
156 | */ |