1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>wxPropertyGrid: wxPropertyGrid Window Styles</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
<!-- Generated by Doxygen 1.3.6 -->
7
<div class="qindex"> <form class="search" action="search.php" method="get">
8
<a class="qindex" href="index.htm">Main Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="hierarchy.htm">Class Hierarchy</a> | <a class="qindex" href="classes.htm">Alphabetical List</a> | <a class="qindex" href="annotated.htm">Class List</a> | <a class="qindex" href="functions.htm">Class Members</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
9
<h1>wxPropertyGrid Window Styles</h1>SetWindowStyleFlag method can be used to modify some of these at run-time.
10
<a href="#_details">More...</a><table border=0 cellpadding=0 cellspacing=0>
12
<tr><td colspan=2><br><h2>Defines</h2></td></tr>
13
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga2" doxytag="wndflags::wxPG_ALPHABETIC_MODE" ></a>
14
#define </td><td class="memItemRight" valign=bottom><b>wxPG_ALPHABETIC_MODE</b> (wxPG_HIDE_CATEGORIES|wxPG_AUTO_SORT)</td></tr>
16
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga0">wxPG_AUTO_SORT</a> 0x00000010</td></tr>
18
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga3">wxPG_BOLD_MODIFIED</a> 0x00000040</td></tr>
20
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga13">wxPG_COMPACTOR</a> 0x00004000</td></tr>
22
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga22">wxPG_DEFAULT_STYLE</a> (0)</td></tr>
24
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga12">wxPG_DESCRIPTION</a> 0x00002000</td></tr>
26
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga21">wxPG_EX_AUTO_UNSPECIFIED_VALUES</a> 0x00200000</td></tr>
28
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga18">wxPG_EX_GREY_LABEL_WHEN_DISABLED</a> 0x00040000</td></tr>
30
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga17">wxPG_EX_HELP_AS_TOOLTIPS</a> 0x00010000</td></tr>
32
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga14">wxPG_EX_INIT_NOCAT</a> 0x00001000</td></tr>
34
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga16">wxPG_EX_MODE_BUTTONS</a> 0x00008000</td></tr>
36
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga19">wxPG_EX_NATIVE_DOUBLE_BUFFERING</a> 0x00080000</td></tr>
38
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga15">wxPG_EX_NO_FLAT_TOOLBAR</a> 0x00002000</td></tr>
40
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga20">wxPG_EX_PROCESS_EVENTS_IMMEDIATELY</a> 0x00100000</td></tr>
42
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga1">wxPG_HIDE_CATEGORIES</a> 0x00000020</td></tr>
44
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga6">wxPG_HIDE_MARGIN</a> 0x00000200</td></tr>
46
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga9">wxPG_LIMITED_EDITING</a> 0x00000800</td></tr>
48
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga4">wxPG_SPLITTER_AUTO_CENTER</a> 0x00000080</td></tr>
50
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga8">wxPG_STATIC_LAYOUT</a> (wxPG_HIDE_MARGIN|wxPG_STATIC_SPLITTER)</td></tr>
52
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga7">wxPG_STATIC_SPLITTER</a> 0x00000400</td></tr>
54
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga11">wxPG_TOOLBAR</a> 0x00001000</td></tr>
56
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga5">wxPG_TOOLTIPS</a> 0x00000100</td></tr>
58
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga23">wxPGMAN_DEFAULT_STYLE</a> (0)</td></tr>
60
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__wndflags.htm#ga10">wxTAB_TRAVERSAL</a> 0x00080000</td></tr>
63
<hr><a name="_details"></a><h2>Detailed Description</h2>
64
SetWindowStyleFlag method can be used to modify some of these at run-time.
66
<hr><h2>Define Documentation</h2>
67
<a class="anchor" name="ga0" doxytag="propgrid.h::wxPG_AUTO_SORT" ></a><p>
68
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
71
<table cellpadding="0" cellspacing="0" border="0">
73
<td class="md" nowrap valign="top"> #define wxPG_AUTO_SORT 0x00000010
78
<table cellspacing=5 cellpadding=0 border=0>
86
This will cause Sort() automatically after an item is added.
88
When inserting a lot of items in this mode, it may make sense to use Freeze() before operations and Thaw() afterwards to increase performance. </td>
91
<a class="anchor" name="ga3" doxytag="propgrid.h::wxPG_BOLD_MODIFIED" ></a><p>
92
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
95
<table cellpadding="0" cellspacing="0" border="0">
97
<td class="md" nowrap valign="top"> #define wxPG_BOLD_MODIFIED 0x00000040
102
<table cellspacing=5 cellpadding=0 border=0>
110
Modified values are shown in bold font.
112
Changing this requires Refresh() to show changes. </td>
115
<a class="anchor" name="ga13" doxytag="propgrid.h::wxPG_COMPACTOR" ></a><p>
116
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
119
<table cellpadding="0" cellspacing="0" border="0">
121
<td class="md" nowrap valign="top"> #define wxPG_COMPACTOR 0x00004000
126
<table cellspacing=5 cellpadding=0 border=0>
134
<a class="el" href="classwxPropertyGridManager.htm">wxPropertyGridManager</a> only: Show compactor button that toggles hidden state of low-priority properties.
139
<a class="anchor" name="ga22" doxytag="propgrid.h::wxPG_DEFAULT_STYLE" ></a><p>
140
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
143
<table cellpadding="0" cellspacing="0" border="0">
145
<td class="md" nowrap valign="top"> #define wxPG_DEFAULT_STYLE (0)
150
<table cellspacing=5 cellpadding=0 border=0>
158
Combines various styles.
163
<a class="anchor" name="ga12" doxytag="propgrid.h::wxPG_DESCRIPTION" ></a><p>
164
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
167
<table cellpadding="0" cellspacing="0" border="0">
169
<td class="md" nowrap valign="top"> #define wxPG_DESCRIPTION 0x00002000
174
<table cellspacing=5 cellpadding=0 border=0>
182
<a class="el" href="classwxPropertyGridManager.htm">wxPropertyGridManager</a> only: Show adjustable text box showing description or help text, if available, for currently selected property.
187
<a class="anchor" name="ga21" doxytag="propgrid.h::wxPG_EX_AUTO_UNSPECIFIED_VALUES" ></a><p>
188
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
191
<table cellpadding="0" cellspacing="0" border="0">
193
<td class="md" nowrap valign="top"> #define wxPG_EX_AUTO_UNSPECIFIED_VALUES 0x00200000
198
<table cellspacing=5 cellpadding=0 border=0>
206
Set this style to let user have ability to set values of properties to unspecified state.
208
Currently, this applies to following properties:<ul>
209
<li>wxIntProperty, wxUIntProperty, and wxFloatProperty: Clear the text field. </li></ul>
213
<a class="anchor" name="ga18" doxytag="propgrid.h::wxPG_EX_GREY_LABEL_WHEN_DISABLED" ></a><p>
214
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
217
<table cellpadding="0" cellspacing="0" border="0">
219
<td class="md" nowrap valign="top"> #define wxPG_EX_GREY_LABEL_WHEN_DISABLED 0x00040000
224
<table cellspacing=5 cellpadding=0 border=0>
232
Set this style to have labels of disabled properties become greyed along with the values.
237
<a class="anchor" name="ga17" doxytag="propgrid.h::wxPG_EX_HELP_AS_TOOLTIPS" ></a><p>
238
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
241
<table cellpadding="0" cellspacing="0" border="0">
243
<td class="md" nowrap valign="top"> #define wxPG_EX_HELP_AS_TOOLTIPS 0x00010000
248
<table cellspacing=5 cellpadding=0 border=0>
256
Show property help strings as tool tips instead as text on the status bar.
258
You can set the help strings using SetPropertyHelpString member function. </td>
261
<a class="anchor" name="ga14" doxytag="propgrid.h::wxPG_EX_INIT_NOCAT" ></a><p>
262
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
265
<table cellpadding="0" cellspacing="0" border="0">
267
<td class="md" nowrap valign="top"> #define wxPG_EX_INIT_NOCAT 0x00001000
272
<table cellspacing=5 cellpadding=0 border=0>
280
NOTE: wxPG_EX_xxx are extra window styles and must be set using SetExtraStyle() member function.
282
Speeds up switching to wxPG_HIDE_CATEGORIES mode. Initially, if wxPG_HIDE_CATEGORIES is not defined, the non-categorized data storage is not activated, and switching the mode first time becomes somewhat slower. wxPG_EX_INIT_NOCAT activates the non-categorized data storage right away. IMPORTANT NOTE: If you do plan not switching to non-categoric mode, or if you don't plan to use categories at all, then using this style will result in waste of resources. </td>
285
<a class="anchor" name="ga16" doxytag="propgrid.h::wxPG_EX_MODE_BUTTONS" ></a><p>
286
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
289
<table cellpadding="0" cellspacing="0" border="0">
291
<td class="md" nowrap valign="top"> #define wxPG_EX_MODE_BUTTONS 0x00008000
296
<table cellspacing=5 cellpadding=0 border=0>
304
Shows alphabetic/categoric mode buttons from toolbar.
309
<a class="anchor" name="ga19" doxytag="propgrid.h::wxPG_EX_NATIVE_DOUBLE_BUFFERING" ></a><p>
310
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
313
<table cellpadding="0" cellspacing="0" border="0">
315
<td class="md" nowrap valign="top"> #define wxPG_EX_NATIVE_DOUBLE_BUFFERING 0x00080000
320
<table cellspacing=5 cellpadding=0 border=0>
328
Allows relying on native double-buffering.
333
<a class="anchor" name="ga15" doxytag="propgrid.h::wxPG_EX_NO_FLAT_TOOLBAR" ></a><p>
334
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
337
<table cellpadding="0" cellspacing="0" border="0">
339
<td class="md" nowrap valign="top"> #define wxPG_EX_NO_FLAT_TOOLBAR 0x00002000
344
<table cellspacing=5 cellpadding=0 border=0>
352
Extended window style that sets <a class="el" href="classwxPropertyGridManager.htm">wxPropertyGridManager</a> toolbar to not use flat style.
357
<a class="anchor" name="ga20" doxytag="propgrid.h::wxPG_EX_PROCESS_EVENTS_IMMEDIATELY" ></a><p>
358
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
361
<table cellpadding="0" cellspacing="0" border="0">
363
<td class="md" nowrap valign="top"> #define wxPG_EX_PROCESS_EVENTS_IMMEDIATELY 0x00100000
368
<table cellspacing=5 cellpadding=0 border=0>
376
Process all events immediately, if possible.
378
That is, ProcessEvent is called instead of AddPendingEvent. </td>
381
<a class="anchor" name="ga1" doxytag="propgrid.h::wxPG_HIDE_CATEGORIES" ></a><p>
382
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
385
<table cellpadding="0" cellspacing="0" border="0">
387
<td class="md" nowrap valign="top"> #define wxPG_HIDE_CATEGORIES 0x00000020
392
<table cellspacing=5 cellpadding=0 border=0>
400
Categories are not initially shown (even if added).
402
IMPORTANT NOTE: If you do not plan to use categories, then this style will waste resources. This flag can also be changed using <a class="el" href="classwxPropertyGrid.htm#wxPropertyGrida39">wxPropertyGrid::EnableCategories</a> method. </td>
405
<a class="anchor" name="ga6" doxytag="propgrid.h::wxPG_HIDE_MARGIN" ></a><p>
406
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
409
<table cellpadding="0" cellspacing="0" border="0">
411
<td class="md" nowrap valign="top"> #define wxPG_HIDE_MARGIN 0x00000200
416
<table cellspacing=5 cellpadding=0 border=0>
424
Disables margin and hides all expand/collapse buttons that would appear outside the margin (for sub-properties).
426
Toggling this style automatically expands all collapsed items. </td>
429
<a class="anchor" name="ga9" doxytag="propgrid.h::wxPG_LIMITED_EDITING" ></a><p>
430
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
433
<table cellpadding="0" cellspacing="0" border="0">
435
<td class="md" nowrap valign="top"> #define wxPG_LIMITED_EDITING 0x00000800
440
<table cellspacing=5 cellpadding=0 border=0>
448
Disables wxTextCtrl based editors for properties which can be edited in another way.
450
Equals calling <a class="el" href="classwxPropertyGrid.htm#wxPropertyGrida193">wxPropertyGrid::LimitPropertyEditing</a> for all added properties. </td>
453
<a class="anchor" name="ga4" doxytag="propgrid.h::wxPG_SPLITTER_AUTO_CENTER" ></a><p>
454
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
457
<table cellpadding="0" cellspacing="0" border="0">
459
<td class="md" nowrap valign="top"> #define wxPG_SPLITTER_AUTO_CENTER 0x00000080
464
<table cellspacing=5 cellpadding=0 border=0>
472
When <a class="el" href="classwxPropertyGrid.htm">wxPropertyGrid</a> is resized, splitter moves to the center.
474
This behaviour stops once the user manually moves the splitter. </td>
477
<a class="anchor" name="ga8" doxytag="propgrid.h::wxPG_STATIC_LAYOUT" ></a><p>
478
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
481
<table cellpadding="0" cellspacing="0" border="0">
483
<td class="md" nowrap valign="top"> #define wxPG_STATIC_LAYOUT (wxPG_HIDE_MARGIN|wxPG_STATIC_SPLITTER)
488
<table cellspacing=5 cellpadding=0 border=0>
496
Combination of other styles that make it impossible for user to modify the layout.
501
<a class="anchor" name="ga7" doxytag="propgrid.h::wxPG_STATIC_SPLITTER" ></a><p>
502
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
505
<table cellpadding="0" cellspacing="0" border="0">
507
<td class="md" nowrap valign="top"> #define wxPG_STATIC_SPLITTER 0x00000400
512
<table cellspacing=5 cellpadding=0 border=0>
520
This style prevents user from moving the splitter.
525
<a class="anchor" name="ga11" doxytag="propgrid.h::wxPG_TOOLBAR" ></a><p>
526
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
529
<table cellpadding="0" cellspacing="0" border="0">
531
<td class="md" nowrap valign="top"> #define wxPG_TOOLBAR 0x00001000
536
<table cellspacing=5 cellpadding=0 border=0>
544
<a class="el" href="classwxPropertyGridManager.htm">wxPropertyGridManager</a> only: Show toolbar for mode and page selection.
549
<a class="anchor" name="ga5" doxytag="propgrid.h::wxPG_TOOLTIPS" ></a><p>
550
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
553
<table cellpadding="0" cellspacing="0" border="0">
555
<td class="md" nowrap valign="top"> #define wxPG_TOOLTIPS 0x00000100
560
<table cellspacing=5 cellpadding=0 border=0>
568
Display tooltips for cell text that cannot be shown completely.
570
If wxUSE_TOOLTIPS is 0, then this doesn't have any effect. </td>
573
<a class="anchor" name="ga23" doxytag="propgrid.h::wxPGMAN_DEFAULT_STYLE" ></a><p>
574
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
577
<table cellpadding="0" cellspacing="0" border="0">
579
<td class="md" nowrap valign="top"> #define wxPGMAN_DEFAULT_STYLE (0)
584
<table cellspacing=5 cellpadding=0 border=0>
592
Combines various styles.
597
<a class="anchor" name="ga10" doxytag="propgrid.h::wxTAB_TRAVERSAL" ></a><p>
598
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
601
<table cellpadding="0" cellspacing="0" border="0">
603
<td class="md" nowrap valign="top"> #define wxTAB_TRAVERSAL 0x00080000
608
<table cellspacing=5 cellpadding=0 border=0>
616
wxTAB_TRAVERSAL allows using Tab/Shift-Tab to travel between properties in grid.
618
Travelling forwards from last property will navigate to the next control, and backwards from first will navigate to the previous one. </td>
621
<hr size="1"><address style="align: right;"><small>Generated on Mon Oct 29 16:56:25 2007 for wxPropertyGrid by
622
<a href="http://www.doxygen.org/index.html">
623
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
624
</a>1.3.6 </small></address>