]> git.saurik.com Git - wxWidgets.git/blame - docs/doxygen/mainpages/const_stdevtid.h
refactor WM_COMMAND messages handling in MDI frames to avoid duplicating code unneces...
[wxWidgets.git] / docs / doxygen / mainpages / const_stdevtid.h
CommitLineData
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
14wxWidgets defines a special identifier value @c wxID_ANY which is used in
15the 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
24Another standard special identifier value is @c wxID_NONE: this is a value
25which is not matched by any other id.
26
27wxWidgets also defines a few standard command identifiers which may be used by
28the user code and also are sometimes used by wxWidgets itself. These reserved
29identifiers are all in the range between @c wxID_LOWEST and
30@c wxID_HIGHEST and, accordingly, the user code should avoid defining its
31own constants in this range (e.g. by using wxNewId()).
32
33@verbatim
34wxID_LOWEST = 4999,
35
36wxID_OPEN,
37wxID_CLOSE,
38wxID_NEW,
39wxID_SAVE,
40wxID_SAVEAS,
41wxID_REVERT,
42wxID_EXIT,
43wxID_UNDO,
44wxID_REDO,
45wxID_HELP,
46wxID_PRINT,
47wxID_PRINT_SETUP,
48wxID_PAGE_SETUP,
49wxID_PREVIEW,
50wxID_ABOUT,
51wxID_HELP_CONTENTS,
52wxID_HELP_INDEX,
53wxID_HELP_SEARCH,
54wxID_HELP_COMMANDS,
55wxID_HELP_PROCEDURES,
56wxID_HELP_CONTEXT,
57wxID_CLOSE_ALL,
58wxID_PREFERENCES,
59
60wxID_EDIT = 5030,
61wxID_CUT,
62wxID_COPY,
63wxID_PASTE,
64wxID_CLEAR,
65wxID_FIND,
66wxID_DUPLICATE,
67wxID_SELECTALL,
68wxID_DELETE,
69wxID_REPLACE,
70wxID_REPLACE_ALL,
71wxID_PROPERTIES,
72
73wxID_VIEW_DETAILS,
74wxID_VIEW_LARGEICONS,
75wxID_VIEW_SMALLICONS,
76wxID_VIEW_LIST,
77wxID_VIEW_SORTDATE,
78wxID_VIEW_SORTNAME,
79wxID_VIEW_SORTSIZE,
80wxID_VIEW_SORTTYPE,
81
82wxID_FILE = 5050,
83wxID_FILE1,
84wxID_FILE2,
85wxID_FILE3,
86wxID_FILE4,
87wxID_FILE5,
88wxID_FILE6,
89wxID_FILE7,
90wxID_FILE8,
91wxID_FILE9,
92
93// Standard button and menu IDs
94wxID_OK = 5100,
95wxID_CANCEL,
96wxID_APPLY,
97wxID_YES,
98wxID_NO,
99wxID_STATIC,
100wxID_FORWARD,
101wxID_BACKWARD,
102wxID_DEFAULT,
103wxID_MORE,
104wxID_SETUP,
105wxID_RESET,
106wxID_CONTEXT_HELP,
107wxID_YESTOALL,
108wxID_NOTOALL,
109wxID_ABORT,
110wxID_RETRY,
111wxID_IGNORE,
112wxID_ADD,
113wxID_REMOVE,
114
115wxID_UP,
116wxID_DOWN,
117wxID_HOME,
118wxID_REFRESH,
119wxID_STOP,
120wxID_INDEX,
121
122wxID_BOLD,
123wxID_ITALIC,
124wxID_JUSTIFY_CENTER,
125wxID_JUSTIFY_FILL,
126wxID_JUSTIFY_RIGHT,
127wxID_JUSTIFY_LEFT,
128wxID_UNDERLINE,
129wxID_INDENT,
130wxID_UNINDENT,
131wxID_ZOOM_100,
132wxID_ZOOM_FIT,
133wxID_ZOOM_IN,
134wxID_ZOOM_OUT,
135wxID_UNDELETE,
136wxID_REVERT_TO_SAVED,
137
138// System menu IDs (used by wxUniv)
139wxID_SYSTEM_MENU = 5200,
140wxID_CLOSE_FRAME,
141wxID_MOVE_FRAME,
142wxID_RESIZE_FRAME,
143wxID_MAXIMIZE_FRAME,
144wxID_ICONIZE_FRAME,
145wxID_RESTORE_FRAME,
146
1483e5db
VZ
147// MDI window menu ids
148wxID_MDI_WINDOW_FIRST = 5230,
149wxID_MDI_WINDOW_CASCADE = wxID_MDI_WINDOW_FIRST,
150wxID_MDI_WINDOW_TILE_HORZ,
151wxID_MDI_WINDOW_TILE_VERT,
152wxID_MDI_WINDOW_ARRANGE_ICONS,
153wxID_MDI_WINDOW_PREV,
154wxID_MDI_WINDOW_NEXT,
155wxID_MDI_WINDOW_LAST = wxID_MDI_WINDOW_NEXT,
156
928f1a07
FM
157// IDs used by generic file dialog (13 consecutive starting from this value)
158wxID_FILEDLGG = 5900,
159
160// IDs used by generic file ctrl (4 consecutive starting from this value)
161wxID_FILECTRL = 5950,
162
163wxID_HIGHEST = 5999
164@endverbatim
4514447c
FM
165
166*/