dlogbox.r.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 #if !defined (__dlogboxH__)
10 #define __dlogboxH__
11 
12 // ------------------------------------------------------------
13 // This file is included by both .h/cpp and .r files
14 // ------------------------------------------------------------
15 
18 
19 #include "rscdefs.r.h"
20 #include "rtypes.r.h"
22 
23 #if defined (resource)
24  @parameterclass AspectRatio double, localize=true;
25  @parameterclass ConstAspectRatio double, localize=false;
26  @parameterclass String string, localize=true;
27  @parameterclass WideString wideString, localize=true;
28  @parameterclass ConstString string, localize=false;
29  @parameterclass ConstWideString wideString, localize=false;
30 #endif
31 
32 /*----------------------------------------------------------------------+
33 | |
34 | Basic Dialog Box Constants |
35 | |
36 +----------------------------------------------------------------------*/
37 #define DCOORD_RESOLUTION 12 /* # of dialog coords/font height */
38 
39 /* define what one char width and one char height are in resource files */
40 #define XC_DEFAULT (DCOORD_RESOLUTION/2)
41 #define YC_DEFAULT DCOORD_RESOLUTION
42 
43 #define XC XC_DEFAULT
44 #define YC YC_DEFAULT
45 
46 /* define conversion macro from row # to dialog Y coordinate */
47 #define GAP 3
48 #define GENY(row) ((row-1)*(YC+GAP) + YC/2)
49 
50 
51 /* For Windows compatibility, buttons need to be one pixel higher, use
52  BGENY for rows of buttons */
53 #define BGAP 4
54 #define BGENY(row) ((row-1)*(YC+BGAP) + YC/2)
55 
56 /* For BETTER Windows compatibility, dialog items need to be one pixel higher, use
57  D_ROW for better dialog row layout*/
58 #define D_GAP 5
59 #define D_ROW(row) ((row-1)*(YC+D_GAP) + YC/2)
60 
61 /*----------------------------------------------------------------------+
62 | |
63 | File Open List Box Constants |
64 | |
65 +----------------------------------------------------------------------*/
66 /* define widths for standard list boxes */
67 #define WIDTH_FILEOPENFILES_LISTBOX (14)
68 #define WIDTH_FILEOPENDIRS_LISTBOX (14)
69 #define WIDTH_FILELISTNAMES_LISTBOX (33)
70 #define WIDTH_FILELISTFILES_LISTBOX (14)
71 #define WIDTH_FILELISTDIRS_LISTBOX (14)
72 
73 /* define offsets to adjust positioning of list boxes and size
74  of list boxes. LISTBOX_DW must reflect size increase
75  in any of the list box widths. */
76 #define LISTBOX_DW (0)
77 #define LISTBOX_DW1_4 (LISTBOX_DW/4)
78 #define LISTBOX_DW1_2 (LISTBOX_DW/2)
79 #define LISTBOX_DW3_4 ((3*LISTBOX_DW)/4)
80 
81 
82 /*----------------------------------------------------------------------+
83 | |
84 | Dialog Attributes Constants |
85 | |
86 +----------------------------------------------------------------------*/
87 #define DIALOGATTR_DEFAULT 0
88 #define DIALOGATTR_MODAL 0x00000001
89 #define DIALOGATTR_GROWABLE 0x00000002
90 #define DIALOGATTR_SINKABLE 0x00000004
91 #define DIALOGATTR_UNMOVEABLE 0x00000008 /* internal use */
92 #define DIALOGATTR_UNCLOSEABLE 0x00000010
93 
94 #define DIALOGATTR_NOAUTOSWITCH 0x00000020
95 #define DIALOGATTR_CLOSEONNEW 0x00000040
96 #define DIALOGATTR_ALWAYSSETSTATE 0x00000080
97 #define DIALOGATTR_NORIGHTICONS 0x00000100
98 #define DIALOGATTR_AUTOOPEN 0x00000200 /* internal use */
99 #define DIALOGATTR_NOWINDOWCONTROLICON 0x00000400 /* do not use */
100 #define DIALOGATTR_ALLOWNOTITLEBAR 0x00000800 /* do not use */
101 #define DIALOGATTR_NOAUTOACTIVATE 0x00001000
102 #define DIALOGATTR_NOSYNCHONNEW 0x00002000
103 #define DIALOGATTR_HOOKSBEFOREDEFAULTS 0x00004000 /* internal use */
104 #define DIALOGATTR_DONTDRAWBEVEL 0x00008000
105 #define DIALOGATTR_DONTCAUSEAUTOSWITCH 0x00010000 /* only if dlog not focusable */
106 #define DIALOGATTR_REQUESTBACKINGSTORE 0x00020000 /* Try to use backing store if supported */
107 #define DIALOGATTR_AUTOUNLOADAPP 0x00040000 /* when dialog closed, unload its app */
108 #define DIALOGATTR_NOAUTOFOCUS 0x00080000 /* when dialog opened don't get focus */
109 #define DIALOGATTR_BOTHVIRTUAL 0x00100000
110 #define DIALOGATTR_DOCKABLE 0x00200000
111 #define DIALOGATTR_TITLEBARDOCKED 0x00400000
112 #define DIALOGATTR_FORWARDMNEMONICS 0x00800000
113 #define DIALOGATTR_MAXIMIZABLE 0x01000000
114 #define DIALOGATTR_NOFULLDRAG 0x02000000
115 #define DIALOGATTR_DATABASE 0x04000000 /* DataBase AuxHandler will be called */
116 #define DIALOGATTR_REQUESTALTERNATERASTER 0x08000000 /* Try alt. drawing technique if supported */
117 #define DIALOGATTR_MUSTSTAYVISIBLE 0x10000000 /* keep entire window visible */
118 #define DIALOGATTR_THINBORDERS 0x20000000 /* appears as if docked */
119 #define DIALOGATTR_RESIZESINWARD 0x40000000
120 #define DIALOGATTR_MOTIONTOITEMS 0x80000000 /* items will receive motion/nomotion events */
121 
122 /*----------------------------------------------------------------------+
123 | |
124 | Dialog Extended Attributes Constants |
125 | Used in EXTINTATTR_DLOGATTRS value |
126 | |
127 +----------------------------------------------------------------------*/
128 #define DIALOGATTRX_NOCHANGESCREEN 0x00000001 /* Disallow Change Screen when using 2 App Windows */
129 #define DIALOGATTRX_NOITEMADJUSTMENTS 0x00000002 /* Don't adjust some of the items' x,y by -2 */
130 #define DIALOGATTRX_SIZEGRIP 0x00000004 /* Draw the size grip in the dialog */
131 #define DIALOGATTRX_NOICONCMDSYNCH 0x00000008 /* Dialog contains IconCmds, but no synching necessary */
132 #define DIALOGATTRX_OUTPUTONLY 0x00000010 /* Dialog is for output only - does not get focus */
133 #define DIALOGATTRX_NETDOCKABLE 0x00000020 /* Dialog is dockable within the .NET docking mechanism */
134 #define DIALOGATTRX_NOMINIMIZEBOX 0x00000040 /* Minimize is disallowed */
135 #define DIALOGATTRX_NOTRANSPARENCY 0x00000080 /* Transparency is disallowed */
136 #define DIALOGATTRX_FOCUSABLENOCHECK 0x00000100 /* Focusable, regardless of focusable items */
137 #define DIALOGATTRX_TRACKINGHELP 0x00000200 /* Use Tracking style help for this dialog */
138 #define DIALOGATTRX_ALWAYSBORDEREDITEMS 0x00000400 /* Always draw the item borders, regardless of userpref borderless setting */
139 #define DIALOGATTRX_TRANSPARENTBORDERLESS 0x00000800 /* This dialog is a transparent popup dialog */
140 #define DIALOGATTRX_USEALPHABLEND 0x00001000 /* Use alpha blend - valid only when DIALOGATTRX_TRANSPARENTBORDERLESS is also true */
141 #define DIALOGATTRX_NODOUBLEBUFFER 0x00002000 /* Double-buffering is disallowed for this dialog */
142 #define DIALOGATTRX_AUTOUPDATETEXTITEMS 0x00004000 /* Auto-update text item state after keystrokes and a brief delay */
143 
144 /*----------------------------------------------------------------------+
145 | |
146 | File Open Dialog Attributes |
147 | |
148 +----------------------------------------------------------------------*/
149 #define DIALOGATTR_FILEOPENCOMMON \
150  (DIALOGATTR_MODAL | DIALOGATTR_ALWAYSSETSTATE | DIALOGATTR_HOOKSBEFOREDEFAULTS)
151 
152 /*----------------------------------------------------------------------+
153 | |
154 | Tool Box Dialog Attributes |
155 | |
156 +----------------------------------------------------------------------*/
157 #define DIALOGATTR_TOOLBOXCOMMON \
158  (DIALOGATTR_GROWABLE | DIALOGATTR_DOCKABLE | DIALOGATTR_AUTOOPEN | \
159  DIALOGATTR_FORWARDMNEMONICS | DIALOGATTR_NORIGHTICONS )
160 
161 /*----------------------------------------------------------------------+
162 | |
163 | Extended Dialog Attribute Tag definitions -- used at end of |
164 | Dialog's Resource definition |
165 | |
166 +----------------------------------------------------------------------*/
167 /* String Extended Attributes */
168 #define EXTATTR_DIALOGNAME 0 /* Name of the dialog for "set item" purposes and dialog docking ID. Spaces should not be included in this name. */
169 
170 /* Int Extended Attributes */
171 #define EXTINTATTR_DLOGATTRS 0 /* any extended dialog attributes - DIALOGATTRX_XXX */
172 
173 /* String Extended Attributes */
174 #define EXTWATTR_DIALOGNAME 0 /* Name of the dialog for "set item" purposes and dialog docking ID. Spaces should not be included in this name. */
175 
176 /*----------------------------------------------------------------------+
177 | |
178 | Extended Item Attribute Tag definitions -- used at end of Item's |
179 | Resource definition |
180 | |
181 +----------------------------------------------------------------------*/
183  {
184  EXTATTR_FLYTEXT = 0, /* use flytext= to override in itemList rsc*/
185  EXTATTR_BALLOON = 1, /* use balloon= to override in itemList rsc*/
188  EXTATTR_DBACCESS = 4, /* dbaccess= to override. DataBase access string */
189  EXTATTR_DBPAGENUMBER = 5, /* pagenumber= to override. DataBase item pagenumber */
190  EXTATTR_APPDATA1 = 6, /* appdata1= to override. */
195  EXTATTR_DISABLED_BALLOON = 11, /* tool tip when item is disabled, use disabledBalloon= to override */
196  EXTATTR_RCLICK_MENUID = 12, /* item's right-click popup menu resource id */
197  EXTATTR_RCLICK_MENUOWNER = 13, /* item's right-click popup menu owner task id */
198  EXTATTR_POPUPMENUTEXT = 14, /* item's popup menu text; use popupMenuText= to override */
199  EXTATTR_ITEMNAME = 15, /* Name of the dialog item for "set item" purposes. Spaces should not be included in this name. */
200  };
201 
202 /* Int Extended Attributes */
204  {
207  EXTINTATTR_DBPAGENUMBER = 3, /* DataBase item pagenumber */
208  EXTINTATTR_ITEMATTRS = 4, /* Item attributes in addition to resource "attributes" member */
209  EXTINTATTR_DROPSOURCE = 5, /* Drag & Drop Source Item, 1=true, 0=false */
210  EXTINTATTR_DROPTARGET = 6, /* Drag & Drop Target Item, 1=true, 0=false */
211  EXTINTATTR_RCLICK_MENUID = 7, /* item's right-click popup menu resource id */
212 
213  /* Extended Attributes for Layout Manager */
214 
220 
223 
226 
229 
232 
235 
238 
244 
247 
250 
253 
256 
262 
268 
280 
285 
288 
291 
294 
297 
302 
303  };
304 
305 /* WChar (Unicode) Extended Attributes - no itemList rsc override capability */
307  {
308  EXTWATTR_LABEL = 1, /* Wide Label */
309  EXTWATTR_FLYTEXT = 2, /* FlyOver Text */
310  EXTWATTR_BALLOON = 3, /* Balloon Text (ToolTip) */
311  EXTWATTR_DISABLED_BALLOON = 4, /* Balloon Text (ToolTip) when item is disabled */
312  EXTWATTR_POPUPMENUTEXT = 5, /* Popup menu text */
313  EXTWATTR_ITEMNAME = 6, /* Name of the dialog item for "set item" purposes. Spaces should not be included in this name. */
314  };
315 
316 /*----------------------------------------------------------------------+
317 | |
318 | General Item Constants (Only needed in resource files) |
319 | |
320 +----------------------------------------------------------------------*/
321 #define MCMD 0
322 #define LCMD 1
323 
324 #define MHELP 0x0
325 #define LHELP 0x1
326 #define HELPCMD 0x2
327 #define HELPTOPIC 0x0
328 
329 #define MHELPTOPIC (MHELP | HELPTOPIC)
330 #define MHELPCMD (MHELP | HELPCMD)
331 #define LHELPTOPIC (LHELP | HELPTOPIC)
332 #define LHELPCMD (LHELP | HELPCMD)
333 
334 /* for Text Pulldown Menus & Icon Commands Only */
335 /* used in commandTaskId field */
336 #define OTASKID ""
337 #define MTASKID "+"
338 
339 #define OTASKIDW L""
340 #define MTASKIDW L"+"
341 
342 /* for Text Pulldown Menus & Icon Commands Only */
343 /* used in helpTaskId field */
344 #define OHELPTASKIDCMD ""
345 #define OHELPTASKIDTOPIC "*"
346 #define MHELPTASKIDCMD "+"
347 #define MHELPTASKIDTOPIC "+*"
348 
349 #define LOOKUP 1
350 #define NOLOOKUP 0
351 
352 #define INVERT 1
353 #define NOINVERT 0
354 
355 #define NOCMD 0
356 #define NOMASK 0xFFFFFFFF
357 
358 #define NOSYNONYM 0
359 #define NOHELP 0
360 #define NOHOOK 0
361 #define NOARG 0
362 #define NOID 0
363 #define NOSORT -1
364 
365 #define NOSUBMENU 0
366 #define NOSUBMENUID 0
367 #define NOMARK 0
368 #define NOACCEL 0
369 
370 #define NOPARENTID 0
371 
372 #define NOTYPE 0
373 #define NOICON 0
374 
375 #define MENU_SEPARATOR "-"
376 #define MENU_PLACEMARK "^"
377 
378 /*----------------------------------------------------------------------+
379 | |
380 | Item Attributes |
381 | |
382 +----------------------------------------------------------------------*/
383 #define DISABLED 0x0 /* same as OFF */
384 #define ENABLED 0x1 /* same as ON */
385 #define HIDDEN 0x2
386 
387 /*----------------------------------------------------------------------+
388 | |
389 | Item Specific Constants (after HIDDEN) |
390 | |
391 +----------------------------------------------------------------------*/
392 #define ALIGN_LEFT 0x00
393 #define ALIGN_RIGHT 0x20
394 #define ALIGN_CENTER 0x40
395 #define ALIGN_PARENT 0x80
396 #define ALIGN_MASK 0xE0
397 
398 #define BUTTON_STDWIDTH (8*XC)
399 #define BUTTON_LARGEWIDTH (BUTTON_STDWIDTH+4*XC)
400 #define BUTTON_LARGEHEIGHT (2.0*YC)
401 
402 #define LABEL_WORDWRAP 0x00002000
403 #define LABEL_FONT_BOLD 0x00004000 /* Only used in label items */
404 #define LABEL_LINKPREV 0x00008000 /* Get label from previous item - used with Layout Manager */
405 #define LABEL_LINKNEXT 0x00010000 /* Get label from next item - used with Layout Manager */
406 #define LABEL_LINKMIN 0x00020000 /* Get minimum label from Scale - used in conjunction with PREV or NEXT */
407 #define LABEL_LINKMAX 0x00040000 /* Get minimum label from Scale - used in conjunction with PREV or NEXT */
408 #define LABEL_CANBEEMPTY 0x00080000 /* Used with the Layout Manager for empty rows/cells */
409 
410 #define TEXT_FORMAT_SIZE 16
411 #define TEXT_MINMAX_SIZE 16
412 
413 #define TEXT_MASK_LABELABOVE 1
414 
415 #define SCROLL_ARROW_UP 0
416 #define SCROLL_ARROW_DOWN 1
417 #define SCROLL_ARROW_LEFT 2
418 #define SCROLL_ARROW_RIGHT 3
419 
420 #define DEFAULT_BUTTON 0x01
421 #define NOT_DEFAULT_BUTTON 0x00
422 #define CANCEL_BUTTON 0x02
423 
424 #define FORMAT_MONOBITMAP 0
425 #define ICONFORMAT_MONO FORMAT_MONOBITMAP
426 #define ICONFORMAT_FIXEDCOLORS 1
427 #define ICONFORMAT_WINDOWSBMP 4
428 #define ICONFORMAT_WINDOWSICO 5
429 #define ICONFORMAT_WINDOWS 6
430 #define ICONFORMAT_COMPOSITE 7
431 
432 #define NOICONID 0
433 
434 #define SORTED_ASCENDING 1
435 #define SORTED_DESCENDING 2
436 
437 /* these next four #defines are obsolete DO NOT USE */
438 #define NOCONCAT 0x0
439 #define CONCAT 0x1
440 #define NOECHO 0x2
441 #define READONLY 0x4
442 
443 /*----------------------------------------------------------------------+
444 | |
445 | Action Button Types |
446 | |
447 +----------------------------------------------------------------------*/
449  {
463  };
464 
465 /*----------------------------------------------------------------------+
466 | |
467 | Menu Mark Types |
468 | |
469 +----------------------------------------------------------------------*/
471  {
478  };
479 
480 /*----------------------------------------------------------------------+
481 | |
482 | Resource Definitions |
483 | |
484 +----------------------------------------------------------------------*/
485 
486 //=======================================================================================
488 //=======================================================================================
489 #if defined (resource)
490 struct StringArray
491  {
492  char variableLengthString []; // CHAR_OK
493  } StringArray [];
494 #else
496  {
498  /* First string element. */
500  char data[1]; // CHAR_OK
501  };
502 #endif
503 
504 #if defined (resource)
505 resourceclass StringArray RTYPE_StringArray;
506 #endif
507 
508 /*----------------------------------------------------------------------+
509 | |
510 | Dialog Box Position Attributes |
511 | |
512 +----------------------------------------------------------------------*/
513 #define DIALOGPOSATTR_AUTOOPEN 0x8000
514 #define DIALOGPOSATTR_MINIMIZED 0x2000
515 #define DIALOGPOSATTR_DISABLED 0x1000
516 #define DIALOGPOSATTR_MAXIMIZED 0x0100
517 #define DIALOGPOSATTR_NAMEDTOOLBOX 0x0200
518 #define DIALOGPOSATTR_AUTOOPENDEFERRED 0x0400
519 
520 //=======================================================================================
522 //=======================================================================================
524  {
525  UInt16 screen; /* high bits=autoOpen */
526  short screenWidth;
528  Point2d pt; /* global origin of contentRect */
529  short width; /* in DCOORDS */
530  short height; /* in DCOORDS */
531  short dockedPosition; /* 0 = not docked */
532  UInt16 notChild:1; /* 1 = pt variable may be out of valid content range */
534  int dockPriority; /* */
535  int transparencyPct; /* Percentage of transparency */
536  };
537 
538 #if defined (resource)
540 #endif
541 
542 //=======================================================================================
544 //=======================================================================================
546  {
548  short filterType;
549  short isExpanded;
550  short numColumns;
551  };
552 
553 #if defined (resource)
555 #endif
556 
557 //=======================================================================================
559 //=======================================================================================
561  {
564  };
565 
566 //=======================================================================================
568 //=======================================================================================
570  {
571  Sextent extent; /* sensitive area, origin (in dialog coords), if width/height is zero use dimensions specified in item */
572  RscType type; /* item type */
576 #if defined (resource)
577  Utf8Char label[];
578  char auxInfo[]; // CHAR_OK
579 #else
582 #endif
583  };
584 
585 //=======================================================================================
587 //=======================================================================================
589  {
591  long width; /* dialog coords */
592  long height; /* dialog coords */
596  RscId parentDialogId; /* used to inform when destroyed */
597 #if defined (resource)
598  Utf8Char label[];
599  DialogItemRsc itemList[];
600 #else
603 #endif
604  };
605 
606 #if defined (resource)
607 resourceclass DialogBoxRsc RTYPE_DialogBox extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label, itemList.label);
608 #endif
609 
610 //=======================================================================================
612 //=======================================================================================
614  {
615 #if defined (resource)
616  DialogItemRsc items[];
617 #else
618  long nItems;
620 #endif
621  };
622 
623 #if defined (resource)
624 resourceclass DialogItemListRsc RTYPE_DialogItemList localize (items.label);
625 #endif
626 
628 #if defined (resource)
629 resourceclass CmdItemListRsc RTYPE_CmdItemList localize (items.label);
630 #endif
631 
632 //=======================================================================================
634 //=======================================================================================
636  {
637 #if defined (resource)
638  DialogItemSpec items[];
639 #else
640  long nItems;
642 #endif
643  };
644 
645 #if defined (resource)
646 resourceclass ItemListRsc RTYPE_ItemList;
647 #define ItemList RTYPE_ItemList
648 #endif
649 
650 //=======================================================================================
652 //=======================================================================================
654 
655 #if defined (resource)
656 resourceclass DItem_SynonymsRsc RTYPE_Synonyms;
657 #define SynonymList RTYPE_Synonyms
658 #endif
659 
660 //=======================================================================================
662 //=======================================================================================
663 struct IdListRsc
664  {
665 #if defined (resource)
666  long ids[];
667 #else
668  long nIds;
669  long idList[1];
670 #endif
671  };
672 
673 #if defined (resource)
674 resourceclass IdListRsc RTYPE_IdList;
675 #define IdList RTYPE_IdList
676 #endif
677 
678 /*----------------------------------------------------------------------+
679 | |
680 | Icon Resource |
681 | |
682 +----------------------------------------------------------------------*/
683 #define ICON_SIZE_TINY 16
684 #define ICON_SIZE_SMALL 24
685 #define ICON_SIZE_LARGE 32
686 
687 #define ICONCMDATTR_DONTSINGLESHOT 0x01
688 #define ICONCMDATTR_DONTAUTOSELECT 0x02
689 #define ICONCMDATTR_NODOWNTRIANGLE 0x04 /* Never draw slamdown/toolsettings indicator */
690 #define ICONCMDATTR_NOCOMMANDSTR 0x08
691 
692 #if defined (resource)
693 
694 typedef IconRsc IconCmdSmallRsc;
695 resourceclass IconCmdSmallRsc RTYPE_IconCmdSmallIcon;
696 #define IconSmall RTYPE_IconCmdSmallIcon
697 
698 typedef IconRsc IconCmdLargeRsc;
699 resourceclass IconCmdLargeRsc RTYPE_IconCmdLargeIcon;
700 #define IconLarge RTYPE_IconCmdLargeIcon
701 
702 typedef IconRsc IconCmdTinyRsc;
703 resourceclass IconCmdTinyRsc RTYPE_IconCmdTinyIcon;
704 #define IconTiny RTYPE_IconCmdTinyIcon
705 
706 #endif // #if defined (resource)
707 
708 //=======================================================================================
710 //=======================================================================================
712  {
713  long iconCount;
714 #if defined (resource)
715  long data[];
716 #else
717  long numBytes;
718  long data[1];
719 #endif
720  };
721 
722 #if defined (resource)
723 
725 #define CompositeIcon RTYPE_CompositeIcon
726 
727 #endif // #if defined (resource)
728 
729 /*----------------------------------------------------------------------+
730 | |
731 | Standard Dialog Item Definitions |
732 | |
733 | These definitions are only needed in resource files & mdl files. |
734 | They are never used by .c files. |
735 | |
736 +----------------------------------------------------------------------*/
737 
738 //=======================================================================================
740 //=======================================================================================
741 #define BGROUPATTR_NODRAWBORDER 0x1
742 #define BGROUPATTR_HIGHLIGHTINVERT 0x2
743 #define BGROUPATTR_MULTISELECTION 0x4
744 #define BGROUPATTR_SPRINGLOADED 0x8 /* ignored if multi-selection */
745 
746 #define BGROUPITEMATTR_HALIGNCENTER 0x00
747 #define BGROUPITEMATTR_HALIGNLEFT 0x01
748 #define BGROUPITEMATTR_HALIGNRIGHT 0x02
749 #define BGROUPITEMATTR_VALIGNCENTER 0x00
750 #define BGROUPITEMATTR_VALIGNLEFT 0x04
751 #define BGROUPITEMATTR_VALIGNRIGHT 0x08
752 #define BGROUPITEMATTR_DISABLED 0x10
753 #define BGROUPITEMATTR_GREYED 0x20
754 
755 //=======================================================================================
757 //=======================================================================================
759  {
768 #if defined (resource)
769  Utf8Char tooltip[];
770 #else
773 #endif
774  };
775 
776 //=======================================================================================
778 //=======================================================================================
780  {
787  long nColumns;
788  long nRows;
789  long itemWidth;
791  long selectedFgColorIndex; /* only if lgrey highlight, -1 = use icon's */
792 #if defined (resource)
793  Utf8Char label[];
794  char accessStr[]; // CHAR_OK
795  DItem_ButtonGroupItemRsc buttonGroupItems[];
796 #else
799 #endif
800  };
801 
802 #if defined (resource)
803 resourceclass DItem_ButtonGroupRsc RTYPE_ButtonGroup localize (label, buttonGroupItems.tooltip);
804 #define ButtonGroup RTYPE_ButtonGroup
805 #endif
806 
807 //=======================================================================================
809 //=======================================================================================
811  {
819 
820 #if defined (resource)
821  Utf8Char label[];
822  char accessStr[]; // CHAR_OK
823 #else
826 #endif
827  };
828 
829 #if defined (resource)
830 resourceclass DItem_ColorChooserRsc RTYPE_ColorChooser extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label);
831 #define ColorChooser RTYPE_ColorChooser
832 #endif
833 
834 //=======================================================================================
836 //=======================================================================================
838  {
847 
849 
850 #if defined (resource)
851  Utf8Char label[];
852  char accessStr[]; // CHAR_OK
853 #else
856 #endif
857  };
858 
859 #if defined (resource)
860 resourceclass DItem_ColorPickerRsc RTYPE_ColorPicker extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label);
861 #define ColorPicker RTYPE_ColorPicker
862 #endif
863 
864 //=======================================================================================
866 //=======================================================================================
868  {
877 
879 
880 #if defined (resource)
881  Utf8Char label[];
882  char accessStr[]; // CHAR_OK
883 #else
886 #endif
887  };
888 
889 #if defined (resource)
890 resourceclass DItem_LevelPickerRsc RTYPE_LevelPicker extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label);
891 #define LevelPicker RTYPE_LevelPicker
892 #endif
893 
894 
895 /*----------------------------------------------------------------------+
896 | |
897 | Completion Bar Processing Specific Defines and Structures |
898 | |
899 +----------------------------------------------------------------------*/
900 #define CMPLBAR_Width (55 * XC)
901 #define CMPLBAR_Height (5 * YC + 4)
902 #define CMPLBAR_Generic_Height (YC + 10)
903 
904 //=======================================================================================
906 //=======================================================================================
907 #define TOOLBOXATTR_SEPARATORATEND 0x00000001
908 #define TOOLBOXATTR_DONTADDOPENCMD 0x00000002
909 #define TOOLBOXATTR_DONTSHOWINTOOLBOXLIST 0x00000004
910 #define TOOLBOXATTR_NORIGHTCLICKMENU 0x00000008 /* Don't show a menu on button right-click */
911 #define TOOLBOXATTR_INDEPENDENT 0x00000010 /* MSDialog size not tied to size of ToolBox - can be positioned within a MSDialog */
912 
913 //=======================================================================================
915 //=======================================================================================
917  {
922  UInt32 attributes; /* incl. groupbox, resource, folder */
923 #if defined (resource)
924  Utf8Char label[]; /* Default Label, used for groupBox and Folder types */
925  DialogItemRsc itemList[]; /* List of items in this container */
926 #else
929 #endif
930  };
931 
932 #if defined (resource)
933 resourceclass DItem_ToolBoxRsc RTYPE_ToolBox localize (label, itemList.label);
934 #define ToolBox RTYPE_ToolBox
935 #endif
936 
937 //=======================================================================================
939 //=======================================================================================
941  {
946  };
947 
948 #if defined (resource)
949 resourceclass DItem_GenericRsc RTYPE_Generic extendedAttributes, extendedIntAttributes, extendedWideAttributes;
950 #define Generic RTYPE_Generic
951 #endif
952 
953 //=======================================================================================
955 //=======================================================================================
956 #define GROUPBOXATTR_DRAWOVERLAPPING 0x20 /* redraw overlapping items */
957 #define GROUPBOXATTR_BAR 0x40 /* Draw as only a bar */
958 
959 #if defined (resource)
960 #define GroupBox RTYPE_GroupBox
961 #endif
962 
963 //=======================================================================================
965 //=======================================================================================
967  {
969 #if defined (resource)
970  char helpTaskId[]; // CHAR_OK
971  UInt32 attributes;
972  CommandNumber commandNumber;
973  char commandTaskId[]; // CHAR_OK
974  char unparsed[]; // CHAR_OK
975  char enabledAccessStr[]; // CHAR_OK
976 #else
978  char helpTaskId[1]; // CHAR_OK
979 #endif
980  };
981 
982 #if defined (resource)
983 resourceclass DItem_IconCmdRsc RTYPE_IconCmd extendedAttributes, extendedIntAttributes, extendedWideAttributes;
984 #define IconCmd RTYPE_IconCmd
985 #endif
986 
987 //=======================================================================================
989 //=======================================================================================
991  {
996  UInt32 attributes; /* only has mouseSensitive so far */
997  long iconCmdId; /* IconCmdId containing the command number, etc.*/
998 #if defined (resource)
999  Utf8Char label[]; /* Label used by customization tools */
1000  char ownerTaskId[]; /* Which application contains the IconCmdId Resource*/ // CHAR_OK
1001 #else
1004 #endif
1005  };
1006 
1007 #if defined (resource)
1008 resourceclass DItem_IconCmdXRsc RTYPE_IconCmdX extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label);
1009 #define IconCmdX RTYPE_IconCmdX
1010 #endif
1011 
1012 //=======================================================================================
1014 //=======================================================================================
1015 #define ICONPOPUPATTR_CONNECTED 0x00000001
1016 #define ICONPOPUPATTR_PADCORNER 0x00000002
1017 #define ICONPOPUPATTR_NOTOGGLE 0x00000004
1018 #define ICONPOPUPATTR_PADBOTTOM 0x00000008
1019 #define ICONPOPUPATTR_NOLABEL 0x00000010
1020 #define ICONPOPUPATTR_NORESTOREFOCUS 0x00000020
1021 #define ICONPOPUPATTR_ALWAYSBORDERED 0x00000040
1022 #define ICONPOPUPATTR_LABELLEFT 0x00000080
1023 #define ICONPOPUPATTR_LABELRIGHT 0x00000100
1024 #define ICONPOPUPATTR_TEXTSIZE 0x00000200
1025 #define ICONPOPUPATTR_NODISABLEICON 0x00000400
1026 #define ICONPOPUPATTR_LABELONSIDE 0x00000800
1027 #define ICONPOPUPATTR_MUTABLE 0x00001000
1028 #define ICONPOPUPATTR_VERTICAL 0x00002000
1029 #define ICONPOPUPATTR_LABELVERTICAL 0x00004000
1030 #define ICONPOPUPATTR_CMDSELECTIONS 0x00008000
1031 #define ICONPOPUPATTR_COMPRESSEDARROW 0x00010000
1032 #define ICONPOPUPATTR_AUTOCLOSE 0x00020000
1033 #define ICONPOPUPATTR_DONTDRAWICON 0x00040000
1035 //=======================================================================================
1036 //=======================================================================================
1039  {
1048 
1050  RscType iconType; /* 0 for RTYPE_IconCmdSmallIcon or Large */
1051 
1052  UInt32 mask; /* For Toggle portion */
1054 
1055  RscType itemType; /* type of item to popup, ie. RTYPE_Container */
1056  RscId itemId; /* id of item to popup, ie. CONTAINERID_xxx */
1057 
1058 #if defined (resource)
1059  Utf8Char label[];
1060  char accessStr[]; // CHAR_OK
1061 #else
1064 #endif
1065  };
1066 
1067 #if defined (resource)
1068 resourceclass DItem_IconPopupRsc RTYPE_IconPopup extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label);
1069 
1070 #define IconPopup RTYPE_IconPopup
1071 #endif
1072 
1073 //=======================================================================================
1077 //=======================================================================================
1079  {
1082  };
1083 
1084 #if defined (resource)
1085 resourceclass DItem_LabelRsc RTYPE_Label extendedAttributes, extendedIntAttributes, extendedWideAttributes;
1086 #define Label RTYPE_Label
1087 #endif
1088 
1089 //=======================================================================================
1091 //=======================================================================================
1092 #define LISTATTR_LABELONSIDE 0x00000001 /* not above */
1093 #define LISTATTR_NEVERSELECTION 0x00000002 /* can never have any selection */
1094 #define LISTATTR_RANGESELECTION 0x00000004 /* obsolete */
1095 #define LISTATTR_DRAGSELECTION 0x00000004 /* can select by dragging */
1096 #define LISTATTR_DISJOINTSELECTION 0x00000008 /* not contiguous */
1097 #define LISTATTR_NOSELECTION 0x00000010 /* can have nothing selected */
1098 #define LISTATTR_INDEPENDENTCOLS 0x00000020 /* columns can be individually selected */
1099 #define LISTATTR_NOKEYSEARCH 0x00000040 /* no search upon key press */
1100 #define LISTATTR_FIXEDFONT 0x00000080 /* use fixed width font */
1101 #define LISTATTR_DYNAMICSCROLL 0x00000100 /* scroll as slider moves */
1102 #define LISTATTR_COLOREDROWS 0x00000200 /* if using StrList, nInfoFields must be >= 2 */
1103 #define LISTATTR_SINGLENODRAG 0x00000400 /* do not use, internal use only */
1104 
1105 /* The following two constants are not to be used directly. They are used
1106  to emulate motif style keyboard selection in listBoxes */
1107 #define LISTATTR_KEYCANTOGGLEMODE 0x00000800 /* can toggle between normal/add mode */
1108 #define LISTATTR_KEYDEFAULTADDMODE 0x00001000 /* default mode is add mode */
1109 
1110 #define LISTATTR_DRAWLOCATIONCURSOR 0x00002000 /* in browse mode, draw cursor */
1111 #define LISTATTR_DRAWOVERLAPPING 0x00004000 /* draw overlapping items */
1112 #define LISTATTR_DRAWPREFIXICON 0x00008000 /* draw icon preceding text */
1113 #define LISTATTR_TOOLFONTHEIGHT 0x00010000 /* force font height = tool size */
1114 #define LISTATTR_TRACKSCREENCOORD 0x00020000 /* allow real (not col,row) cursor tracking */
1115 #define LISTATTR_FONTBYCOLUMN 0x00040000 /* specify list box font (bold or regular) on a column basis */
1116 
1117 #define LISTATTR_COLHEADINGBORDERS 0x00080000 /* Draw borders around the column headings */
1118  /* Columns may be resized by the user */
1119 #define LISTATTR_RESIZABLECOLUMNS (0x00100000 | LISTATTR_COLHEADINGBORDERS)
1120 #define LISTATTR_SEPARATORS 0x00200000 /* Allow '-' to signify separator */
1121 #define LISTATTR_DLOGBGCOLOR 0x00400000 /* Use DLOGBACKGROUND color instead of BACKGROUND */
1122 #define LISTATTR_HORIZSCROLLBAR 0x00800000 /* Display horizontal scroll bar if needed */
1123 #define LISTATTR_SORTCOLUMNS 0x01000000 /* Sort columns when headings clicked */
1124 #define LISTATTR_SAVECOLUMNINFO 0x02000000 /* Save column positions and sort info */
1125 #define LISTATTR_NOTRAVERSAL 0x04000000 /* Don't draw traversal rectangle */
1126 #define LISTATTR_EDITABLE 0x08000000 /* Editable cells */
1127 #define LISTATTR_GRID 0x10000000 /* Draw grid around cells */
1128 #define LISTATTR_NEWCOLHEADORIGIN 0x20000000 /* Column heading origin is listbox origin */
1129 #define LISTATTR_NOELLIPSES 0x40000000 /* Columns will not show ellipses when truncated. */
1130 #define LISTATTR_RIGHTCLICKSTOHOOK 0x80000000 /* Send right button clicks to hook */
1131 
1132 /* Extended ListBox Attributes used in extendedIntAttributes EXTINTATTR_ITEMATTRS */
1133 #define LISTATTRX_FOCUSOUTLOOK 0x00000001 /* Selected cells use different colors when !hasFocus */
1134 #define LISTATTRX_HIGHLIGHTTEXT 0x00000002 /* Highlight the text only, not entire row (ListModel use only) */
1135 #define LISTATTRX_HEIGHTFORICONS 0x00000004 /* Change row height to accomodate tallest icon */
1136 #define LISTATTRX_USEICONRSCFORSTRINGLIST 0x00000008 /* When setting info field for icon id, use the icon resource pointer instead */
1137 #define LISTATTRX_REORDERCOLUMNS 0x00000010 /* Columns may be reordered by user */
1138 #define LISTATTRX_USERRESIZELASTCOL 0x00000020 /* The last column may be resized by the user - no auto-sizing */
1139 #define LISTATTRX_COLHEADINGMENU 0x00000040 /* Right-clicking on the column heading will display show/hide menu */
1140 #define LISTATTRX_DROPBETWEENROWS 0x00000080 /* Drop target is between ListBox rows */
1141 #define LISTATTRX_WAITFORDBLCLK 0x00000100 /* StateChanged is only sent once when double-clicking; wait for timeout on single-click */
1142 #define LISTATTRX_OUTLINESELECTION 0x00000200 /* Draw rectangle around selected row */
1143 #define LISTATTRX_DRAWNOSIDES 0x00000400 /* Do not draw the sides - useful when ListBox stretches across the entire dialog */
1144 #define LISTATTRX_DRAWNOBOTTOM 0x00000800 /* Do not draw the bottom - useful when ListBox stretches to bottom of dialog */
1145 
1146 /* The following make listBoxes emulate Motif style selection policies and
1147  should not be used with LISTATTR_xxxSELECTION constants */
1148 #define LISTATTR_SELBROWSE 0x0
1149 #define LISTATTR_SELSINGLE (LISTATTR_NOSELECTION | LISTATTR_SINGLENODRAG | LISTATTR_KEYDEFAULTADDMODE)
1150 #define LISTATTR_SELMULTI (LISTATTR_DISJOINTSELECTION | LISTATTR_NOSELECTION | LISTATTR_KEYDEFAULTADDMODE)
1151 #define LISTATTR_SELEXTENDED (LISTATTR_DISJOINTSELECTION | LISTATTR_NOSELECTION | LISTATTR_DRAGSELECTION | LISTATTR_KEYCANTOGGLEMODE )
1152 
1153 /* The following may be used in the ListColumnRsc attributes field w/ HIDDEN and ALIGN_... */
1154 #define LISTCOLATTR_NOSORT 0x00001000 /* Used w/ LISTATTR_SORTCOLUMNS ... This column is not sortable */
1155 #define LISTCOLATTR_NOEDIT 0x00002000 /* Used w/ LISTATTR_EDITABLE ... This column is not editable */
1156 #define LISTCOLATTR_EDITABLE 0x00004000 /* This column is editable, regardless of LISTATTR_EDITABLE */
1157 #define LISTCOLATTR_NOHIGHLIGHT 0x00008000 /* This column is not hilightable */
1158 #define LISTCOLATTR_NEVERSHOW 0x00010000 /* Never show this column (HIDDEN is a temporary state) */
1159 #define LISTCOLATTR_NODISPLAYLABEL 0x00020000 /* Don't display the label - useful when display icons in heading */
1160 
1161 //=======================================================================================
1163 //=======================================================================================
1165  {
1166  long width;
1167  long maxSize; /* max # of chars in column */
1169 #if defined (resource)
1170  Utf8Char heading[];
1171 #else
1174 #endif
1175  };
1176 
1177 //=======================================================================================
1179 //=======================================================================================
1181  {
1189 
1190 #if defined (resource)
1191  Utf8Char label[];
1192  DItem_ListColumnRsc listColumns[];
1193 #else
1196 #endif
1197 
1198  };
1199 
1200 //=======================================================================================
1202 //=======================================================================================
1204 
1205 #if defined (resource)
1206 resourceclass DItem_ListBoxRsc RTYPE_ListBox extendedAttributes, extendedIntAttributes, extendedWideAttributes,
1207  localize (label, listColumns.heading);
1208 #define ListBox RTYPE_ListBox
1209 #endif
1210 
1211 //=======================================================================================
1213 //=======================================================================================
1214 #define COMBOATTR_READONLY 0x00000001
1215 #define COMBOATTR_SORT 0x00000002
1216 #define COMBOATTR_DRAWPREFIXICON 0x00000004
1217 #define COMBOATTR_INDEXISVALUE 0x00000008
1218 #define COMBOATTR_AUTOADDNEWSTRINGS 0x00000010
1219 #define COMBOATTR_LABELABOVE 0x00000020
1220 #define COMBOATTR_DISPLAYALLCOLUMNS 0x00000040
1221 #define COMBOATTR_USEMODELVALUE 0x00000080
1222 #define COMBOATTR_NOKEYSEARCH 0x00000100
1223 #define COMBOATTR_NODISABLEICON 0x00000200
1224 #define COMBOATTR_NOHORIZSCROLLBAR 0x00000400
1225 #define COMBOATTR_FONTBYCOLUMN 0x00000800
1226 #define COMBOATTR_COLOREDROWS 0x00001000
1227 #define COMBOATTR_HIGHLIGHTTEXT 0x00002000
1228 #define COMBOATTR_FULLWIDTH 0x00004000
1229 #define COMBOATTR_CELLFONTINBOX (0x00008000 | COMBOATTR_FONTBYCOLUMN)
1230 #define COMBOATTR_LABELINSIDE 0x00010000
1231 #define COMBOATTR_TREE 0x00020000
1232 #define COMBOATTR_TREEPARENTSELECTABLE 0x00040000
1234 //=======================================================================================
1235 //=======================================================================================
1238  {
1246 
1247  short maxSize; /* max # of chars in text field */
1248  char formatToDisplay[TEXT_FORMAT_SIZE]; /* format str to convert from internal */ // CHAR_OK
1249  char formatToInternal[TEXT_FORMAT_SIZE]; /* convert to internal from display str */ // CHAR_OK
1250  char minimum[TEXT_MINMAX_SIZE]; /* minimum value */ // CHAR_OK
1251  char maximum[TEXT_MINMAX_SIZE]; /* maximum value */ // CHAR_OK
1252  UInt32 mask; /* only used with integer types */
1253  long stringListId; /* Id of initial string list to be used */
1254  long nRows; /* Number of rows to show in list */
1255  UInt16 gapWidth; /* Gap between textedit & button (dcoords) */
1256  UInt16 listWidth; /* Width of dropdown listbox (dcoords) */
1257  UInt16 valueColumnIndex; /* Index of Column to get value from */
1258  UInt32 attributes; /* other attributes */
1259 #if defined (resource)
1260  Utf8Char label[];
1261  char accessStr[]; // CHAR_OK
1262  DItem_ListColumnRsc listColumns[];
1263 #else
1266 #endif
1267  };
1268 
1269 #if defined (resource)
1270 resourceclass DItem_ComboBoxRsc RTYPE_ComboBox extendedAttributes, extendedIntAttributes, extendedWideAttributes,
1271  localize (label, listColumns.heading);
1272 #define ComboBox RTYPE_ComboBox
1273 #endif
1274 
1275 //=======================================================================================
1277 //=======================================================================================
1278 #define MENUBARATTR_TALL 0x00000001
1280 //=======================================================================================
1281 //=======================================================================================
1284  {
1287  };
1288 
1289 //=======================================================================================
1291 //=======================================================================================
1293  {
1296 #if defined (resource)
1297  DItem_MenuBarItemRsc menuBarItems[];
1298 #else
1299  long nMenus;
1301 #endif
1302  };
1303 
1304 #if defined (resource)
1305 resourceclass DItem_MenuBarRsc RTYPE_MenuBar;
1306 #define MenuBar RTYPE_MenuBar
1307 #endif
1308 
1309 //=======================================================================================
1311 //=======================================================================================
1313  {
1316 #if defined (resource)
1317  char ownerTaskId[]; // CHAR_OK
1318  UInt32 attributes;
1319  Utf8Char menuTitle[]; /* menu title override */
1320 #else
1322  char ownerTaskId[1]; // CHAR_OK
1323 #endif
1324  };
1325 
1326 //=======================================================================================
1328 //=======================================================================================
1330  {
1334 #if defined (resource)
1335  DItem_MenuBarItemXRsc menuBarItems[];
1336 #else
1337  long nMenus;
1339 #endif
1340  };
1341 
1342 #if defined (resource)
1343 resourceclass DItem_MenuBarXRsc RTYPE_MenuBarX localize (menuBarItems.menuTitle);
1344 #define MenuBarX RTYPE_MenuBarX
1345 #endif
1346 
1347 //=======================================================================================
1349 //=======================================================================================
1350 #define MLTEXTATTR_READONLY 0x0001
1351 #define MLTEXTATTR_NODISPLAYNLCHAR 0x0002
1352 #define MLTEXTATTR_AUTOHIDEDECOR 0x0004
1353 #define MLTEXTATTR_ALWAYSBEVELED 0x0008
1354 #define MLTEXTATTR_NOWRAP 0x0010
1355 #define MLTEXTATTR_FIXEDFONT 0x0020
1356 #define MLTEXTATTR_READONLYCOPY 0x0040
1357 #define MLTEXTATTR_DYNAMICSCROLL 0x0080
1358 #define MLTEXTATTR_SBARINWIDTH 0x0100
1359 #define MLTEXTATTR_MESSAGEFONT 0x0200
1360 #define MLTEXTATTR_KEEPSELECTIONONFOCUS 0x0400
1362 //=======================================================================================
1363 //=======================================================================================
1366  {
1372 
1373  UInt32 attributes; /* other attributes */
1375 #if defined (resource)
1376  Utf8Char label[];
1377 #else
1380 #endif
1381  };
1382 
1383 #if defined (resource)
1384 resourceclass DItem_MultilineTextRsc RTYPE_MultilineText extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label);
1385 #define MLText RTYPE_MultilineText
1386 #define MultiLineText RTYPE_MultilineText
1387 #endif
1388 
1389 
1390 //=======================================================================================
1392 //=======================================================================================
1393 #define OPTNBTNATTR_DONTADDBUMPWIDTH 0x00002000
1394 #define OPTNBTNATTR_NEWSTYLE 0x00004000
1395 #define OPTNBTNATTR_LABELABOVE 0x00008000
1396 #define OPTNBTNATTR_DONTDRAWMNEMONIC 0x00010000
1397 #define OPTNBTNATTR_ICONANDTEXT 0x00020000
1398 #define OPTNBTNATTR_ICONRIGHT 0x00040000
1400 //=======================================================================================
1401 //=======================================================================================
1404  {
1412 #if defined (resource)
1413  Utf8Char label[];
1414 #else
1417 #endif
1418  };
1419 
1420 //=======================================================================================
1422 //=======================================================================================
1424  {
1429  UInt64 itemHookArg; /* The OPTNBTNATTR_... may be used here */
1430 #if defined (resource)
1431  Utf8Char label[];
1432  char accessStr[]; // CHAR_OK
1433  DItem_OptionButtonItemRsc optionButtonItems[];
1434 #else
1437 #endif
1438  };
1439 
1440 #if defined (resource)
1441 resourceclass DItem_OptionButtonRsc RTYPE_OptionButton extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label, optionButtonItems.label);
1442 #define OptionButton RTYPE_OptionButton
1443 #endif
1444 
1445 //=======================================================================================
1447 //=======================================================================================
1448 #define POPUPMENUATTR_NOSAVEBITS 0x00000001
1449 
1450 //=======================================================================================
1452 //=======================================================================================
1454  {
1462  };
1463 
1464 #if defined (resource)
1465 resourceclass DItem_PopupMenuRsc RTYPE_PopupMenu;
1466 #define PopupMenu RTYPE_PopupMenu
1467 #endif
1468 
1469 //=======================================================================================
1471 //=======================================================================================
1473  {
1474 #if defined (resource)
1475  Utf8Char label[];
1476  UInt32 accelerator;
1477  UInt8 enabled;
1478  UInt8 mark;
1479  RscType subMenuType;
1480  RscId submenuId;
1481  UInt32 helpInfo;
1482  char helpTaskId[]; // CHAR_OK
1483  long pulldownItemHookId;
1484  long searchId; /* used to search for item */
1485  CommandNumber commandNumber;
1486  char commandTaskId[]; // CHAR_OK
1487  char unparsed[]; // CHAR_OK
1488 #else
1491 #endif
1492  };
1493 
1494 //=======================================================================================
1496 //=======================================================================================
1498  {
1500 #if defined (resource)
1501  char helpTaskId[]; // CHAR_OK
1502  long pulldownHookId;
1503  UInt32 attributes;
1504  Utf8Char menuTitle[];
1505  DItem_PulldownMenuItemRsc pulldownItems[];
1506 #else
1508  char helpTaskId[1];
1509 #endif
1510  };
1511 
1512 #if defined (resource)
1513 resourceclass DItem_PulldownMenuRsc RTYPE_PulldownMenu localize (menuTitle, pulldownItems.label);
1514 #define PulldownMenu RTYPE_PulldownMenu
1515 #define PDTextMenu RTYPE_PulldownMenu
1516 #endif
1517 
1518 //=======================================================================================
1520 //=======================================================================================
1522  {
1523 #if defined (resource)
1524  Utf8Char label[];
1525  UInt32 accelerator;
1526  UInt8 enabled;
1527  UInt8 mark;
1528  RscType subMenuType;
1529  RscId submenuId;
1530  UInt32 helpInfo;
1531  char helpTaskId[]; // CHAR_OK
1532  long pulldownItemHookId;
1533  long searchId; /* used to search for item */
1534  CommandNumber commandNumber;
1535  char commandTaskId[]; // CHAR_OK
1536  char unparsed[]; // CHAR_OK
1537  RscId iconId;
1538  RscType iconType;
1539  char iconTaskId[]; // CHAR_OK
1540 #else
1543 #endif
1544  };
1545 
1546 //=======================================================================================
1548 //=======================================================================================
1550  {
1552 #if defined (resource)
1553  char helpTaskId[]; // CHAR_OK
1554  long pulldownHookId;
1555  UInt32 attributes;
1556  Utf8Char menuTitle[];
1557  DItem_PulldownIconMenuItemRsc pulldownItems[];
1558 #else
1560  char helpTaskId[1]; // CHAR_OK
1561 #endif
1562  };
1563 
1564 #if defined (resource)
1565 resourceclass DItem_PulldownIconMenuRsc RTYPE_PulldownIconMenu localize (menuTitle, pulldownItems.label);
1566 #define PulldownIconMenu RTYPE_PulldownIconMenu
1567 #define PDIconMenu RTYPE_PulldownIconMenu
1568 #endif
1569 
1570 //=======================================================================================
1572 //=======================================================================================
1574 
1575 //=======================================================================================
1577 //=======================================================================================
1579  {
1585 #if defined (resource)
1586  Utf8Char menuTitle[];
1587  char accessStr[]; // CHAR_OK
1588  DItem_PulldownOptionItemRsc pulldownOptionItems[];
1589 #else
1592 #endif
1593  };
1594 
1595 #if defined (resource)
1596 resourceclass DItem_PulldownOptionMenuRsc RTYPE_PulldownOptionMenu localize (menuTitle, pulldownOptionItems.label);
1597 #define PulldownOptionMenu RTYPE_PulldownOptionMenu
1598 #define PDOptionMenu RTYPE_PulldownOptionMenu
1599 #endif
1600 
1601 //=======================================================================================
1603 //=======================================================================================
1604 #define PBUTATTR_ALIGNCENTER 0x00
1605 #define PBUTATTR_ALIGNLEFT 0x04
1606 #define PBUTATTR_ALIGNRIGHT 0x08
1607 #define PBUTATTR_ALIGNMASK 0x0c
1608 
1609 #define PBUTATTR_ICONRIGHT 0x10
1610 #define PBUTATTR_ICONALIGNMASK 0x10
1611 
1612 #define PBUTATTR_DYNAMICBORDER 0x20
1613 #define PBUTATTR_THINBORDER 0x40
1614 #define PBUTATTR_DIALOGWIDTH 0x80
1615 
1616 //=======================================================================================
1618 //=======================================================================================
1620  {
1621  byte isDefault; /* true if this is default button */
1628 #if defined (resource)
1629  char unparsed[]; // CHAR_OK
1630  Utf8Char label[];
1631 #else
1633  char unparsed[1]; // CHAR_OK
1634 #endif
1635  };
1636 
1637 #if defined (resource)
1638 resourceclass DItem_PushButtonRsc RTYPE_PushButton extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label);
1639 #define PushButton RTYPE_PushButton
1640 #endif
1641 
1642 //=======================================================================================
1644 //=======================================================================================
1646  {
1647  byte isDefault; /* true if this is default button */
1656 #if defined (resource)
1657  char unparsed[]; // CHAR_OK
1658  Utf8Char label[];
1659 #else
1661  char unparsed[1]; // CHAR_OK
1662 #endif
1663  };
1664 
1665 #if defined (resource)
1666 resourceclass DItem_PushButtonXRsc RTYPE_PushButtonX extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label);
1667 #define PushButtonX RTYPE_PushButtonX
1668 #endif
1669 
1670 //=======================================================================================
1672 //=======================================================================================
1674 #if defined (resource)
1676 #define RadioButtonList RTYPE_RadioButtonList
1677 #endif
1678 
1679 //=======================================================================================
1681 //=======================================================================================
1683  {
1691 
1694  long radioButtonListId; /* must specify, id of list of other rb's in group */
1695 
1696 #if defined (resource)
1697  Utf8Char label[];
1698  char accessStr[]; // CHAR_OK
1699 #else
1702 #endif
1703  };
1704 
1705 #if defined (resource)
1706 resourceclass DItem_RadioButtonRsc RTYPE_RadioButton extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label);
1707 #define RadioButton RTYPE_RadioButton
1708 #endif
1709 
1710 //=======================================================================================
1712 //=======================================================================================
1713 #define SASHATTR_VERTICAL 0x00000001
1714 #define SASHATTR_ALLGRAB 0x00000002
1715 #define SASHATTR_WIDE 0x00000004
1716 #define SASHATTR_SOLIDTRACK 0x00000008
1717 #define SASHATTR_SAVEPOSITION 0x00000010
1718 #define SASHATTR_NOENDS 0x00000020
1719 #define SASHATTR_SMOOTHMOVE 0x00000040
1720 #define SASHATTR_CLEAR 0x00000080
1721 #define SASHATTR_MOVEHANDLE 0x00000100
1722 #define SASHATTR_EXTENDLEFTTOP 0x00000200
1723 #define SASHATTR_EXTENDRIGHTBOTTOM 0x00000400
1725 //=======================================================================================
1726 //=======================================================================================
1729  {
1734  long topBorder; /* min distance of sash from top or left (in dcoords) */
1735  long bottomBorder; /* min distance of sash from bottom or right (in dcoords) */
1737  };
1738 
1739 #if defined (resource)
1740 resourceclass DItem_SashRsc RTYPE_Sash extendedAttributes, extendedIntAttributes, extendedWideAttributes;
1741 #define Sash RTYPE_Sash
1742 #endif
1743 
1744 //=======================================================================================
1746 //=======================================================================================
1748  {
1750  Point2d pt; /* global origin of position */
1751  };
1752 
1753 #if defined (resource)
1754 resourceclass SashPositionRsc RTYPE_SashPosition;
1755 #endif
1756 
1757 //=======================================================================================
1759 //=======================================================================================
1760 #define SCALE_SHOWVALUE 0x1
1761 #define SCALE_HASARROWS 0x2
1762 #define SCALE_LIMITSONSIDE 0x4
1763 #define SCALE_VALUEINTHUMB 0x8
1764 
1765 //=======================================================================================
1767 //=======================================================================================
1769  {
1777 
1778  double minValue;
1779  double maxValue;
1780  double incAmount;
1785 
1786 #if defined (resource)
1787  Utf8Char label[];
1788  char accessStr[]; // CHAR_OK
1789  Utf8Char minLabel[];
1790  Utf8Char maxLabel[];
1791 #else
1794 #endif
1795  };
1796 
1797 #if defined (resource)
1798 resourceclass DItem_ScaleRsc RTYPE_Scale extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label, minLabel, maxLabel);
1799 #define Scale RTYPE_Scale
1800 #endif
1801 
1802 //=======================================================================================
1804 //=======================================================================================
1806  {
1809  long minValue;
1810  long maxValue;
1813  double sliderSize;
1814 #if defined (resource)
1815  char accessStr[]; // CHAR_OK
1816 #else
1818  char accessStr[1]; // CHAR_OK
1819 #endif
1820  };
1821 
1822 #if defined (resource)
1823 resourceclass DItem_ScrollBarRsc RTYPE_ScrollBar;
1824 #define ScrollBar RTYPE_ScrollBar
1825 #endif
1826 
1827 //=======================================================================================
1830 //=======================================================================================
1831 #define SEPARATOR_VERTICAL 0x01
1832 #define SEPARATOR_HORIZONTAL 0x02
1833 #define SEPARATOR_DIRMASK 0x03
1834 #define SEPARATOR_LABEL 0x04
1835 #define SEPARATOR_INDENTENDS 0x08
1836 #define SEPARATOR_INDENTLARGE 0x10
1837 #define SEPARATOR_DIALOGSIZE 0x20
1838 #define SEPARATOR_DIALOGTOPLEFT 0x40
1839 #define SEPARATOR_SIZEPREV 0x80
1841 #define SEPARATOR_FLOWLAYOUT (SEPARATOR_VERTICAL | SEPARATOR_INDENTENDS | SEPARATOR_SIZEPREV)
1843 
1845 #define SEPARATOR_HTOOLSETTINGS (SEPARATOR_HORIZONTAL | SEPARATOR_INDENTLARGE | SEPARATOR_DIALOGSIZE)
1846 #define SEPARATOR_HWITHBUTTONS (SEPARATOR_HORIZONTAL | SEPARATOR_INDENTLARGE | SEPARATOR_DIALOGTOPLEFT)
1847 
1848 //=======================================================================================
1850 //=======================================================================================
1851 #if defined (resource)
1852 #define Separator RTYPE_Separator
1853 #endif
1854 
1855 //=======================================================================================
1857 //=======================================================================================
1858 #define SPINATTR_LABELABOVE 0x0001 /* Put label above text field */
1859 
1860 //=======================================================================================
1862 //=======================================================================================
1864  {
1872 
1873  short maxSize; /* max # of chars in field */
1874  char formatToDisplay[TEXT_FORMAT_SIZE]; /* format str to convert from internal */ // CHAR_OK
1875  char formatToInternal[TEXT_FORMAT_SIZE]; /* convert to internal from display str */ // CHAR_OK
1876  double minValue; /* minimum value */
1877  double maxValue; /* maximum value */
1878  double incAmount; /* UpDown increment amount */
1879  UInt32 mask; /* only used with integer types */
1880  UInt32 attributes; /* other attributes */
1881 #if defined (resource)
1882  Utf8Char label[];
1883  char accessStr[]; // CHAR_OK
1884 #else
1887 #endif
1888  };
1889 
1890 #if defined (resource)
1891 resourceclass DItem_SpinBoxRsc RTYPE_SpinBox extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label);
1892 #define SpinBox RTYPE_SpinBox
1893 #endif
1894 
1895 //=======================================================================================
1897 //=======================================================================================
1898 #define TABATTR_DEFAULT 0x00000000
1904 #define TABATTR_TABSBOTTOM 0x00000001
1905 #define TABATTR_TABSLEFT 0x00000002
1906 #define TABATTR_TABSRIGHT 0x00000004
1907 #define TABATTR_MULTIROW 0x00000008
1908 #define TABATTR_TABSFITPAGEWIDTH 0x00000010
1909 #define TABATTR_TABSFIXEDWIDTH 0x00000020
1910 #define TABATTR_LABELLEFTJUSTIFY 0x00000040
1911 #define TABATTR_LABELRIGHTJUSTIFY 0x00000080
1912 #define TABATTR_ICONLEFTJUSTIFY 0x00000100
1913 #define TABATTR_ICONRIGHTJUSTIFY 0x00000200
1914 #define TABATTR_TABSSHORT 0x00000400
1915 #define TABATTR_TABSTALL 0x00000800
1916 #define TABATTR_RELATIVEPOSITIONS 0x00001000
1917 #define TABATTR_SHOWHIDEMENU 0x00002000
1918 #define TABATTR_MINSIZEFROMSELECTED 0x00004000
1920 //=======================================================================================
1921 //=======================================================================================
1924  {
1935 #if defined (resource)
1936  Utf8Char label[]; /* Default Label */
1937  DialogItemRsc itemList[]; /* List of items in this container */
1938 #else
1941 #endif
1942  };
1943 
1944 #if defined (resource)
1945 resourceclass DItem_TabPageRsc RTYPE_TabPage extendedAttributes, extendedIntAttributes, extendedWideAttributes,
1946  localize (label, itemList.label);
1947 #define TabPage RTYPE_TabPage
1948 #endif
1949 
1950 //=======================================================================================
1952 //=======================================================================================
1954  {
1955  long width; /* dialog coords */
1956  long height; /* dialog coords */
1963 #if defined (resource)
1964  Utf8Char label[];
1965  DialogItemRsc itemList[];
1966 #else
1969 #endif
1970  };
1971 
1972 #if defined (resource)
1973 resourceclass DItem_TabPageListRsc RTYPE_TabPageList extendedAttributes, extendedIntAttributes, extendedWideAttributes,
1974  localize (label, itemList.label);
1975 #define TabPageList RTYPE_TabPageList
1976 #endif
1977 
1978 //=======================================================================================
1980 //=======================================================================================
1981 #define TEXT_NOCONCAT 0x00000000
1982 #define TEXT_CONCAT 0x00000001
1983 #define TEXT_NOECHO 0x00000002
1984 #define TEXT_READONLY 0x00000004
1985 #define TEXT_NORESETONERROR 0x00000008
1986 #define TEXT_ABBREVFILENAME 0x00000014
1987 #define TEXT_READONLYCOPY 0x00000024
1988 #define TEXT_ALWAYSBEVELED 0x00000040
1989 #define TEXT_LABELINSIDE 0x00000080
1990 #define TEXT_PASSWORD 0x00000100
1991 #define TEXT_AUTOUPDATE 0x00000200
1993 //=======================================================================================
1994 //=======================================================================================
1997  {
2005 
2006  short maxSize; /* max # of chars in field */
2007  char formatToDisplay[TEXT_FORMAT_SIZE]; /* format str to convert from internal */ // CHAR_OK
2008  char formatToInternal[TEXT_FORMAT_SIZE]; /* convert to internal from display str */ // CHAR_OK
2009  char minimum[TEXT_MINMAX_SIZE]; /* minimum value */ // CHAR_OK
2010  char maximum[TEXT_MINMAX_SIZE]; /* maximum value */ // CHAR_OK
2011  UInt32 mask; /* only used with integer types */
2012  UInt32 attributes; /* other attributes */
2013 #if defined (resource)
2014  Utf8Char label[];
2015  char accessStr[]; // CHAR_OK
2016 #else
2019 #endif
2020  };
2021 
2022 #if defined (resource)
2023 resourceclass DItem_TextRsc RTYPE_Text extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label);
2024 
2025 #define Text RTYPE_Text
2026 #define TextBox RTYPE_Text
2027 #endif
2028 
2029 //=======================================================================================
2031 //=======================================================================================
2033  {
2041 
2044 
2045 #if defined (resource)
2046  Utf8Char label[];
2047  char accessStr[]; // CHAR_OK
2048 #else
2051 #endif
2052  };
2053 
2055 
2056 #if defined (resource)
2057 resourceclass DItem_ToggleButtonRsc RTYPE_ToggleButton extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label);
2058 resourceclass DItem_CheckButtonRsc RTYPE_CheckButton extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label);
2059 
2060 #define ToggleButton RTYPE_ToggleButton
2061 #define CheckButton RTYPE_CheckButton
2062 #endif
2063 
2064 //=======================================================================================
2066 //=======================================================================================
2067 #define TOGGLEICONATTR_ALLOWSINGLESHOT 0x00000001
2069 //=======================================================================================
2070 //=======================================================================================
2073  {
2081 
2084 
2086 
2088  RscType iconType; /* 0 for RTYPE_IconCmdSmallIcon or Large */
2089 
2090 #if defined (resource)
2091  Utf8Char label[];
2092  char accessStr[]; // CHAR_OK
2093 #else
2096 #endif
2097  };
2098 
2099 #if defined (resource)
2100 resourceclass DItem_ToggleIconRsc RTYPE_ToggleIcon extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label);
2101 
2102 #define ToggleIcon RTYPE_ToggleIcon
2103 #endif
2104 
2105 //=======================================================================================
2107 //=======================================================================================
2108 #define CONTAINERATTR_NODILISTID 0x00000001 /* Don't use diListId - app will use Container API to set DialogItemListRsc */
2109 #define CONTAINERATTR_AUTOCLOSE 0x00000002 /* Auto-close on mouse exit */
2110 
2111 //=======================================================================================
2113 //=======================================================================================
2115  {
2123  long diListId; /* DialogItemListRsc id */
2124  };
2125 
2126 #if defined (resource)
2127 resourceclass DItem_ContainerRsc RTYPE_Container extendedAttributes, extendedIntAttributes, extendedWideAttributes;
2128 #define Container RTYPE_Container
2129 #endif
2130 
2131 //=======================================================================================
2133 //=======================================================================================
2134 #define CTPANELATTR_BOUNDINGBOX 0x00000001 /* Draw box around panel */
2135 
2136 //=======================================================================================
2138 //=======================================================================================
2140  {
2145  UInt32 attributes; /* ContainerPanel attributes */
2146  long containerId; /* ContainerRsc id */
2147  long unused;
2148 #if defined (resource)
2149  Utf8Char label[]; /* Label for bounding box */
2150 #else
2153 #endif
2154  };
2155 
2156 #if defined (resource)
2157 resourceclass DItem_ContainerPanelRsc RTYPE_ContainerPanel extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label);
2158 #define ContainerPanel RTYPE_ContainerPanel
2159 #endif
2160 
2161 //=======================================================================================
2163 //=======================================================================================
2164 #define TREEATTR_NOSHOWROOT 0x00000001 /* Don't display root node */
2165 #define TREEATTR_NOROOTHANDLE 0x00000002 /* Don't display root node handle */
2166 #define TREEATTR_NOHANDLES 0x00000004 /* Don't show expansion symbols */
2167 #define TREEATTR_NOLINES 0x00000008 /* Don't show lines linking nodes */
2168 #define TREEATTR_NOICONS 0x00000010 /* Don't draw icons */
2169 #define TREEATTR_NOAUTOSCROLL 0x00000020 /* Don't auto scroll tree on row expansion */
2170 #define TREEATTR_NOKEYSEARCH 0x00000040 /* Don't search upon key press */
2171 
2172 #define TREEATTR_MULTISELECTION 0x00000080 /* can select multiple nodes */
2173 #define TREEATTR_DRAGSELECTION 0x00000100 /* can select by dragging */
2174 #define TREEATTR_EXTENDEDSELECTION 0x00000200 /* can select by Ctrl-click & Shift-click */
2175 
2176 #define TREEATTR_LINESDOTTED 0x00000400 /* display dotted lines linking nodes */
2177 #define TREEATTR_LINESDIM 0x00000800 /* dim the solid or dotted lines */
2178 #define TREEATTR_LABELONSIDE 0x00001000 /* label on side, not above */
2179 #define TREEATTR_INDEPENDENTCOLS 0x00004000 /* columns can be individually selected */
2180 #define TREEATTR_DYNAMICSCROLL 0x00008000 /* scroll as slider moves */
2181 #define TREEATTR_COLHEADINGBORDERS 0x00010000 /* Draw borders around the column headings */
2182  /* Columns may be resized by the user */
2183 #define TREEATTR_RESIZABLECOLUMNS (0x00020000|TREEATTR_COLHEADINGBORDERS)
2184 #define TREEATTR_SEPARATORS 0x00040000 /* Allow '-' to signify separator */
2185 #define TREEATTR_DLOGBGCOLOR 0x00080000 /* Use DLOGBACKGROUND color instead of BACKGROUND */
2186 #define TREEATTR_HORIZSCROLLBAR 0x00100000 /* Display horizontal scroll bar if needed */
2187 #define TREEATTR_SAVECOLUMNINFO 0x00200000 /* Save column positions and sort info */
2188 #define TREEATTR_EDITABLE 0x00400000 /* Editable cells */
2189 #define TREEATTR_GRID 0x00800000 /* Draw grid around cells */
2190 #define TREEATTR_TRAVERSAL 0x01000000 /* Draw overall traversal rectangle */
2191 #define TREEATTR_HIGHLIGHTROW 0x02000000 /* Highlight entire row */
2192 #define TREEATTR_DOUBLECLICKEXPANDS 0x04000000 /* Double-clicking a row expands/collapses it */
2193 #define TREEATTR_RIGHTCLICKSTOHOOK 0x08000000 /* Send right button clicks to hook */
2194 #define TREEATTR_FOCUSOUTLOOK 0x10000000 /* Selected items use different colors when !hasFocus */
2195 #define TREEATTR_DROPWHOLEITEM 0x20000000 /* Drop target is whole item as opposed to on parent nodes */
2196 #define TREEATTR_DROPBETWEENROWS 0x40000000 /* Drop target is between displayable rows */
2197 #define TREEATTR_NOELLIPSES 0x80000000 /* Columns will not show ellipses when truncated. */
2198 
2199 /* The following may be used in the TreeColumnRsc attributes field w/ HIDDEN and ALIGN_... */
2200 #define TREECOLATTR_NOEDIT 0x00000100 /* Used w/ TREEATTR_EDITABLE ... This column is not editable */
2201 #define TREECOLATTR_EDITABLE 0x00000200 /* This column is editable, regardless of TREEATTR_EDITABLE */
2202 #define TREECOLATTR_NODISPLAYLABEL 0x00000400 /* Don't display the label - useful when display icons in heading */
2203 
2204 //=======================================================================================
2206 //=======================================================================================
2208  {
2209  long id;
2210  long width;
2211  long maxSize; /* max # of chars in column */
2213 #if defined (resource)
2214  Utf8Char heading[];
2215 #else
2218 #endif
2219  };
2220 
2221 //=======================================================================================
2223 //=======================================================================================
2225  {
2232  long detailPanelId; /* Id of associated ContainerPanel */
2233 
2234 #if defined (resource)
2235  Utf8Char label[];
2236  DItem_TreeColumnRsc treeColumns[];
2237 #else
2240 #endif
2241 
2242  };
2243 
2244 #if defined (resource)
2245 resourceclass DItem_TreeRsc RTYPE_Tree extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label, treeColumns.heading);
2246 #define Tree RTYPE_Tree
2247 #endif
2248 
2249 
2250 //=======================================================================================
2252 //=======================================================================================
2253 #define UPDNATTR_INVERT 0x0001
2254 #define UPDNATTR_VERTICAL 0x0002
2255 #define UPDNATTR_HORIZONTAL 0x0004
2256 #define UPDNATTR_DIRMASK 0x0006
2258 //=======================================================================================
2259 //=======================================================================================
2262  {
2265  double minValue;
2266  double maxValue;
2267  double incAmount;
2268  UInt32 attributes; /* other attributes */
2269 #if defined (resource)
2270  char accessStr[]; // CHAR_OK
2271 #else
2273  char accessStr[1]; // CHAR_OK
2274 #endif
2275  };
2276 
2277 #if defined (resource)
2279 #define UpDownButtons RTYPE_UpDownButtons
2280 #endif
2281 
2282 /*----------------------------------------------------------------------+
2283 | |
2284 | Non-General Use Items |
2285 | |
2286 +----------------------------------------------------------------------*/
2287 
2288 //=======================================================================================
2290 //=======================================================================================
2291 #define LEVLISTATTR_MASTERFILE 0x0001
2292 #define LEVLISTATTR_REFERENCEFILES 0x0002
2293 #define LEVLISTATTR_ALLFILES 0x0003
2294 #define LEVLISTATTR_SHOWDESCR 0x0004
2295 #define LEVLISTATTR_SHOWFILE 0x0008
2296 #define LEVLISTATTR_SHOWUSED 0x0010
2297 #define LEVLISTATTR_SHOWEXTERNAL 0x0020
2298 #define LEVLISTATTR_SHOWLOCKED 0x0040
2299 #define LEVLISTATTR_ALLCOLUMNS (LEVLISTATTR_SHOWDESCR | LEVLISTATTR_SHOWFILE | LEVLISTATTR_SHOWUSED | LEVLISTATTR_SHOWEXTERNAL | LEVLISTATTR_SHOWLOCKED)
2300 #define LEVLISTATTR_BOLDUSED 0x0100
2301 #define LEVLISTATTR_APPLYACTIVEFILTER 0x0200
2302 #define LEVLISTATTR_USEDISPLAYNAME 0x0400
2304 //=======================================================================================
2305 //=======================================================================================
2308  {
2313 
2314  long nRows; /* Number of rows to show in list */
2315  UInt32 attributes; /* LEVLISTATTR attributes */
2316 #if defined (resource)
2317  Utf8Char label[];
2318  char accessStr[]; // CHAR_OK
2319  char activeLevelAccessStr[]; // CHAR_OK
2320 #else
2323 #endif
2324  };
2325 
2326 
2327 #if defined (resource)
2328 resourceclass DItem_LevelListRsc RTYPE_LevelList extendedAttributes, extendedIntAttributes, extendedWideAttributes, localize (label);
2329 #define LevelList RTYPE_LevelList
2330 #endif
2331 
2332 /*----------------------------------------------------------------------+
2333 | |
2334 | Window Menu Item |
2335 | |
2336 +----------------------------------------------------------------------*/
2338 
2339 #if defined (resource)
2341 #define WindowMenu RTYPE_WindowMenu
2342 #endif
2343 
2344 //=======================================================================================
2346 //=======================================================================================
2348  {
2349  double aspectRatio;
2350  };
2351 
2352 #if defined (resource)
2354 #endif
2355 
2356 //=======================================================================================
2358 //=======================================================================================
2360  {
2361 #if defined (resource)
2362  char openKeyin[]; // CHAR_OK
2363 #else
2365  char openKeyin[1]; // CHAR_OK
2366 #endif
2367  };
2368 
2369 #if defined (resource)
2371 #endif
2372 
2373 #if !defined (NDEBUG)
2374 #define __BFILE__ __FILE__
2375 #else
2376 #define __BFILE__ ""
2377 #endif
2378 
2379 //=======================================================================================
2381 // Keep in sync with PlatformTech/ui/Bentley.UI/Attributes/DialogInformationAttribute.cs
2382 //=======================================================================================
2383 #define DIALOGINFO_LayoutManager 0x00000001
2384 #define DIALOGINFO_AspectRatioDefined 0x00000002
2385 #define DIALOGINFO_AspectRatioNotNeeded 0x00000004
2386 #define DIALOGINFO_SystemDialog 0x00000008
2387 #define DIALOGINFO_LayoutManagerNotNeeded 0x00000010
2388 #define DIALOGINFO_Ignore 0x08000000
2389 
2390 //=======================================================================================
2392 //=======================================================================================
2394  {
2395 #if defined (resource)
2396  char openKeyin[]; // CHAR_OK
2397  char closeKeyin[]; // CHAR_OK
2398  char featureTrackingId[]; // CHAR_OK
2399  char screenShotId[]; // CHAR_OK
2400  char resourceFile[]; // CHAR_OK
2401  int lineNumber;
2402  int priority;
2403  UInt32 attributes;
2404 #else
2406  char openKeyin[1]; // CHAR_OK
2407 #endif
2408  };
2409 
2410 #if defined (resource)
2412 #endif
2413 
2415  {
2416 #if defined (resource)
2417  char openInstructions[]; // CHAR_OK
2418 #else
2420  char openInstructions[1]; // CHAR_OK
2421 #endif
2422  };
2423 
2424 #if defined (resource)
2426 #endif
2427 
2428 //=======================================================================================
2430 //=======================================================================================
2431 #define CMDITEMLISTINFO_LayoutManager 0x00000001
2432 #define CMDITEMLISTINFO_AspectRatioDefined 0x00000002
2433 #define CMDITEMLISTINFO_AspectRatioNotNeeded 0x00000004
2434 // Skip 0x08
2435 #define CMDITEMLISTINFO_LayoutManagerNotNeeded 0x00000010
2436 #define CMDITEMLISTINFO_Ignore 0x08000000
2437 
2438 //=======================================================================================
2440 //=======================================================================================
2442  {
2443 #if defined (resource)
2444  char openKeyin[]; // CHAR_OK
2445  char title[]; // CHAR_OK
2446  char screenShotId[]; // CHAR_OK
2447  char resourceFile[]; // CHAR_OK
2448  int lineNumber;
2449  int priority;
2450  UInt32 attributes;
2451 #else
2453  char openKeyin[1]; // CHAR_OK
2454 #endif
2455  };
2456 
2457 #if defined (resource)
2459 #endif
2460 
2462  {
2463 #if defined (resource)
2464  char openInstructions[]; // CHAR_OK
2465 #else
2467  char openInstructions[1]; // CHAR_OK
2468 #endif
2469  };
2470 
2471 #if defined (resource)
2473 #endif
2474 
2475 //=======================================================================================
2477 //=======================================================================================
2479  {
2483 
2484 #if defined (resource)
2485  char assemblyName[]; // Name of assembly containing the WinForms Control subclass // CHAR_OK
2486  char className[]; // Name of the WinForms control implementing the IDialogManagerControl interface // CHAR_OK
2487 #else
2489  char assemblyName[1]; // CHAR_OK
2490 #endif
2491  };
2492 
2493 #if defined (resource)
2494 resourceclass DItem_WinFormsControlRsc RTYPE_WinFormsControl extendedAttributes, extendedIntAttributes, extendedWideAttributes;
2495 #define WinFormsControl RTYPE_WinFormsControl
2496 #endif
2497 
2498 
2499 //=======================================================================================
2500 //
2501 // Item types for Dialog Layout Management
2502 //
2503 //=======================================================================================
2504 
2508  {
2513  };
2514 
2517  {
2523  };
2524 
2527  {
2533  };
2534 
2537  {
2538  GridWidthPolicy_Default, // Item's width will be determined by the column width, but also taking into account MINWIDTH and MAXWIDTH.
2539  GridWidthPolicy_Fixed, // Use the specified or natural width for this item, regardless of the column width.
2540  GridWidthPolicy_Ignored, // Ignore this item's width in the calculation of the column width. Item's width will be determined by the column width.
2541  };
2542 
2546  {
2548  int spacing;
2549  };
2550 
2554  {
2558  };
2559 
2562  {
2563  int stretch;
2564 #if defined (resource)
2565  char sharedSizeGroup[];
2566 #else
2569 #endif
2570  };
2571 
2575  {
2579 #if defined (resource)
2581 #else
2584 #endif
2585  };
2586 
2590  {
2592  int spacing;
2593  };
2594 
2598  {
2600  int spacing;
2601  };
2602 
2606  {
2608  };
2609 
2613  {
2615  };
2616 
2617 #if defined (resource)
2618 resourceclass DockLayoutRsc RTYPE_DockLayout extendedAttributes, extendedIntAttributes, extendedWideAttributes;
2619 #define DockLayout RTYPE_DockLayout
2620 
2621 resourceclass FlowLayoutRsc RTYPE_FlowLayout extendedAttributes, extendedIntAttributes, extendedWideAttributes;
2622 #define FlowLayout RTYPE_FlowLayout
2623 
2624 resourceclass GridLayoutRsc RTYPE_GridLayout extendedAttributes, extendedIntAttributes, extendedWideAttributes;
2625 #define GridLayout RTYPE_GridLayout
2626 
2627 resourceclass HStackLayoutRsc RTYPE_HStackLayout extendedAttributes, extendedIntAttributes, extendedWideAttributes;
2628 #define HStackLayout RTYPE_HStackLayout
2629 
2630 resourceclass VStackLayoutRsc RTYPE_VStackLayout extendedAttributes, extendedIntAttributes, extendedWideAttributes;
2631 #define VStackLayout RTYPE_VStackLayout
2632 
2633 resourceclass HSplitterLayoutRsc RTYPE_HSplitterLayout extendedAttributes, extendedIntAttributes, extendedWideAttributes;
2634 #define HSplitterLayout RTYPE_HSplitterLayout
2635 
2636 resourceclass VSplitterLayoutRsc RTYPE_VSplitterLayout extendedAttributes, extendedIntAttributes, extendedWideAttributes;
2637 #define VSplitterLayout RTYPE_VSplitterLayout
2638 
2639 #define GridRow RTYPE_GridRow
2640 #define EndLayout RTYPE_EndLayout
2641 #define Spacing RTYPE_Spacing
2642 #define Stretch RTYPE_Stretch
2643 #define EndRow RTYPE_EndRow
2644 
2645 #endif // resource
2646 
2647 // Helper macros for .r files
2648 #define BEGIN_LAYOUT(type, id, auxinfo) {{ 0, 0, 0, 0}, type, id, ON, 0, "", auxinfo},
2649 
2650 
2652 #define BEGIN_DOCK_LAYOUT(id, auxinfo) BEGIN_LAYOUT(DockLayout, id, auxinfo)
2653 
2655 #define BEGIN_FLOW_LAYOUT(id, auxinfo) BEGIN_LAYOUT(FlowLayout, id, auxinfo)
2656 
2658 #define BEGIN_GRID_LAYOUT(id, auxinfo) BEGIN_LAYOUT(GridLayout, id, auxinfo)
2659 
2661 #define BEGIN_HSTACK_LAYOUT(id, auxinfo) BEGIN_LAYOUT(HStackLayout, id, auxinfo)
2662 
2664 #define BEGIN_VSTACK_LAYOUT(id, auxinfo) BEGIN_LAYOUT(VStackLayout, id, auxinfo)
2665 
2667 #define BEGIN_HSPLITTER_LAYOUT(id, auxinfo) BEGIN_LAYOUT(HSplitterLayout, id, auxinfo)
2668 
2670 #define BEGIN_VSPLITTER_LAYOUT(id, auxinfo) BEGIN_LAYOUT(VSplitterLayout, id, auxinfo)
2671 
2673 #define END_LAYOUT {{ 0, 0, 0, 0}, EndLayout, 0, ON, 0, "", ""},
2674 
2676 #define GRID_ROW(stretch, auxinfo) {{ 0, 0, 0, 0}, GridRow, 0, ON, stretch, "", auxinfo},
2677 
2679 #define END_ROW {{ 0, 0, 0, 0}, EndRow, 0, ON, 0, "", ""},
2680 
2682 #define EMPTY_GRID_ROW(height, stretch, auxinfo) GRID_ROW(stretch, auxinfo) {{AUTO_XY, 0, height}, Label, 0, ON, LABEL_CANBEEMPTY, " ", "colSpan='*'"}, END_ROW
2683 
2685 #define EMPTY_GRID_CELL(minlength, auxinfo) {{AUTO_XY, minlength, 0}, Label, 0, ON, LABEL_CANBEEMPTY, "", auxinfo},
2686 
2688 #define SPACING(amount) {{ 0, 0, amount, 0}, Spacing, 0, ON, 0, "", ""},
2689 
2691 #define STRETCH(amount) {{ 0, 0, 0, 0}, Stretch, 0, ON, amount, "", ""},
2692 
2694 #define AUTO_XY 0, 0
2695 
2697 #define AUTO_XYWH { 0, 0, 0, 0}
2698 
2700 #define NO_ITEMARGS ON, 0, "", ""
2701 
2703 #define BEGIN_TOOL_SETTINGS BEGIN_VSTACK_LAYOUT(VSTACKLAYOUTID_ToolSettingsMain,"") BEGIN_HSTACK_LAYOUT(0, "") STRETCH(1)
2704 
2706 #define END_TOOL_SETTINGS STRETCH(1) END_LAYOUT STRETCH(1) END_LAYOUT
2707 
2709 #define LAYOUT_LABEL_PREV_LEFT(minlength, auxinfo) {{AUTO_XY, minlength, 0}, Label, 0, ON, LABEL_LINKPREV | ALIGN_LEFT, "", auxinfo},
2710 
2712 #define LAYOUT_LABEL_PREV_RIGHT(minlength, auxinfo) {{AUTO_XY, minlength, 0}, Label, 0, ON, LABEL_LINKPREV | ALIGN_RIGHT, "", auxinfo},
2713 
2715 #define LAYOUT_LABEL_NEXT_LEFT(minlength, auxinfo) {{AUTO_XY, minlength, 0}, Label, 0, ON, LABEL_LINKNEXT | ALIGN_LEFT, "", auxinfo},
2716 
2718 #define LAYOUT_LABEL_NEXT_RIGHT(minlength, auxinfo) {{AUTO_XY, minlength, 0}, Label, 0, ON, LABEL_LINKNEXT | ALIGN_RIGHT, "", auxinfo},
2719 
2721 #define PROPERTY_BINDING_BUTTON(STRING) {AUTO_XYWH, IconCmdX, ICONID_PropertyBindingButton, ON, 0, "", STRING }
2722 #define PROPERTY_BINDING_BUTTON_WITH_ID(STRING, ICONID) {AUTO_XYWH, IconCmdX, ICONID, ON, 0, "", STRING }
2723 #define DEFINE_PROPERTY_BINDING_BUTTON(ICONID) DItem_IconCmdXRsc ICONID = { NOHELP, MHELP, HOOKITEMID_PropertyBindingButton, NOARG, 0, ICONID_PropertyBindingUnassigned, "", "" };
2724 
2725 
2727 
2728 #define XC_3_2 (XC*3/2)
2729 #define MAIN_MARGIN XC_3_2
2730 #define REDUCED_MARGIN XC
2731 #define SMALL_MARGIN XC*2/3
2732 #define SB_MARGIN XC/3
2733 #define BUTTON_HSPACING XC_3_2
2734 #define SECTION_HSPACING XC_3_2
2735 #define LABEL_HSPACING XC/2
2736 #define MEDIUM_HSPACING XC
2737 #define LABEL_VSPACING YC/6
2738 #define ROW_SPACING YC/4
2739 #define GRID_HSPACING XC
2740 #define GRID_VSPACING ROW_SPACING
2741 #define VSTACK_VSPACING ROW_SPACING
2742 #define VSTACK_SECTION_SPACING YC*5/6
2743 #define HSTACK_HSPACING YC/3
2744 #define FLOW_MARGIN 1
2745 #define FLOW_HSPACING 1
2746 #define FLOW_VSPACING 1
2747 #define GROUPBOX_GAP YC/2
2748 #define SECTION_GAP YC/2
2749 #define FONTHEIGHT_GAP YC
2750 #define HSTACK_SBSPACING SB_MARGIN
2753 //=======================================================================================
2754 //=======================================================================================
2757  {
2759 #if defined (resource)
2760  char commandTaskId[]; // CHAR_OK
2761  char unparsed[]; // CHAR_OK
2762 #else
2764  char commandTaskId[1]; // CHAR_OK
2765 #endif
2766  };
2767 
2768 #if defined (resource)
2769 //=======================================================================================
2771 //=======================================================================================
2772 struct XCommandRsc
2773  {
2774  char name[]; // CHAR_OK
2775  CommandRsc command;
2776  char iconName[]; // CHAR_OK
2777  Utf8Char title[];
2778  Utf8Char description[];
2779  char featureTrackingId[]; // CHAR_OK
2780  char showExpression[]; // CHAR_OK
2781  char enableExpression[]; // CHAR_OK
2782  char toggleExpression[]; // CHAR_OK
2783  char markExpression[]; // CHAR_OK
2784  char uiSynchEvents[]; // CHAR_OK
2785  UInt32 accelerator;
2786  UInt32 featureAspectId;
2787  };
2788 
2789 resourceclass XCommandRsc RTYPE_XCommand extendedAttributes, extendedIntAttributes, extendedWideAttributes;
2790 
2791 struct XCommandListRsc
2792  {
2793  XCommandRsc xCommands[];
2794  };
2795 
2796 resourceclass XCommandListRsc RTYPE_XCommandList extendedAttributes, extendedIntAttributes, extendedWideAttributes,
2797  localize (xCommands.title, xCommands.description);
2798 #endif
2799 
2800 
2801 //=======================================================================================
2803 //=======================================================================================
2805  {
2806 #if defined (resource)
2807  char xCommandName[]; // CHAR_OK
2808  long itemHookId;
2809  UInt64 itemHookArg;
2810  UInt32 attributes;
2811 #else
2813  char xCommandName[1]; // CHAR_OK
2814 #endif
2815  };
2816 
2817 #if defined (resource)
2818 resourceclass DItem_XCmdButtonRsc RTYPE_XCmdButton extendedAttributes, extendedIntAttributes, extendedWideAttributes;
2819 #define XCmdButton RTYPE_XCmdButton
2820 #endif
2821 
2822 //=======================================================================================
2824 //=======================================================================================
2826  {
2827  UInt8 eventId; // 0-31
2828 #if defined (resource)
2829  char label[]; // CHAR_OK
2830 #else
2832  char label[1]; // CHAR_OK
2833 #endif
2834  };
2835 
2836  #if defined (resource)
2837 resourceclass SyncItemRsc RTYPE_SyncItem;
2838 #endif
2839 
2840 //=======================================================================================
2842 //=======================================================================================
2844  {
2845 #if defined (resource)
2846  char label[]; // CHAR_OK
2847  SyncItemRsc eventItem[];
2848 #else
2850  char label[1]; // CHAR_OK
2851 #endif
2852  };
2853 
2854  #if defined (resource)
2855 resourceclass SyncGroupRsc RTYPE_SyncGroup;
2856 #endif
2857 
2858 #endif /* __dlogboxH__ */
double incAmount
Definition: dlogbox.r.h:1878
long itemHookId
Definition: dlogbox.r.h:1807
Vertical StackLayout Resource used to specify layout margins and vertical spacing.
Definition: dlogbox.r.h:2597
long displayRows
Definition: dlogbox.r.h:1374
Vertical SplitterLayout Resource used to specify layout margins.
Definition: dlogbox.r.h:2612
int dockPriority
Definition: dlogbox.r.h:534
#define RTYPE_IconCmdX
Definition: RmgrTools/Tools/rtypes.r.h:106
ScrollBar Dialog Item Resource.
Definition: dlogbox.r.h:1805
Definition: dlogbox.r.h:195
ComboBoxBox dialog item resource.
Definition: dlogbox.r.h:1237
UInt32 helpSource
Definition: dlogbox.r.h:1774
CommandNumber commandNumber
Definition: dlogbox.r.h:1770
long itemHookId
Definition: dlogbox.r.h:1960
Utf8Char menuTitle[1]
Definition: dlogbox.r.h:1591
double minValue
Definition: dlogbox.r.h:1778
long pulldownHookId
Definition: dlogbox.r.h:1583
#define RTYPE_IconPopup
Definition: RmgrTools/Tools/rtypes.r.h:110
ItemListRsc DItem_SynonymsRsc
Item Synonyms Structure.
Definition: dlogbox.r.h:653
UInt64 itemHookArg
Definition: dlogbox.r.h:2481
double maxValue
Definition: dlogbox.r.h:1779
UInt32 attributes
Definition: dlogbox.r.h:786
#define RTYPE_DockLayout
Definition: RmgrTools/Tools/rtypes.r.h:63
Definition: dlogbox.r.h:473
long labelLength
Definition: dlogbox.r.h:1002
char accessStr[1]
Definition: dlogbox.r.h:2273
UInt32 commandSource
Definition: dlogbox.r.h:1408
CommandNumber commandNumber
Definition: dlogbox.r.h:2758
UInt32 attributes
Definition: dlogbox.r.h:590
long width
Definition: dlogbox.r.h:591
Winopen viewtype resource.
Definition: dlogbox.r.h:545
Definition: dlogbox.r.h:196
Horizontal StackLayout Resource used to specify layout margins and horizontal spacing.
Definition: dlogbox.r.h:2589
UInt32 attributes
Definition: dlogbox.r.h:1333
UpDownButtons Dialog Item Resource.
Definition: dlogbox.r.h:2261
char accessStr[1]
Definition: dlogbox.r.h:1818
long helpTaskIdLength
Definition: dlogbox.r.h:977
ToolBox Resource.
Definition: dlogbox.r.h:916
UInt64 itemHookArg
Definition: dlogbox.r.h:1733
Utf8Char label[1]
Definition: dlogbox.r.h:885
UInt64 itemHookArg
Definition: dlogbox.r.h:1295
char commandTaskId[1]
Definition: dlogbox.r.h:2764
UInt32 stringSize
Definition: dlogbox.r.h:499
PushButton Dialog Item Resource.
Definition: dlogbox.r.h:1619
long itemHookId
Definition: dlogbox.r.h:784
UInt32 attributes
Definition: dlogbox.r.h:1258
#define RTYPE_IdList
Definition: RmgrTools/Tools/rtypes.r.h:59
UInt64 itemHookArg
Definition: dlogbox.r.h:1871
Definition: dlogbox.r.h:186
long associatedTextId
Definition: dlogbox.r.h:846
long labelLength
Definition: dlogbox.r.h:2017
UInt32 commandSource
Definition: dlogbox.r.h:813
UInt32 helpSource
Definition: dlogbox.r.h:1959
int spacing
Definition: dlogbox.r.h:2548
UInt32 helpInfo
Definition: dlogbox.r.h:815
DialogItemListRsc CmdItemListRsc
Definition: dlogbox.r.h:627
Column in a GridLayout; use column= to override.
Definition: dlogbox.r.h:246
UInt32 helpSource
Definition: dlogbox.r.h:2119
UInt32 attributes
Definition: dlogbox.r.h:996
char assemblyName[1]
Definition: dlogbox.r.h:2489
RscType iconType
Definition: dlogbox.r.h:2088
Utf8Char label[1]
Definition: dlogbox.r.h:1940
UInt16 valueColumnIndex
Definition: dlogbox.r.h:1257
long itemHookId
Definition: dlogbox.r.h:1184
long maxSize
Definition: dlogbox.r.h:1167
long openInstructionsLength
Definition: dlogbox.r.h:2419
UInt32 commandSource
Definition: dlogbox.r.h:840
Horizontal SplitterLayout Resource used to specify layout margins.
Definition: dlogbox.r.h:2605
Row in a GridLayout; use row= to override.
Definition: dlogbox.r.h:252
UInt32 helpInfo
Definition: dlogbox.r.h:942
UInt32 helpInfo
Definition: dlogbox.r.h:1773
long itemHookId
Definition: dlogbox.r.h:1689
long itemHookId
Definition: dlogbox.r.h:2311
WinFormsControl Dialog Item Resource.
Definition: dlogbox.r.h:2478
long detailPanelId
Definition: dlogbox.r.h:2232
MarginsRsc layoutMargins
Definition: dlogbox.r.h:2576
UInt32 attributes
Definition: dlogbox.r.h:1047
UInt32 helpInfo
Definition: dlogbox.r.h:2077
MarginsRsc layoutMargins
Definition: dlogbox.r.h:2555
Definition: dlogbox.r.h:312
Definition: dlogbox.r.h:194
char formatToDisplay[16]
Definition: dlogbox.r.h:1248
UInt64 itemHookArg
Definition: dlogbox.r.h:945
UInt64 itemHookArg
Definition: dlogbox.r.h:1808
long height
Definition: dlogbox.r.h:592
UInt16 screen
Definition: dlogbox.r.h:1749
CommandNumber commandNumber
Definition: dlogbox.r.h:1407
Extended Menu Bar resource.
Definition: dlogbox.r.h:1329
char openKeyin[1]
Definition: dlogbox.r.h:2453
UInt16 listWidth
Definition: dlogbox.r.h:1256
short maxSize
Definition: dlogbox.r.h:2006
Color Picker Resource.
Definition: dlogbox.r.h:837
UInt32 helpSource
Definition: dlogbox.r.h:1623
Definition: dlogbox.r.h:2528
HorizontalAlignment
HorizontalAlignment used in GuiLayoutProperties methods and EXTINTATTR_HORIZONTAL_ALIGNMENT.
Definition: dlogbox.r.h:2516
UInt64 itemHookArg
Definition: dlogbox.r.h:2080
short width
Definition: dlogbox.r.h:529
UInt32 style
Definition: dlogbox.r.h:547
char label[1]
Definition: dlogbox.r.h:2832
UInt32 helpSource
Definition: dlogbox.r.h:1731
#define RTYPE_PushButton
Definition: RmgrTools/Tools/rtypes.r.h:136
#define RTYPE_PulldownOptionMenu
Definition: RmgrTools/Tools/rtypes.r.h:133
UInt8 eventId
Definition: dlogbox.r.h:2827
#define RTYPE_LevelPicker
Definition: RmgrTools/Tools/rtypes.r.h:115
double aspectRatio
Definition: dlogbox.r.h:2349
UInt32 attributes
Definition: dlogbox.r.h:2315
long menuTitleLength
Definition: dlogbox.r.h:1590
UInt32 helpSource
Definition: dlogbox.r.h:2142
long itemHookId
Definition: dlogbox.r.h:2079
UInt32 helpInfo
Definition: dlogbox.r.h:593
long synonymsId
Definition: dlogbox.r.h:1241
#define RTYPE_CompositeIcon
Definition: RmgrTools/Tools/rtypes.r.h:98
Definition: dlogbox.r.h:205
RscType iconType
Definition: dlogbox.r.h:1405
UInt32 mask
Definition: dlogbox.r.h:878
long itemWidth
Definition: dlogbox.r.h:789
#define RTYPE_SyncItem
Definition: RmgrTools/Tools/rtypes.r.h:175
Definition: dlogbox.r.h:192
#define RTYPE_Generic
Definition: RmgrTools/Tools/rtypes.r.h:103
short isExpanded
Definition: dlogbox.r.h:549
long labelLength
Definition: dlogbox.r.h:1967
Utf8Char heading[1]
Definition: dlogbox.r.h:2217
FlowLayout Resource used to specify layout margins and spacing.
Definition: dlogbox.r.h:2553
UInt32 helpInfo
Definition: dlogbox.r.h:968
long incAmount
Definition: dlogbox.r.h:1811
UInt32 mask
Definition: dlogbox.r.h:2011
Definition: dlogbox.r.h:451
long topBorder
Definition: dlogbox.r.h:1734
#define RTYPE_Synonyms
Definition: RmgrTools/Tools/rtypes.r.h:147
Definition: dlogbox.r.h:199
PopupMenu Dialog Item Resource.
Definition: dlogbox.r.h:1453
UInt32 helpInfo
Definition: dlogbox.r.h:1426
double minValue
Definition: dlogbox.r.h:1876
int vSpacing
Definition: dlogbox.r.h:2578
UInt64 itemHookArg
Definition: dlogbox.r.h:921
Utf8Char label[1]
Definition: dlogbox.r.h:1886
long nIds
Definition: dlogbox.r.h:668
Definition: dlogbox.r.h:457
RscId iconId
Definition: dlogbox.r.h:2087
long idList[1]
Definition: dlogbox.r.h:669
long itemHookId
Definition: dlogbox.r.h:2263
Definition: dlogbox.r.h:207
UInt32 helpSource
Definition: dlogbox.r.h:594
#define RTYPE_Tree
Definition: RmgrTools/Tools/rtypes.r.h:157
Button Group Item Resource.
Definition: dlogbox.r.h:758
UInt64 itemHookArg
Definition: dlogbox.r.h:875
long itemHookId
Definition: dlogbox.r.h:2003
UInt32 helpSource
Definition: dlogbox.r.h:1369
CommandNumber commandNumber
Definition: dlogbox.r.h:1626
UInt32 attributes
Definition: dlogbox.r.h:1373
Definition: dlogbox.r.h:206
Definition: dlogbox.r.h:208
Point2d pt
Definition: dlogbox.r.h:1750
char openKeyin[1]
Definition: dlogbox.r.h:2406
UInt32 helpSource
Definition: dlogbox.r.h:1044
Definition: dlogbox.r.h:456
long labelLength
Definition: dlogbox.r.h:1415
Maximum Width when in a layout; use maxWidth= to override.
Definition: dlogbox.r.h:293
GridColumn Resource used to specify a stretch factor and Shared Size Group.
Definition: dlogbox.r.h:2561
UInt32 helpSource
Definition: dlogbox.r.h:2078
short maxSize
Definition: dlogbox.r.h:1247
Definition: dlogbox.r.h:458
byte invertFlag
Definition: dlogbox.r.h:2083
long labelLength
Definition: dlogbox.r.h:884
Id List Structure (Only has list of ids)
Definition: dlogbox.r.h:663
Utf8Char label[1]
Definition: dlogbox.r.h:2018
short maxSize
Definition: dlogbox.r.h:1873
long itemHeight
Definition: dlogbox.r.h:790
uint16_t UInt16
Definition: Bentley.r.h:118
long tooltipLength
Definition: dlogbox.r.h:771
long bottomBorder
Definition: dlogbox.r.h:1735
long numBytes
Definition: dlogbox.r.h:717
Extended PushButton Dialog Item Resource (includes icon support)
Definition: dlogbox.r.h:1645
Generic Dialog Item Resource.
Definition: dlogbox.r.h:940
Definition: dlogbox.r.h:452
Sash Dialog Item Resource.
Definition: dlogbox.r.h:1728
Definition: dlogbox.r.h:472
Definition: dlogbox.r.h:2539
#define RTYPE_Sash
Definition: RmgrTools/Tools/rtypes.r.h:141
long itemHookId
Definition: dlogbox.r.h:994
UInt32 helpInfo
Definition: dlogbox.r.h:782
#define RTYPE_XCommandList
Definition: RmgrTools/Tools/rtypes.r.h:170
Definition: dlogbox.r.h:210
UInt32 attributes
Definition: dlogbox.r.h:2268
long synonymsId
Definition: dlogbox.r.h:2000
long synonymsId
Definition: dlogbox.r.h:1042
Dialog Box Position Extended Resource.
Definition: dlogbox.r.h:523
long synonymsId
Definition: dlogbox.r.h:1686
UInt32 helpInfo
Definition: dlogbox.r.h:1581
long nMenus
Definition: dlogbox.r.h:1337
Vertical Size Policy when in a layout; Valid values come from the SizePolicyType enum.
Definition: dlogbox.r.h:284
long ownerTaskIdLength
Definition: dlogbox.r.h:1321
CommandNumber commandNumber
Definition: dlogbox.r.h:869
Horizontal Alignment in a GridLayout or StackLayout; Valid values come from the HorizontalAlignment e...
Definition: dlogbox.r.h:261
Top margin when in a layout; use marginTop= to override.
Definition: dlogbox.r.h:225
Definition: dlogbox.r.h:2538
long synonymsId
Definition: dlogbox.r.h:1867
Definition: dlogbox.r.h:198
#define RTYPE_PushButtonX
Definition: RmgrTools/Tools/rtypes.r.h:137
UInt32 helpInfo
Definition: dlogbox.r.h:872
UInt32 helpSource
Definition: dlogbox.r.h:993
MarginsRsc layoutMargins
Definition: dlogbox.r.h:2607
UInt32 helpInfo
Definition: dlogbox.r.h:2037
#define RTYPE_ToggleButton
Definition: RmgrTools/Tools/rtypes.r.h:155
UInt64 itemHookArg
Definition: dlogbox.r.h:1690
long height
Definition: dlogbox.r.h:1956
#define RTYPE_WinFormsControl
Definition: RmgrTools/Tools/rtypes.r.h:164
UInt16 unused
Definition: dlogbox.r.h:533
UInt16 gapWidth
Definition: dlogbox.r.h:1255
#define RTYPE_CmdItemListInformation
Definition: RmgrTools/Tools/rtypes.r.h:56
RscType menuType
Definition: dlogbox.r.h:1460
long synonymsId
Definition: dlogbox.r.h:1425
RscType itemType
Definition: dlogbox.r.h:1055
Row Span in a GridLayout; use rowSpan= to override.
Definition: dlogbox.r.h:255
double maxValue
Definition: dlogbox.r.h:1877
UInt32 value
Definition: dlogbox.r.h:764
UInt32 mask
Definition: dlogbox.r.h:2082
#define RTYPE_IconCmdLargeIcon
Definition: RmgrTools/Tools/rtypes.r.h:109
long stringListId
Definition: dlogbox.r.h:1253
long itemHookId
Definition: dlogbox.r.h:1331
UInt32 attributes
Definition: dlogbox.r.h:1736
long itemHookId
Definition: dlogbox.r.h:2143
TabPage Dialog Item Resource.
Definition: dlogbox.r.h:1923
RscId linkId
Definition: dlogbox.r.h:1081
char openInstructions[1]
Definition: dlogbox.r.h:2420
Utf8Char label[1]
Definition: dlogbox.r.h:1793
ActionButtonValue
Definition: dlogbox.r.h:448
long itemHookId
Definition: dlogbox.r.h:1870
UInt32 helpInfo
Definition: dlogbox.r.h:1622
Definition: dlogbox.r.h:2520
UInt32 helpInfo
Definition: dlogbox.r.h:842
long xCommandNameLength
Definition: dlogbox.r.h:2812
Vertical Alignment in a GridLayout or StackLayout; Valid values come from the VerticalAlignment enum...
Definition: dlogbox.r.h:267
long nItems
Definition: dlogbox.r.h:618
long itemHookId
Definition: dlogbox.r.h:2228
long maxValue
Definition: dlogbox.r.h:1810
#define RTYPE_WinopenViewType
Definition: Mstn/MdlApi/rtypes.r.h:76
#define RTYPE_DialogInformation
Definition: RmgrTools/Tools/rtypes.r.h:54
#define RTYPE_IconCmdTinyIcon
Definition: RmgrTools/Tools/rtypes.r.h:107
long openKeyinLength
Definition: dlogbox.r.h:2364
uint8_t UInt8
Definition: Bentley.r.h:116
Utf8Char label[1]
Definition: dlogbox.r.h:928
MarginsRsc layoutMargins
Definition: dlogbox.r.h:2547
#define RTYPE_GridLayout
Definition: RmgrTools/Tools/rtypes.r.h:65
long data[1]
Definition: dlogbox.r.h:718
#define RTYPE_DialogItemList
Definition: RmgrTools/Tools/rtypes.r.h:53
DItem_ListRsc DItem_ListBoxRsc
ListBox dialog item resource.
Definition: dlogbox.r.h:1203
long labelLength
Definition: dlogbox.r.h:580
#define RTYPE_Text
Definition: RmgrTools/Tools/rtypes.r.h:152
long nRows
Definition: dlogbox.r.h:788
Extended Icon Command Item Resource (For use in dialogs or toolboxes)
Definition: dlogbox.r.h:990
int spacing
Definition: dlogbox.r.h:2592
long synonymsId
Definition: dlogbox.r.h:781
Utf8Char label[1]
Definition: dlogbox.r.h:581
UInt32 helpInfo
Definition: dlogbox.r.h:1499
CommandNumber commandNumber
Definition: dlogbox.r.h:812
#define RTYPE_PulldownMenu
Definition: RmgrTools/Tools/rtypes.r.h:131
long synonymsId
Definition: dlogbox.r.h:2076
RscId id
Definition: dlogbox.r.h:1286
RscId itemId
Definition: dlogbox.r.h:1056
Menu Bar resource.
Definition: dlogbox.r.h:1292
Utf8Char label[1]
Definition: dlogbox.r.h:1436
long itemHookId
Definition: dlogbox.r.h:2480
long synonymsId
Definition: dlogbox.r.h:1580
char maximum[16]
Definition: dlogbox.r.h:2010
long associatedTextId
Definition: dlogbox.r.h:1782
UInt32 helpInfo
Definition: dlogbox.r.h:2141
UInt64 itemHookArg
Definition: dlogbox.r.h:2004
#define RTYPE_MultilineText
Definition: RmgrTools/Tools/rtypes.r.h:123
SpinBox Dialog Item Resource.
Definition: dlogbox.r.h:1863
#define RTYPE_ToggleIcon
Definition: RmgrTools/Tools/rtypes.r.h:156
Pulldown Menu Item Resource (must be used only inside menubars)
Definition: dlogbox.r.h:1472
double pageIncAmount
Definition: dlogbox.r.h:1781
UInt32 attributes
Definition: dlogbox.r.h:1962
UInt32 attributes
Definition: dlogbox.r.h:1880
ItemExtendedWideAttributes
Definition: dlogbox.r.h:306
Utf8Char label[1]
Definition: dlogbox.r.h:1195
UInt32 helpSource
Definition: dlogbox.r.h:1427
Definition: dlogbox.r.h:461
long nColumns
Definition: dlogbox.r.h:787
#define RTYPE_TabPage
Definition: RmgrTools/Tools/rtypes.r.h:149
Definition: dlogbox.r.h:190
Utf8Char label[1]
Definition: dlogbox.r.h:1265
Width policy when in a GridLayout.
Definition: dlogbox.r.h:301
long labelLength
Definition: dlogbox.r.h:1194
char minimum[16]
Definition: dlogbox.r.h:1250
long itemHookId
Definition: dlogbox.r.h:1045
Int32 bottom
Definition: dlogbox.r.h:2512
long labelLength
Definition: dlogbox.r.h:1541
Definition: dlogbox.r.h:185
char formatToInternal[16]
Definition: dlogbox.r.h:2008
long synonymsId
Definition: dlogbox.r.h:841
uint32_t UInt32
Definition: Bentley.r.h:128
Definition: dlogbox.r.h:189
char openKeyin[1]
Definition: dlogbox.r.h:2365
byte invertFlag
Definition: dlogbox.r.h:1053
#define RTYPE_DialogBox
Definition: RmgrTools/Tools/rtypes.r.h:52
short screenHeight
Definition: dlogbox.r.h:527
CommandNumber commandNumber
Definition: dlogbox.r.h:1040
UInt32 helpInfo
Definition: dlogbox.r.h:1648
long nItems
Definition: dlogbox.r.h:640
uint32_t RscType
Definition: ecimagekey.h:15
MarginsRsc layoutMargins
Definition: dlogbox.r.h:2591
UInt32 nRows
Definition: dlogbox.r.h:1187
Utf8Char heading[1]
Definition: dlogbox.r.h:1173
UInt64 itemArg
Definition: dlogbox.r.h:575
char helpTaskId[1]
Definition: dlogbox.r.h:978
UInt64 itemHookArg
Definition: dlogbox.r.h:1931
Tree Column Resource.
Definition: dlogbox.r.h:2207
MarginsRsc layoutMargins
Definition: dlogbox.r.h:2599
Utf8Char label[1]
Definition: dlogbox.r.h:602
long labelLength
Definition: dlogbox.r.h:2849
Definition: dlogbox.r.h:450
UInt32 commandSource
Definition: dlogbox.r.h:1240
UInt32 helpSource
Definition: dlogbox.r.h:843
CommandNumber commandNumber
Definition: dlogbox.r.h:1239
long synonymsId
Definition: dlogbox.r.h:1927
double sliderSize
Definition: dlogbox.r.h:1813
UInt32 helpSource
Definition: dlogbox.r.h:1688
UInt16 notChild
Definition: dlogbox.r.h:532
short dockedPosition
Definition: dlogbox.r.h:531
Item List Structure (Only has list of type and ids)
Definition: dlogbox.r.h:635
long id
Definition: dlogbox.r.h:2209
long helpTaskIdLength
Definition: dlogbox.r.h:1507
Definition: dlogbox.r.h:310
#define RTYPE_FlowLayout
Definition: RmgrTools/Tools/rtypes.r.h:64
CommandNumber commandNumber
Definition: dlogbox.r.h:839
UInt32 commandSource
Definition: dlogbox.r.h:2117
ListBox and ComboBox column resource.
Definition: dlogbox.r.h:1164
UInt32 attributes
Definition: dlogbox.r.h:1783
Pulldown Menu Item supporting icons.
Definition: dlogbox.r.h:1521
UInt32 attributes
Definition: dlogbox.r.h:2122
#define RTYPE_DialogOpenInstructions
Definition: RmgrTools/Tools/rtypes.r.h:55
Utf8Char label[1]
Definition: dlogbox.r.h:1003
#define RTYPE_SashPosition
Definition: RmgrTools/Tools/rtypes.r.h:142
UInt32 mask
Definition: dlogbox.r.h:1410
#define RTYPE_ButtonGroup
Definition: RmgrTools/Tools/rtypes.r.h:92
ToggleIcon Dialog Item Resource.
Definition: dlogbox.r.h:2072
#define RTYPE_MenuBar
Definition: RmgrTools/Tools/rtypes.r.h:121
Icon Resource.
Definition: RmgrTools/Tools/rtypes.r.h:310
long openInstructionsLength
Definition: dlogbox.r.h:2466
Menu Bar item resource.
Definition: dlogbox.r.h:1283
DItem_ToggleButtonRsc DItem_CheckButtonRsc
Definition: dlogbox.r.h:2054
UInt32 mask
Definition: dlogbox.r.h:1693
UInt32 attributes
Definition: dlogbox.r.h:2482
Level List Dialog Item Resource.
Definition: dlogbox.r.h:2307
long radioButtonListId
Definition: dlogbox.r.h:1694
UInt32 helpSource
Definition: dlogbox.r.h:1929
Sash Dialog Item Resource.
Definition: dlogbox.r.h:1768
Definition: dlogbox.r.h:454
Point2d pt
Definition: dlogbox.r.h:528
Utf8Char label[1]
Definition: dlogbox.r.h:1063
Utf8Char label[1]
Definition: dlogbox.r.h:2239
double incAmount
Definition: dlogbox.r.h:1780
Icon Command Item Resource (not to be directly placed in dialog)
Definition: dlogbox.r.h:966
UInt64 itemHookArg
Definition: dlogbox.r.h:1332
UInt32 helpInfo
Definition: dlogbox.r.h:1551
Windows Forms Open Keyin Resource.
Definition: dlogbox.r.h:2359
UInt64 itemHookArg
Definition: dlogbox.r.h:1961
Definition: dlogbox.r.h:2519
Utf8Char label[1]
Definition: dlogbox.r.h:2050
long synonymsId
Definition: dlogbox.r.h:1957
long labelLength
Definition: dlogbox.r.h:1435
CommandNumber commandNumber
Definition: dlogbox.r.h:1925
UInt64 itemHookArg
Definition: dlogbox.r.h:2144
UInt64 itemHookArg
Definition: dlogbox.r.h:2040
char unparsed[1]
Definition: dlogbox.r.h:1661
char formatToInternal[16]
Definition: dlogbox.r.h:1875
long labelLength
Definition: dlogbox.r.h:797
DockLayout Resource used to specify layout margins and spacing.
Definition: dlogbox.r.h:2545
Minimum Width when in a layout; use minWidth= to override.
Definition: dlogbox.r.h:287
#define TEXT_MINMAX_SIZE
Definition: dlogbox.r.h:411
Utf8Char label[1]
Definition: dlogbox.r.h:825
Button Group Resource.
Definition: dlogbox.r.h:779
char formatToInternal[16]
Definition: dlogbox.r.h:1249
Definition: dlogbox.r.h:453
UInt64 itemHookArg
Definition: dlogbox.r.h:2121
RadioButton Dialog Item Resource.
Definition: dlogbox.r.h:1682
UInt64 itemHookArg
Definition: dlogbox.r.h:818
Extended Menu Bar item resource.
Definition: dlogbox.r.h:1312
UInt64 itemHookArg
Definition: dlogbox.r.h:845
UInt32 commandSource
Definition: dlogbox.r.h:1926
#define RTYPE_IconCmd
Definition: RmgrTools/Tools/rtypes.r.h:105
long sharedSizeGroupLen
Definition: dlogbox.r.h:2567
Option Button Sub-Item Resource.
Definition: dlogbox.r.h:1403
short filterType
Definition: dlogbox.r.h:548
UInt32 helpInfo
Definition: dlogbox.r.h:1043
UInt32 commandSource
Definition: dlogbox.r.h:2075
RscId iconId
Definition: dlogbox.r.h:1934
#define RTYPE_RadioButtonList
Definition: RmgrTools/Tools/rtypes.r.h:139
long itemHookId
Definition: dlogbox.r.h:817
long labelLength
Definition: dlogbox.r.h:1489
TabPageList Dialog Item Resource.
Definition: dlogbox.r.h:1953
Definition: dlogbox.r.h:455
UInt32 helpInfo
Definition: dlogbox.r.h:1368
long selectedFgColorIndex
Definition: dlogbox.r.h:791
UInt32 mask
Definition: dlogbox.r.h:848
UInt32 commandSource
Definition: dlogbox.r.h:1999
UInt32 commandSource
Definition: dlogbox.r.h:1627
Definition: dlogbox.r.h:313
long itemHookId
Definition: dlogbox.r.h:920
UInt32 helpSource
Definition: dlogbox.r.h:1649
UInt32 attributes
Definition: dlogbox.r.h:767
#define RTYPE_TabPageList
Definition: RmgrTools/Tools/rtypes.r.h:150
Option Button Dialog Item Resource.
Definition: dlogbox.r.h:1423
UInt32 helpSource
Definition: dlogbox.r.h:1456
DItem_MenuBarItemXRsc pulldownMenus[1]
Definition: dlogbox.r.h:1338
long itemHookId
Definition: dlogbox.r.h:2120
int32_t Int32
Definition: Bentley.r.h:119
Pulldown Option Menu Resource.
Definition: dlogbox.r.h:1578
UInt32 commandSource
Definition: dlogbox.r.h:2035
#define RTYPE_ColorChooser
Definition: RmgrTools/Tools/rtypes.r.h:94
Definition: MicroStation.r.h:734
#define RTYPE_Container
Definition: RmgrTools/Tools/rtypes.r.h:99
ItemExtendedIntAttributes
Definition: dlogbox.r.h:203
RscId iconId
Definition: dlogbox.r.h:1655
Definition: dlogbox.r.h:2461
Definition: dlogbox.r.h:460
Definition: dlogbox.r.h:476
CommandNumber commandNumber
Definition: dlogbox.r.h:1652
Definition: dlogbox.r.h:2518
Margin Resource used in the Layout resources.
Definition: dlogbox.r.h:2507
Definition: dlogbox.r.h:191
int nGridColumns
Definition: dlogbox.r.h:2582
#define RTYPE_SyncGroup
Definition: RmgrTools/Tools/rtypes.r.h:176
long openKeyinLength
Definition: dlogbox.r.h:2452
Multiline dialog item resource.
Definition: dlogbox.r.h:1365
Definition: dlogbox.r.h:211
Definition: dlogbox.r.h:197
UInt32 mask
Definition: dlogbox.r.h:765
#define RTYPE_Label
Definition: RmgrTools/Tools/rtypes.r.h:112
Color Chooser Resource.
Definition: dlogbox.r.h:810
long associatedTextId
Definition: dlogbox.r.h:876
int vSpacing
Definition: dlogbox.r.h:2557
MenuMarkType
Definition: dlogbox.r.h:470
Sash Position Resource.
Definition: dlogbox.r.h:1747
UInt32 attributes
Definition: dlogbox.r.h:2012
long iconCmdId
Definition: dlogbox.r.h:997
UInt32 helpInfo
Definition: dlogbox.r.h:2001
UInt16 screen
Definition: dlogbox.r.h:525
Definition: dlogbox.r.h:187
UInt32 attributes
Definition: dlogbox.r.h:922
long labelLength
Definition: dlogbox.r.h:2831
UInt64 itemHookArg
Definition: dlogbox.r.h:2229
Definition: dlogbox.r.h:311
long labelLength
Definition: dlogbox.r.h:1792
UInt32 helpSource
Definition: dlogbox.r.h:2038
double incAmount
Definition: dlogbox.r.h:2267
Int32 right
Definition: dlogbox.r.h:2511
long itemHookId
Definition: dlogbox.r.h:844
UInt32 helpSource
Definition: dlogbox.r.h:2227
Int32 top
Definition: dlogbox.r.h:2510
Bottom margin when in a layout; use marginBottom= to override.
Definition: dlogbox.r.h:231
UInt32 mask
Definition: dlogbox.r.h:1052
long headingLength
Definition: dlogbox.r.h:1172
long accessStrLength
Definition: dlogbox.r.h:1817
double minValue
Definition: dlogbox.r.h:2265
CommandNumber commandNumber
Definition: dlogbox.r.h:2034
ToggleButton Dialog Item Resource.
Definition: dlogbox.r.h:2032
Utf8Char label[1]
Definition: dlogbox.r.h:2095
DItem_OptionButtonItemRsc DItem_PulldownOptionItemRsc
Pulldown Option Menu Item Resource.
Definition: dlogbox.r.h:1573
UInt32 attributes
Definition: dlogbox.r.h:574
UInt32 helpSource
Definition: dlogbox.r.h:1183
char formatToDisplay[16]
Definition: dlogbox.r.h:2007
#define RTYPE_ToolBox
Definition: RmgrTools/Tools/rtypes.r.h:153
int transparencyPct
Definition: dlogbox.r.h:535
CommandNumber commandNumber
Definition: dlogbox.r.h:1865
GridColumnRsc gridColumns[1]
Definition: dlogbox.r.h:2583
Dialog Box Resource.
Definition: dlogbox.r.h:588
UInt32 helpSource
Definition: dlogbox.r.h:2002
MarginsRsc layoutMargins
Definition: dlogbox.r.h:2614
Definition: dlogbox.r.h:2531
Int32 left
Definition: dlogbox.r.h:2509
long labelLength
Definition: dlogbox.r.h:927
long width
Definition: dlogbox.r.h:1955
Column Span in a GridLayout; use colSpan= to override.
Definition: dlogbox.r.h:249
RscType iconType
Definition: dlogbox.r.h:1654
UInt64 itemHookArg
Definition: dlogbox.r.h:1371
#define RTYPE_WindowMenu
Definition: RmgrTools/Tools/rtypes.r.h:160
int stretch
Definition: dlogbox.r.h:2563
long labelLength
Definition: dlogbox.r.h:2049
long labelLength
Definition: dlogbox.r.h:1939
Definition: dlogbox.r.h:2530
UInt64 itemHookArg
Definition: dlogbox.r.h:1625
unsigned char byte
Definition: Bentley.r.h:144
UInt64 CommandNumber
Definition: DgnPlatformBaseType.r.h:76
UInt32 helpInfo
Definition: dlogbox.r.h:1958
long assemblyNameLength
Definition: dlogbox.r.h:2488
UInt32 helpInfo
Definition: dlogbox.r.h:1455
Definition: dlogbox.r.h:188
char formatToDisplay[16]
Definition: dlogbox.r.h:1784
UInt32 arrayIndex
Definition: dlogbox.r.h:766
UInt64 itemHookArg
Definition: dlogbox.r.h:1458
Dialog Item List Structure (just like list in dialogs)
Definition: dlogbox.r.h:613
RscId id
Definition: dlogbox.r.h:1315
long dialogHookId
Definition: dlogbox.r.h:595
Definition: dlogbox.r.h:475
RscType iconType
Definition: dlogbox.r.h:1050
Margin for left, top, right & bottom when in a layout; use margin= to override.
Definition: dlogbox.r.h:219
RscId iconId
Definition: dlogbox.r.h:761
RscId iconId
Definition: dlogbox.r.h:1049
Utf8Char label[1]
Definition: dlogbox.r.h:1701
UInt32 attributes
Definition: dlogbox.r.h:1168
long unparsedLength
Definition: dlogbox.r.h:1660
ItemExtendedAttributes
Definition: dlogbox.r.h:182
UInt32 commandSource
Definition: dlogbox.r.h:1685
#define RTYPE_ScrollBar
Definition: RmgrTools/Tools/rtypes.r.h:144
uint64_t UInt64
Definition: Bentley.r.h:131
#define RTYPE_SpinBox
Definition: RmgrTools/Tools/rtypes.r.h:146
Definition: dlogbox.r.h:2529
char ownerTaskId[1]
Definition: dlogbox.r.h:1322
long diListId
Definition: dlogbox.r.h:2123
long itemHookId
Definition: dlogbox.r.h:1650
DItem_MenuBarItemRsc pulldownMenus[1]
Definition: dlogbox.r.h:1300
UInt32 helpSource
Definition: dlogbox.r.h:2310
Pulldown Menu supporting icons.
Definition: dlogbox.r.h:1549
RscId menuId
Definition: dlogbox.r.h:1461
UInt32 mask
Definition: dlogbox.r.h:2042
UInt32 commandSource
Definition: dlogbox.r.h:763
long labelLength
Definition: dlogbox.r.h:1885
SyncItem Resource.
Definition: dlogbox.r.h:2825
RscType iconType
Definition: dlogbox.r.h:760
Utf8Char label[1]
Definition: dlogbox.r.h:1490
char helpTaskId[1]
Definition: dlogbox.r.h:1560
long labelLength
Definition: dlogbox.r.h:1264
UInt32 helpSource
Definition: dlogbox.r.h:919
Minimum Height when in a layout; use minHeight= to override.
Definition: dlogbox.r.h:290
UInt32 helpSource
Definition: dlogbox.r.h:943
TextBox Dialog Item Resource.
Definition: dlogbox.r.h:1996
UInt32 helpInfo
Definition: dlogbox.r.h:2118
IconPopup dialog item resource.
Definition: dlogbox.r.h:1038
UInt32 helpInfo
Definition: dlogbox.r.h:2226
long pageIncAmount
Definition: dlogbox.r.h:1812
GridWidthPolicy
GridWidthPolicy used in GuiLayoutProperties methods and EXTINTATTR_GRID_WIDTHPOLICY.
Definition: dlogbox.r.h:2536
#define RTYPE_AspectRatio
Definition: RmgrTools/Tools/rtypes.r.h:178
UInt32 helpInfo
Definition: dlogbox.r.h:2309
CommandNumber commandNumber
Definition: dlogbox.r.h:2116
UInt32 commandSource
Definition: dlogbox.r.h:1041
Tree Dialog Item Resource.
Definition: dlogbox.r.h:2224
Utf8Char label[1]
Definition: dlogbox.r.h:855
#define RTYPE_WindowsFormKeyin
Definition: RmgrTools/Tools/rtypes.r.h:162
UInt64 itemHookArg
Definition: dlogbox.r.h:2264
Definition: dlogbox.r.h:309
long itemHookId
Definition: dlogbox.r.h:1457
char helpTaskId[1]
Definition: dlogbox.r.h:1508
#define RTYPE_CheckButton
Definition: RmgrTools/Tools/rtypes.r.h:93
Definition: dlogbox.r.h:2414
UInt32 commandSource
Definition: dlogbox.r.h:1653
UInt32 numStrings
Definition: dlogbox.r.h:497
byte isDefault
Definition: dlogbox.r.h:1647
DialogItemRsc itemList[1]
Definition: dlogbox.r.h:619
UInt32 helpInfo
Definition: dlogbox.r.h:918
Maximum Height when in a layout; use maxHeight= to override.
Definition: dlogbox.r.h:296
RscId iconId
Definition: dlogbox.r.h:1406
Definition: dlogbox.r.h:462
long labelLength
Definition: dlogbox.r.h:2094
Definition: dlogbox.r.h:459
RscId parentDialogId
Definition: dlogbox.r.h:596
Command Resource for XCommands - Cross - platform / Cross UI Technology commands. ...
Definition: dlogbox.r.h:2756
long itemHookId
Definition: dlogbox.r.h:1294
RscId id
Definition: dlogbox.r.h:573
UInt32 helpSource
Definition: dlogbox.r.h:1243
char minimum[16]
Definition: dlogbox.r.h:2009
UInt64 itemHookArg
Definition: dlogbox.r.h:2312
long labelLength
Definition: dlogbox.r.h:1700
int spacing
Definition: dlogbox.r.h:2600
long synonymsId
Definition: dlogbox.r.h:2036
UInt8 enabled
Definition: dlogbox.r.h:1411
double maxValue
Definition: dlogbox.r.h:2266
CommandNumber commandNumber
Definition: dlogbox.r.h:2074
UInt64 itemHookArg
Definition: dlogbox.r.h:1776
UInt32 sizeNumColumn
Definition: dlogbox.r.h:1188
Item Specifier Structure.
Definition: dlogbox.r.h:560
UInt32 helpSource
Definition: dlogbox.r.h:783
short numColumns
Definition: dlogbox.r.h:550
VerticalAlignment
VerticalAlignment used in GuiLayoutProperties methods and EXTINTATTR_VERTICAL_ALIGNMENT.
Definition: dlogbox.r.h:2526
char maximum[16]
Definition: dlogbox.r.h:1251
Utf8Char label[1]
Definition: dlogbox.r.h:798
int hSpacing
Definition: dlogbox.r.h:2556
DItem_MenuBarRsc DItem_WindowMenuRsc
Definition: dlogbox.r.h:2337
Utf8Char label[1]
Definition: dlogbox.r.h:1416
Container Dialog Item Resource.
Definition: dlogbox.r.h:2114
long synonymsId
Definition: dlogbox.r.h:1772
long itemHookId
Definition: dlogbox.r.h:2039
Utf8Char label[1]
Definition: dlogbox.r.h:1542
Horizontal Size Policy when in a layout; Valid values come from the SizePolicyType enum...
Definition: dlogbox.r.h:279
UInt32 helpSource
Definition: dlogbox.r.h:1869
RscType type
Definition: dlogbox.r.h:1314
Left margin when in a layout; use marginLeft= to override.
Definition: dlogbox.r.h:222
long itemHookId
Definition: dlogbox.r.h:874
short screenWidth
Definition: dlogbox.r.h:526
Utf8Char label[1]
Definition: dlogbox.r.h:1968
short height
Definition: dlogbox.r.h:530
UInt32 helpInfo
Definition: dlogbox.r.h:1868
#define RTYPE_ContainerPanel
Definition: RmgrTools/Tools/rtypes.r.h:100
#define RTYPE_OptionButton
Definition: RmgrTools/Tools/rtypes.r.h:127
UInt32 value
Definition: dlogbox.r.h:1409
RscType type
Definition: dlogbox.r.h:572
UInt32 helpInfo
Definition: dlogbox.r.h:1928
UInt32 commandSource
Definition: dlogbox.r.h:1866
#define RTYPE_VSplitterLayout
Definition: RmgrTools/Tools/rtypes.r.h:69
CmdItemList Information Resource for DialogCensus information and reporting.
Definition: dlogbox.r.h:2441
UInt32 attributes
Definition: dlogbox.r.h:2230
long containerId
Definition: dlogbox.r.h:2146
Definition: dlogbox.r.h:2532
DialogItemSpec itemList[1]
Definition: dlogbox.r.h:641
Definition: dlogbox.r.h:209
long maxSize
Definition: dlogbox.r.h:2211
CommandNumber commandNumber
Definition: dlogbox.r.h:762
Stretch for an Item or Layout; use stretch= to override.
Definition: dlogbox.r.h:237
UInt32 attributes
Definition: dlogbox.r.h:1584
RscType type
Definition: dlogbox.r.h:562
long itemHookId
Definition: dlogbox.r.h:944
Definition: dlogbox.r.h:2521
long width
Definition: dlogbox.r.h:2210
long width
Definition: dlogbox.r.h:1166
UInt64 itemHookArg
Definition: dlogbox.r.h:785
RscType linkType
Definition: dlogbox.r.h:1080
GridLayout Resource used to specify layout margins, spacing and column information.
Definition: dlogbox.r.h:2574
RscId id
Definition: dlogbox.r.h:563
long synonymsId
Definition: dlogbox.r.h:814
Dialog Item Resource.
Definition: dlogbox.r.h:569
Definition: dlogbox.r.h:2540
UInt64 itemHookArg
Definition: dlogbox.r.h:1185
long commandTaskIdLen
Definition: dlogbox.r.h:2763
long helpTaskIdLength
Definition: dlogbox.r.h:1559
#define RTYPE_ListBox
Definition: RmgrTools/Tools/rtypes.r.h:117
long headingLength
Definition: dlogbox.r.h:2216
Definition: dlogbox.r.h:2522
UInt32 helpInfo
Definition: dlogbox.r.h:1687
UInt32 helpInfo
Definition: dlogbox.r.h:1242
SyncGroup Resource.
Definition: dlogbox.r.h:2843
UInt64 itemHookArg
Definition: dlogbox.r.h:1429
#define RTYPE_ItemList
Definition: RmgrTools/Tools/rtypes.r.h:58
long nMenus
Definition: dlogbox.r.h:1299
#define RTYPE_MenuBarX
Definition: RmgrTools/Tools/rtypes.r.h:122
long itemHookId
Definition: dlogbox.r.h:1732
Pulldown Menu Resource.
Definition: dlogbox.r.h:1497
long synonymsId
Definition: dlogbox.r.h:871
UInt32 nRows
Definition: dlogbox.r.h:2231
int32_t RscId
Definition: ecimagekey.h:16
int hSpacing
Definition: dlogbox.r.h:2577
#define TEXT_FORMAT_SIZE
Definition: dlogbox.r.h:410
UInt32 attributes
Definition: dlogbox.r.h:2145
UInt32 mask
Definition: dlogbox.r.h:1879
long labelLength
Definition: dlogbox.r.h:1062
char label[1]
Definition: dlogbox.r.h:2850
Utf8Char label[1]
Definition: dlogbox.r.h:2152
UInt64 itemHookArg
Definition: dlogbox.r.h:1651
UInt32 commandSource
Definition: dlogbox.r.h:1771
#define RTYPE_XCommand
Definition: RmgrTools/Tools/rtypes.r.h:171
UInt32 attributes
Definition: dlogbox.r.h:2085
#define RTYPE_CmdItemListInstructions
Definition: RmgrTools/Tools/rtypes.r.h:57
#define RTYPE_CmdItemList
Definition: RmgrTools/Tools/rtypes.r.h:101
long labelLength
Definition: dlogbox.r.h:854
byte invertFlag
Definition: dlogbox.r.h:2043
long itemHookId
Definition: dlogbox.r.h:1930
UInt32 helpSource
Definition: dlogbox.r.h:1582
long nRows
Definition: dlogbox.r.h:2314
long unparsedLength
Definition: dlogbox.r.h:1632
Microstation StringArray Resource Type.
Definition: dlogbox.r.h:495
UInt32 helpInfo
Definition: dlogbox.r.h:1182
UInt32 helpInfo
Definition: dlogbox.r.h:1730
long labelLength
Definition: dlogbox.r.h:2151
long synonymsId
Definition: dlogbox.r.h:1367
#define RTYPE_PopupMenu
Definition: RmgrTools/Tools/rtypes.r.h:128
Definition: dlogbox.r.h:477
long itemHookId
Definition: dlogbox.r.h:1624
UInt32 attributes
Definition: dlogbox.r.h:1932
long minValue
Definition: dlogbox.r.h:1809
#define RTYPE_ColorPicker
Definition: RmgrTools/Tools/rtypes.r.h:95
ContainerPanel Dialog Item Resource.
Definition: dlogbox.r.h:2139
UInt64 itemHookArg
Definition: dlogbox.r.h:1245
#define RTYPE_PulldownIconMenu
Definition: RmgrTools/Tools/rtypes.r.h:132
long attributes
Definition: dlogbox.r.h:2212
Composite Icon Resource.
Definition: dlogbox.r.h:711
IdListRsc DItem_RadioButtonListRsc
RadioButton List Resource.
Definition: dlogbox.r.h:1673
UInt32 helpSource
Definition: dlogbox.r.h:873
Spacing for a Layout; use spacing=, hSpacing= or vSpacing to override.
Definition: dlogbox.r.h:234
#define RTYPE_Scale
Definition: RmgrTools/Tools/rtypes.r.h:143
long accessStrLength
Definition: dlogbox.r.h:2272
Label Dialog Item Resource Optional - used when linking to another item to get the Label or Minimum/M...
Definition: dlogbox.r.h:1078
RscType type
Definition: dlogbox.r.h:1285
Utf8Char tooltip[1]
Definition: dlogbox.r.h:772
Definition: dlogbox.r.h:193
UInt32 value
Definition: dlogbox.r.h:1692
char xCommandName[1]
Definition: dlogbox.r.h:2813
Dock Position in a DockLayout; Valid values come from the DockPosition enum.
Definition: dlogbox.r.h:243
long unused
Definition: dlogbox.r.h:2147
Utf8Char label[1]
Definition: dlogbox.r.h:2322
#define RTYPE_VStackLayout
Definition: RmgrTools/Tools/rtypes.r.h:67
#define RTYPE_HStackLayout
Definition: RmgrTools/Tools/rtypes.r.h:66
CommandNumber commandNumber
Definition: dlogbox.r.h:1684
#define RTYPE_RadioButton
Definition: RmgrTools/Tools/rtypes.r.h:138
long labelLength
Definition: dlogbox.r.h:601
UInt32 mask
Definition: dlogbox.r.h:1252
long nRows
Definition: dlogbox.r.h:1254
char formatToDisplay[16]
Definition: dlogbox.r.h:1874
long labelLength
Definition: dlogbox.r.h:2238
#define RTYPE_HSplitterLayout
Definition: RmgrTools/Tools/rtypes.r.h:68
UInt32 commandSource
Definition: dlogbox.r.h:870
long itemHookId
Definition: dlogbox.r.h:1370
UInt32 attributes
Definition: dlogbox.r.h:1186
Dialog Information Resource for DialogCensus information and reporting.
Definition: dlogbox.r.h:2393
ListBox dialog item resource.
Definition: dlogbox.r.h:1180
UInt64 itemHookArg
Definition: dlogbox.r.h:995
long itemHookId
Definition: dlogbox.r.h:1775
long itemHookId
Definition: dlogbox.r.h:1244
CommandNumber commandNumber
Definition: dlogbox.r.h:1998
char openInstructions[1]
Definition: dlogbox.r.h:2467
Definition: dlogbox.r.h:308
long labelLength
Definition: dlogbox.r.h:824
Sextent extent
Definition: dlogbox.r.h:571
Right margin when in a layout; use marginRight= to override.
Definition: dlogbox.r.h:228
char unparsed[1]
Definition: dlogbox.r.h:1633
Utf8Char label[1]
Definition: dlogbox.r.h:1379
#define RTYPE_StringArray
Definition: Mstn/MdlApi/rtypes.r.h:69
#define RTYPE_LevelList
Definition: RmgrTools/Tools/rtypes.r.h:113
byte isDefault
Definition: dlogbox.r.h:1621
long labelLength
Definition: dlogbox.r.h:2321
Translation AspectRatio.
Definition: dlogbox.r.h:2347
#define RTYPE_DialogPosition
Definition: RmgrTools/Tools/rtypes.r.h:61
Definition: dlogbox.r.h:474
char Utf8Char
Definition: Bentley.r.h:156
RscType iconType
Definition: dlogbox.r.h:1933
Command Item Button Resource supporting XCommands.
Definition: dlogbox.r.h:2804
#define RTYPE_UpDownButtons
Definition: RmgrTools/Tools/rtypes.r.h:159
#define RTYPE_ComboBox
Definition: RmgrTools/Tools/rtypes.r.h:96
UInt32 helpInfo
Definition: dlogbox.r.h:992
UInt32 attributes
Definition: dlogbox.r.h:1459
long iconCount
Definition: dlogbox.r.h:713
#define RTYPE_XCmdButton
Definition: RmgrTools/Tools/rtypes.r.h:172
long labelLength
Definition: dlogbox.r.h:1378
Definition: dlogbox.r.h:184
Level Picker Item Resource.
Definition: dlogbox.r.h:867
long itemHookId
Definition: dlogbox.r.h:1428
UInt32 helpSource
Definition: dlogbox.r.h:816
char data[1]
Definition: dlogbox.r.h:500
UInt64 itemHookArg
Definition: dlogbox.r.h:1046
long openKeyinLength
Definition: dlogbox.r.h:2405
char sharedSizeGroup[1]
Definition: dlogbox.r.h:2568
#define RTYPE_IconCmdSmallIcon
Definition: RmgrTools/Tools/rtypes.r.h:108

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.