dlogitem.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 
10 #include "mdl.h"
11 #include "dlogbox.r.h"
12 #include "dlogmsg.r.h"
13 #include <DgnPlatform\ColorUtil.h>
14 #include <Mstn\MstnDefs.h>
15 #include "msinputq.h"
16 #include "rscdefs.r.h"
17 #include "treemodel.h"
18 #include "vartypes.h"
19 #include "mstypes.h"
20 #include "msvaluedescr.h"
21 #include "DialogItem.h"
22 
23 #define INVALID_ITEM (-1)
24 #define BUTTONTIMEOUT_CLICK 0 /* down to up > dClickTime/2 */
25 #define BUTTONTIMEOUT_DOUBLECLICK 1 /* down to down > dclickTime */
26 #define MVHND_OFFSET 5
27 
29 
30 /*----------------------------------------------------------------------+
31 | |
32 | Opaque Pointer Typedefs |
33 | |
34 +----------------------------------------------------------------------*/
35 
36 typedef struct IDataObject GuiDataObject;
37 typedef struct mdlDesc MdlDesc;
38 typedef struct UICriteria* UICriteriaP;
39 
40 
41 /* DialogItem moved to DialogItem.h */
42 /* ValueUnion moved to vartypes.h */
43 /* DialogMessageType moved to dlogmsg.r.h */
44 
45 
46 typedef void (*PFDialogHook)(void *); // the void * is either a DialogMessage * or a DialogItemMessage *
47 typedef void (*PFDialogBoxHook)(DialogMessageP); // This is specifically for DialogMessage *
48 typedef void (*PFDialogItemHook)(DialogItemMessageP); // This is specifically for DialogItemMessage *
49 
50 typedef void (*PFDialogItemHandler)(DialogItemMessageP);
51 
52 //=======================================================================================
55 //=======================================================================================
57  {
60  WChar name[32];
62  };
63 
64 //=======================================================================================
66 //=======================================================================================
68  {
72 
84 
88  };
89 
90 /* DialogItem struct moved to DialogItem.h */
91 
92 //=======================================================================================
97 //=======================================================================================
98 struct RawItemHdr
99  {
100  void* userDataP;
101  CharP accessStrP; // CHAR_OK
102 
103  Point2d labelPt;
104  BSIRect itemRect;
117 
122 
123  void* pHookList;
126  MSDialogP ownerDialogP;
127  DialogItemP diP;
128  RawItemHdrP parentRiP;
130  long itemHookId;
131  int mnemonic;
132  int mneIndex;
134  int nColorPs;
137  BSIRect traversalRect;
144  /* popupWindP removed */
147  RawItemHdrP childFocusRiP;
149  void* pChildList;
153  CharP dbAccessStrP; // CHAR_OK
154  void* dbAuxInfoP;
157  void* appData1P;
158  void* appData2P;
159  void* appData3P;
160  void* appData4P;
161  void* appData5P;
162 
163  RawItemHdrP originalParent;
165  RawItemHdrP rightClickPopupMenu;
166  RawItemHdrP ownerRiP;
177  RawItemHdrP linkedLabelP;
178  GuiLayoutControlP layoutControlP;
179  GuiLayoutPropertiesP layoutPropertiesP;
182  virtual bool _CanDisplay () { return true; }
183 
184  };
185 
186 //=======================================================================================
188 //=======================================================================================
189 enum class HideReasonCode
190  {
191  HideWindow = 0,
192  Exiting = 1,
193  WindowClose = 2,
194  NoDgnFile = 3,
195  UserClose = 4,
196  MdlUnload = 5
197  };
198 
199 //=======================================================================================
201 //=======================================================================================
203  {
205  long xPos;
206  long yPos;
207  long wheelDelta;
209  };
210 
211 //=======================================================================================
213 //=======================================================================================
214 enum class FocusOutType
215  {
216  None = 0,
217  KeySwitch = 1,
218  ButtonSwitch = 2,
219  SetItem = 3,
220  HideItem = 4,
221  DisableItem = 5,
222  SwitchDialog = 10,
223  ApplyDialog = 11
224  };
225 
226 //=======================================================================================
228 //=======================================================================================
229 enum class MotionTransType
230  {
231  InItem = 0,
232  Enter = 1,
233  Exit = 2,
234  InDialog = 3
235  };
236 
237 /*----------------------------------------------------------------------+
238 | |
239 | Drag & Drop Event Data |
240 | |
241 +----------------------------------------------------------------------*/
242 #define GUIDROPEFFECT_NONE 0x00000000
243 #define GUIDROPEFFECT_COPY 0x00000001
244 #define GUIDROPEFFECT_MOVE 0x00000002
245 #define GUIDROPEFFECT_LINK 0x00000004
246 #define GUIDROPEFFECT_SCROLL 0x80000000
247 
248 //=======================================================================================
250 //=======================================================================================
252  {
253  OK = SUCCESS,
254  Drop,
255  Cancel,
256  Error = ERROR
257  };
258 
259 //=======================================================================================
261 //=======================================================================================
263  {
264  Begin,
265  Query,
266  PreCancel,
267  PreDrop,
268  Drop,
269  End
270  };
271 
272 //=======================================================================================
274 //=======================================================================================
276  {
277  Enter,
278  Over,
279  Leave,
280  Drop,
282  };
283 
284 //=======================================================================================
286 //=======================================================================================
287 enum class DockingState
288  {
289  Docking,
290  Docked,
291  Undocking,
292  Undocked
293  };
294 
295 //=======================================================================================
297 //=======================================================================================
298 enum class AutoHideState
299  {
300  None,
301  Pinned,
304  };
305 
306 //=======================================================================================
310 //=======================================================================================
311 struct DialogHookInterests /* set member true if want notification */
312  {
321 
330 
331  //UInt32 itemNeutralMotions:1; /* TODO - not hooked up yet */
332  //UInt32 itemNeutralNoMotions:1; /* TODO - not hooked up yet */
345  }; /* CREATE, INIT, & DESTROY ALWAYS SENT */
346 
347 
348 //=======================================================================================
350 //=======================================================================================
352  {
353  Point2d pt;
354  bool dragging;
355  MSDialogP db;
356  RawItemHdrP riP;
357  };
358 
359 #if defined (mdl)
360  typedef void* MdlMotionFuncP;
361 #else
362  typedef void (*MdlMotionFuncP)(MotionFuncArg*);
363 #endif
364 
365 /*----------------------------------------------------------------------+
366 | |
367 | Structures for DialogMessage types |
368 | |
369 +----------------------------------------------------------------------*/
370 
371 //=======================================================================================
375 //=======================================================================================
377  {
378  DialogHookHandlerP hookHandlerP;
379  };
380 
382 
383 //=======================================================================================
386 //=======================================================================================
388  {
391  void** userDataPP;
393  };
394 
396 
397 //=======================================================================================
400 //=======================================================================================
402  {
403  bool initFailed;
404  };
405 
407 
408 
409 //=======================================================================================
411 //=======================================================================================
413  {
414  bool abortAction;
416  };
417 
419 
420 //=======================================================================================
422 //=======================================================================================
424  {
427  RawItemHdrP activatedRiP;
428  int itemIndex;
429  int keystroke;
436  };
437 
439 
440 //=======================================================================================
443 //=======================================================================================
445  {
446  MSDialogP db;
449  };
450 
452 
453 //=======================================================================================
456 //=======================================================================================
458  {
459  MSDialogP db;
463  };
464 
466 
467 //=======================================================================================
470 //=======================================================================================
472  {
473  Point2d attachPoint;
474  bool hookHandled;
475  Point2d cornerBuffer;
476  };
477 
479 
480 //=======================================================================================
483 //=======================================================================================
485  {
487  bool changed;
488  };
489 
491 
492 //=======================================================================================
494 //=======================================================================================
496  {
497  bool stopDestroy;
501  };
502 
504 
505 //=======================================================================================
508 //=======================================================================================
510  {
511  bool stopUndock;
512  };
513 
515 
516 //=======================================================================================
521 //=======================================================================================
523  {
527  int upNumber;
528  bool clicked;
530  Point2d pt;
531  int itemIndex;
536  RawItemHdrP buttonRiP;
537  bool hookHandled;
540  };
541 
543 
544 //=======================================================================================
548 //=======================================================================================
550  {
551  bool hookHandled;
552  int newWidth;
553  int newHeight;
558  };
559 
561 
562 //=======================================================================================
565 //=======================================================================================
567  {
570  };
571 
573 
574 //=======================================================================================
577 //=======================================================================================
579  {
582  };
583 
585 
586 //=======================================================================================
589 //=======================================================================================
591  {
593  };
594 
596 
597 //=======================================================================================
600 //=======================================================================================
602  { /* Get dialog's extent when docked */
605  Point2d dockExtent;
606  bool hookHandled;
607  };
608 
610 
611 //=======================================================================================
614 //=======================================================================================
616  {
620  Point2d localPt;
624  };
625 
627 
628 //=======================================================================================
632 //=======================================================================================
634  {
635  int itemIndex;
637  RawItemHdrP riP;
638  MSDialogP previousFocusDbP;
639  };
640 
642 
643 //=======================================================================================
647 //=======================================================================================
649  {
650  bool outOfRange;
651  bool hookHandled;
654  RawItemHdrP nextFocusRiP;
656  int itemIndex;
659  RawItemHdrP riP;
660  MSDialogP nextFocusDbP;
661  };
662 
664 
665 //=======================================================================================
669 //=======================================================================================
671  {
674  };
675 
677 
678 //=======================================================================================
681 //=======================================================================================
683  {
685  };
686 
688 
689 //=======================================================================================
691 //=======================================================================================
693  {
694  bool hookHandled;
697  int keystroke;
700  int itemIndex;
706  RawItemHdrP riP;
707  };
708 
710 
711 //=======================================================================================
713 //=======================================================================================
715  {
716  bool hookHandled;
717  BSIRect newRect;
718  };
719 
721 
722 //=======================================================================================
724 //=======================================================================================
726  {
727  bool hookHandled;
728  int newWidth;
729  int newHeight;
730  };
731 
733 
734 //=======================================================================================
737 //=======================================================================================
739  {
742  Point2d newPoint;
743  Point2d oldPoint;
744  RawItemHdrP motionRiP;
745  MSWindowP otherWindowP;
747  };
748 
750 
751 //=======================================================================================
754 //=======================================================================================
756  {
758  };
759 
761 
762 //=======================================================================================
765 //=======================================================================================
767  {
769  BSIRect oldFrame;
770  BSIRect oldContent;
771  BSIRect newContent;
774  BSIRectP updateRectsP;
775  };
776 
778 
779 //=======================================================================================
782 //=======================================================================================
784  {
785  bool hookHandled;
786  BSIRect newRect;
787  };
788 
790 
791 //=======================================================================================
794 //=======================================================================================
796  {
798  BSIRect oldSizeRect;
800  BSIRect newSizeRect;
801  bool before;
802  bool hookHandled;
803  bool disallow;
804  };
805 
807 
808 //=======================================================================================
811 //=======================================================================================
813  {
814  int itemIndex;
816  RawItemHdrP riP;
817  };
818 
820 
821 //=======================================================================================
824 //=======================================================================================
826  {
829  };
830 
832 
833 //=======================================================================================
836 //=======================================================================================
838  {
839  bool hookHandled;
840  };
841 
843 
844 //=======================================================================================
846 //=======================================================================================
848  {
849  int type;
850  void* userDataP;
851  };
852 
854 
855 //=======================================================================================
858 //=======================================================================================
860  { /* Sent before move occurs */
862  int newWidth;
863  int newHeight;
864  BSIRect oldGlobal;
865  BSIRect oldContent;
868  };
869 
871 
872 /*-----------------------------------------------------------------------
873  The following DialogMessageType types have no arguments:
874 
875  DIALOG_MESSAGE_SYNCH
876  DIALOG_MESSAGE_CREATED
877  DIALOG_MESSAGE_DETACH
878  DIALOG_MESSAGE_LAYOUT
879 +-----------------------------------------------------------------------*/
880 
881 //=======================================================================================
883 //=======================================================================================
885  {
888  MSDialogP db;
890  void* userDataP;
891  union
892  { /* Arguments for DialogMessageType: */
930  } u;
931  };
932 
933 //=======================================================================================
935 //=======================================================================================
937 {
938 public:
941  MSCORE_EXPORT DialogHookHandler (MSDialogP dbP);
942 
944  MSCORE_EXPORT virtual ~DialogHookHandler();
945 
948  MSCORE_EXPORT MSDialogP GetDialog();
949 
952  MSCORE_EXPORT void SetUserData (void *data);
953 
956  MSCORE_EXPORT void* GetUserData ();
957 
958 protected:
962  virtual bool _OnCreate (DialogCreateArgsR create) { return false; }
966  virtual bool _OnInit (DialogInitArgsR init) { return false; }
970  virtual bool _OnBeforeDestroy (DialogBeforeDestroyArgsR beforeDestroy) { return false; }
974  virtual bool _OnDestroy (DialogDestroyArgsR destroy) { return false; }
975 
979  virtual bool _OnActionButton (DialogActionButtonArgsR actionButton) { return false; }
983  virtual bool _OnActivate (DialogActivateArgsR activate) { return false; }
987  virtual bool _OnAnotherOpened (DialogAnotherOpenedArgsR anotherOpened) { return false; }
991  virtual bool _OnAnotherClosed (DialogAnotherClosedArgsR anotherClosed) { return false; }
995  virtual bool _OnAttach (DialogAttachArgsR attach) { return false; }
999  virtual bool _OnAutoHideState (DialogAutoHideStateArgsR autoHideState) { return false; }
1003  virtual bool _OnBeforeUndock (DialogBeforeUndockArgsR beforeUndock) { return false; }
1007  virtual bool _OnButton (DialogButtonArgsR button) { return false; }
1011  virtual bool _OnCalcSize (DialogCalcSizeArgsR calcSize) { return false; }
1015  virtual bool _OnChildDestroyed (DialogChildDestroyedArgsR childDestroyed) { return false; }
1018  virtual bool _OnCreated () { return false; }
1021  virtual bool _OnDetach () { return false; }
1025  virtual bool _OnDockedExtent (DialogDockedExtentArgsR dockedExtent) { return false; }
1029  virtual bool _OnDockingState (DialogDockingStateArgsR dockingState) { return false; }
1033  virtual bool _OnDropTarget (DialogDropTargetArgsR dropTarget) { return false; }
1037  virtual bool _OnFocusIn (DialogFocusInArgsR focusIn) { return false; }
1041  virtual bool _OnFocusOut (DialogFocusOutArgsR focusOut) { return false; }
1045  virtual bool _OnFontChanged (DialogFontChangedArgsR fontChanged) { return false; }
1049  virtual bool _OnHide (DialogHideArgsR hide) { return false; }
1053  virtual bool _OnItemFocusIn (DialogFocusInArgsR focusIn) { return false; }
1057  virtual bool _OnItemFocusOut (DialogFocusOutArgsR focusOut) { return false; }
1061  virtual bool _OnKeystroke (DialogKeystrokeArgsR keystroke) { return false; }
1064  virtual bool _OnLayout () { return false; }
1068  virtual bool _OnMaximize (DialogMaximizeArgsR maximize) { return false; }
1072  virtual bool _OnMinimize (DialogMinimizeArgsR minimize) { return false; }
1076  virtual bool _OnMotion (DialogMotionArgsR motion) { return false; }
1080  virtual bool _OnMouseWheel (DialogMouseWheelArgsR mouseWheel) { return false; }
1084  virtual bool _OnPreButton (DialogButtonArgsR button) { return false; }
1088  virtual bool _OnRestored (DialogRestoredArgsR restored) { return false; }
1092  virtual bool _OnResize (DialogResizeArgsR resize) { return false; }
1096  virtual bool _OnScreenChange (DialogScreenChangeArgsR screenChange) { return false; }
1100  virtual bool _OnStateChanged (DialogStateChangedArgsR stateChanged) { return false; }
1103  virtual bool _OnSynchronize () { return false; }
1107  virtual bool _OnTitleChanged (DialogTitleChangedArgsR titleChanged) { return false; }
1111  virtual bool _OnUpdate (DialogUpdateArgsR update) { return false; }
1115  virtual bool _OnUser (DialogUserArgsR user) { return false; }
1119  virtual bool _OnWindowMoving (DialogWindowMovingArgsR windowMoving) { return false; }
1120 
1122  virtual bool _Reserved1 (void *) { return false; }
1124  virtual bool _Reserved2 (void *) { return false; }
1126  virtual bool _Reserved3 (void *) { return false; }
1127 
1130  virtual void _EventMonitor (DialogMessageP dmP) {}
1131 
1132 private:
1133  MSDialogP m_dbP;
1134  void* m_userDataP;
1136  bool OnDestroy (DialogDestroyArgsR destroy);
1140 
1141 public:
1145  MSCORE_EXPORT StatusInt CallHandlerMethod(DialogMessageP dmP);
1146  };
1147 
1148 /*----------------------------------------------------------------------+
1149 | |
1150 | Dialog Item Messages |
1151 | |
1152 | Sent to itemHandlers & itemHooks (specified within actual item) |
1153 | |
1154 +----------------------------------------------------------------------*/
1155 /* DialogItemMessageType moved to dlogmsg.r.h */
1156 
1157 //=======================================================================================
1159 //=======================================================================================
1161  {
1162  NoSymbol = 0,
1163  Information = 1,
1164  Question = 2,
1165  Warning = 3,
1166  Critical = 4,
1167  /* Available index #define MSGBOX_ICON_MSBUG_LARGE 5 */ /* MicroStation Bug (Large) */
1168  BentleyB = 6,
1169  Pantone = 7,
1170  VBACompatibility = 8,
1171  };
1172 
1173 /*----------------------------------------------------------------------+
1174 | |
1175 | Keep Mouse BitMasks -- used in u.button.couldSetState answers |
1176 | |
1177 +----------------------------------------------------------------------*/
1178 #define BUTTONUPMASK_COULDSETSTATE 0x0001
1179 #define BUTTONUPMASK_KEEPMOUSE 0x0002
1180 #define BUTTONUPMASK_HOOKHANDLED 0x0004
1181 #define BUTTONUPMASK_KEEPMOUSEMOTION 0x0008
1182 
1183 #define BUTTONDOWNMASK_KEEPNOLONGER 0x0010
1184 
1185 //=======================================================================================
1187 //=======================================================================================
1189  {
1190  ValueChange,
1191  NodeExpanding,
1193  PopOpen,
1194  PopClose,
1195  ColumnShow,
1196  ColumnHide,
1197  TabShow,
1198  TabHide,
1199  NodeExpanded,
1200  NodeCollapsed,
1201  };
1202 
1203 //=======================================================================================
1205 //=======================================================================================
1207  {
1208  HandleClick,
1209  DoubleClick,
1210  Programmatic,
1211  Keystroke,
1212  };
1213 
1214 //=======================================================================================
1216 //=======================================================================================
1218  {
1219  Allow,
1220  Disallow,
1221  Cancel,
1222  };
1223 
1224 //=======================================================================================
1226 //=======================================================================================
1228  {
1229  DialogItemP pDialogItem;
1230  BSIRectP pBufferRect;
1233  };
1234 
1235 //=======================================================================================
1237 //=======================================================================================
1239  {
1240  Enable = 0,
1241  Disable = 1,
1242  Remove = 2
1243  };
1244 
1245 //=======================================================================================
1247 //=======================================================================================
1249  {
1258  };
1259 
1260 //=======================================================================================
1261 // PulldownMenu Dialog Item Structure
1262 //=======================================================================================
1264  {
1267  RawItemHdrP rawMenuP;
1268  MSDialogP ownerDialogP;
1270  // The size of this structure cannot change because an instance is the top member of TextPDM_Item
1271 
1273  void Init()
1274  {
1275  type = 0;
1276  id = 0;
1277  rawMenuP = NULL;
1278  ownerDialogP = NULL;
1279  }
1280  };
1281 
1282 //=======================================================================================
1284 //=======================================================================================
1286  {
1289  int mneIndex;
1290  };
1291 
1292 /*----------------------------------------------------------------------+
1293 | |
1294 | Structures for DialogItemMessage types |
1295 | |
1296 +----------------------------------------------------------------------*/
1297 
1298 //=======================================================================================
1302 //=======================================================================================
1304  {
1305  DialogItemHookHandlerP hookHandlerP;
1306  };
1307 
1308 //=======================================================================================
1310 //=======================================================================================
1312  {
1319  CharP auxInfoP; // CHAR_OK
1322  DialogItemP parentDiP;
1326  };
1327 
1329 
1330 //=======================================================================================
1332 //=======================================================================================
1334  {
1335  bool initFailed;
1336  }; /* sent after initial GetState */
1337 
1339 
1340 
1341 //=======================================================================================
1343 //=======================================================================================
1345  {
1355  };
1356 
1358 
1359 //=======================================================================================
1361 //=======================================================================================
1363  {
1368  };
1369 
1371 
1372 //=======================================================================================
1374 //=======================================================================================
1376  {
1378  bool outOfRange;
1379  bool disallow;
1381  MSValueDescrP currentValueP;
1382  MSValueDescrP proposedValueP;
1387  };
1388 
1390 
1391 //=======================================================================================
1393 //=======================================================================================
1395  {
1403  int upNumber;
1404  bool clicked;
1406  Point2d pt;
1410  RawItemHdrP popupMenuRiP;
1414  };
1415 
1417 
1418 //=======================================================================================
1420 //=======================================================================================
1422  {
1423  bool eraseFirst;
1424  int nRects;
1425  BSIRectP rectList;
1426  };
1427 
1429 
1430 //=======================================================================================
1432 //=======================================================================================
1434  {
1442  };
1443 
1445 
1446 //=======================================================================================
1448 //=======================================================================================
1450  {
1454  Point2d localPt;
1459  int iRow;
1460  int iCol;
1461  };
1462 
1464 
1465 //=======================================================================================
1467 //=======================================================================================
1469  {
1471  };
1472 
1474 
1475 //=======================================================================================
1477 //=======================================================================================
1479  {
1481  bool outOfRange;
1484  RawItemHdrP nextFocusRiP;
1486  MSValueDescrP msValueDescrP;
1494  };
1495 
1497 
1498 //=======================================================================================
1500 //=======================================================================================
1502  {
1507  };
1508 
1510 
1511 //=======================================================================================
1513 //=======================================================================================
1515  {
1518  bool bNoDisplay;
1519  };
1520 
1522 
1523 //=======================================================================================
1525 //=======================================================================================
1527  {
1529  };
1530 
1532 
1533 //=======================================================================================
1535 //=======================================================================================
1537  {
1539  };
1540 
1542 
1543 //=======================================================================================
1545 //=======================================================================================
1547  {
1562  }; /* also for POSTKEYSTROKE msgs */
1563 
1565 
1566 //=======================================================================================
1568 //=======================================================================================
1570  {
1571  // BSize minimumSize
1572  // BSize maximumSize
1573  // Margins margins
1574  // SizePolicy sizePolicy
1575  // LayoutDirection layoutDirection
1576  };
1577 
1579 
1580 //=======================================================================================
1582 //=======================================================================================
1584  { /* NeutralMotion Events*/
1587  Point2d newPoint;
1588  Point2d oldPoint;
1590  void (*motionFunc)();
1593  RawItemHdrP motionRiP;
1596  };
1597 
1599 
1600 //=======================================================================================
1602 //=======================================================================================
1604  {
1606  };
1607 
1609 
1610 //=======================================================================================
1612 //=======================================================================================
1614  {
1615  Point2d newPt;
1616  bool redraw;
1617  BSIRectCP pParentRect;
1618  };
1619 
1621 
1622 //=======================================================================================
1624 //=======================================================================================
1626  {
1628  Point2d pt;
1630  void (*noMotionFunc)();
1633  RawItemHdrP noMotionRiP;
1634  RawItemHdrP previousRiP;
1638  };
1639 
1641 
1642 //=======================================================================================
1644 //=======================================================================================
1646  {
1648  };
1649 
1651 
1652 //=======================================================================================
1654 //=======================================================================================
1656  {
1658  };
1659 
1661 
1662 //=======================================================================================
1664 //=======================================================================================
1666  {
1667  bool bOpen;
1668  bool bGrabMouse;
1669  bool bUpdate;
1670  Point2dCP pPopupPt;
1673  };
1674 
1676 
1677 //=======================================================================================
1679 //=======================================================================================
1681  {
1683  };
1684 
1686 
1687 //=======================================================================================
1689 //=======================================================================================
1691  {
1692  MSDialogP popupDbP;
1693  };
1694 
1696 
1697 //=======================================================================================
1699 //=======================================================================================
1701  {
1707  };
1708 
1710 
1711 //=======================================================================================
1713 //=======================================================================================
1715  {
1726  };
1727 
1729 
1730 //=======================================================================================
1732 //=======================================================================================
1734  {
1735  bool redraw;
1736  };
1737 
1739 
1740 //=======================================================================================
1742 //=======================================================================================
1744  {
1746  BSIRect oldSizeRect;
1748  BSIRect newSizeRect;
1749  bool before;
1751  bool disallow;
1752  };
1753 
1755 
1756 //=======================================================================================
1758 //=======================================================================================
1760  {
1761  int topRow;
1765  };
1766 
1768 
1769 //=======================================================================================
1771 //=======================================================================================
1773  {
1774  bool enabled;
1775  };
1776 
1778 
1779 //=======================================================================================
1781 //=======================================================================================
1783  {
1784  /* used as if resource extent was respecified (except in pixels)*/
1786  bool redraw;
1787  };
1788 
1790 
1791 //=======================================================================================
1793 //=======================================================================================
1795  {
1797  };
1798 
1800 
1801 //=======================================================================================
1803 //=======================================================================================
1805  {
1808  };
1809 
1811 
1812 //=======================================================================================
1814 //=======================================================================================
1816  {
1822  /* Text item */
1823  MSValueDescrP currentValueP;
1824  MSValueDescrP proposedValueP;
1826  /* ListBox / Tree item */
1827  int row;
1828  int column;
1830  /* TabPage item */
1831  int tabIndex;
1832  };
1833 
1835 
1836 //=======================================================================================
1838 //=======================================================================================
1840  {
1841  bool redrawn;
1842  };
1843 
1845 
1846 //=======================================================================================
1848 //=======================================================================================
1850  {
1852  };
1853 
1855 
1856 //=======================================================================================
1858 //=======================================================================================
1860  {
1861  int type;
1862  void* userDataP;
1863  };
1864 
1866 
1867 //=======================================================================================
1871 //=======================================================================================
1872 struct DialogItemValueArgs /* used by GETSTATE, SETSTATE, GETVALUE, SETVALUE, JOURNALSTATE */
1873  {
1876  MSValueDescrP msValueDescrP;
1878  CharP accessStrP; // CHAR_OK
1879 
1880  // GET messages
1883  // SET messages
1885  bool cancelled;
1886  };
1887 
1888 //=======================================================================================
1890 //=======================================================================================
1892  {
1894  BSIRect oldGlobal;
1895  BSIRect oldContent;
1897  int newWidth;
1902  };
1903 
1905 
1906 /*-----------------------------------------------------------------------
1907  The following DialogMessageItemType types have no C++ methods.
1908 +-----------------------------------------------------------------------*/
1909 
1910 //=======================================================================================
1912 //=======================================================================================
1914  {
1915  RawItemHdrP childRiP;
1916  BSIRectCP rectP;
1918  };
1919 
1920 //=======================================================================================
1922 //=======================================================================================
1924  {
1925  MSDialogP ownerDialogP;
1926  };
1927 
1928 //=======================================================================================
1930 //=======================================================================================
1932  {
1934  };
1935 
1936 //=======================================================================================
1938 //=======================================================================================
1940  {
1942  };
1943 
1944 //=======================================================================================
1946 //=======================================================================================
1948  {
1953  bool allLabels;
1954  };
1955 
1956 //=======================================================================================
1958 //=======================================================================================
1960  {
1961  bool linkFailed;
1963  RawItemHdrP labelRiP;
1964  bool linkMin;
1965  bool linkMax;
1966  };
1967 
1968 //=======================================================================================
1971 //=======================================================================================
1973  {
1976  RawItemHdrP rawItemP;
1977  int startRow;
1978  int startCol;
1979  Point2d upPt;
1980  void* itemDataP;
1981  };
1982 
1983 //=======================================================================================
1985 //=======================================================================================
1987  {
1990  RawItemHdrP rawItemP;
1991  int startRow;
1992  int startCol;
1993  Point2d downPt;
1994  void* itemDataP;
1995  };
1996 
1997 /*-----------------------------------------------------------------------
1998  The following DialogMessageItemType types have no arguments:
1999 
2000  DITEM_MESSAGE_DESTROY
2001  DITEM_MESSAGE_POSTDRAW Notification only from ColorPicker and IconPopup
2002  DITEM_MESSAGE_POPUPWINDOW Sent to IconPopup item hook when using RTYPE_PopupWindow, 0 for .NET apps
2003  DITEM_MESSAGE_HANDLERUNLOADED
2004  DITEM_MESSAGE_PREDESTROY
2005  DITEM_MESSAGE_ATTACH
2006  DITEM_MESSAGE_DIALOGHIDE Parent dialog is about to be hidden
2007  DITEM_MESSAGE_DIALOGSHOW Parent dialog has just been shown
2008  DITEM_MESSAGE_CHILDRENLOADED Sent after children of Tab and Container items have been loaded
2009 +-----------------------------------------------------------------------*/
2010 
2011 //=======================================================================================
2013 //=======================================================================================
2015  {
2018  /* Cannot use DialogItemMessageType data type here because of AuxMessages */
2019  MSDialogP db;
2022  DialogItemP dialogItemP;
2024  void* auxInfoP;
2026  union
2027  { /* Arguments for DialogItemMessageType: */
2074  // Internal only
2082  // Obsolete - do not use
2085  } u;
2086  };
2087 
2088 
2089 //=======================================================================================
2091 //=======================================================================================
2093  {
2096  MSValueDescrR msValueDescr;
2097  CharCP accessStrP; // CHAR_OK
2100  DialogItemGetStateArgs (MSValueDescrR descr) :
2103  msValueDescr (descr), hookHandled(false), accessStrP(NULL), formatStrP(NULL)
2104  {}
2105  };
2106 
2108 
2109 //=======================================================================================
2111 //=======================================================================================
2113  {
2114  MSValueDescrR msValueDescr;
2115  CharCP accessStrP; // CHAR_OK
2116 
2119  DialogItemGetValueArgs (MSValueDescrR descr) :
2120  msValueDescr (descr), accessStrP(NULL)
2121  {}
2122  };
2123 
2125 
2126 //=======================================================================================
2128 //=======================================================================================
2130  {
2133  MSValueDescrCR msValueDescr;
2134  CharCP accessStrP; // CHAR_OK
2137  bool cancelled;
2139  DialogItemSetStateArgs (MSValueDescrCR descr) :
2142  msValueDescr (descr), hookHandled(false), accessStrP(NULL), formatStrP(NULL), valueChanged(false), cancelled(false)
2143  {}
2144  };
2145 
2147 
2148 //=======================================================================================
2150 //=======================================================================================
2152  {
2153  MSValueDescrCR msValueDescr;
2154  CharCP accessStrP; // CHAR_OK
2157  DialogItemSetValueArgs (MSValueDescrCR descr) :
2160  msValueDescr (descr), accessStrP(NULL), valueChanged(false)
2161  {}
2162  };
2163 
2165 
2166 //=======================================================================================
2168 //=======================================================================================
2170  {
2173  MSValueDescrCR msValueDescr;
2174  CharCP accessStrP; // CHAR_OK
2177  DialogItemJournalStateArgs (MSValueDescrCR descr) :
2181  {}
2182  };
2183 
2185 
2186 //=======================================================================================
2188 //=======================================================================================
2190 {
2191 public:
2196  MSCORE_EXPORT DialogItemHookHandler (MSDialogP dbP, DialogItemP diP);
2197 
2199  MSCORE_EXPORT virtual ~DialogItemHookHandler();
2200 
2203  //@remark Required Library : mdlbltin.lib
2204  MSCORE_EXPORT MSDialogP GetDialog();
2205 
2208  //@remark Required Library: mdlbltin.lib
2209  MSCORE_EXPORT DialogItemP GetDialogItem();
2210 
2213  //@remark Required Library: mdlbltin.lib
2214  MSCORE_EXPORT int GetItemIndex();
2215 
2218  //@remark Required Library: mdlbltin.lib
2219  MSCORE_EXPORT RscId GetItemId();
2220 
2223  //@remark Required Library: mdlbltin.lib
2224  MSCORE_EXPORT RawItemHdrP GetRawItem();
2225 
2228  //@remark Required Library: mdlbltin.lib
2229  MSCORE_EXPORT void SetAuxInfo (void *data);
2230 
2233  //@remark Required Library: mdlbltin.lib
2234  MSCORE_EXPORT void* GetAuxInfo ();
2235 
2236 protected:
2240  virtual bool _OnCreate (DialogItemCreateArgsR create) { return false; }
2244  virtual bool _OnInit (DialogItemInitArgsR init) { return false; }
2248  virtual bool _OnAllCreated (DialogItemAllCreatedArgsR allCreated) { return false; }
2251  virtual bool _OnDestroy () { return false; }
2252 
2256  virtual bool _OnActivate (DialogItemActivateArgsR activate) { return false; }
2259  virtual bool _OnAttach () { return false; }
2263  virtual bool _OnAutoUpdate (DialogItemAutoUpdateArgsR autoUpdate) { return false; }
2267  virtual bool _OnButton (DialogItemButtonArgsR button) { return false; }
2270  virtual bool _OnChildrenLoaded () { return false; }
2274  virtual bool _OnDraw (DialogItemDrawArgsR draw) { return false; }
2277  virtual bool _OnDialogHide () { return false; }
2280  virtual bool _OnDialogShow () { return false; }
2284  virtual bool _OnDropSource (DialogItemDropSourceArgsR dropSource) { return false; }
2288  virtual bool _OnDropTarget (DialogItemDropTargetArgsR dropTarget) { return false; }
2292  virtual bool _OnGetEditMenuInfo (DialogItemEditMenuInfoArgsR getEditMenuInfo) { return false; }
2296  virtual bool _OnFocusIn (DialogItemFocusInArgsR focusIn) { return false; }
2300  virtual bool _OnFocusOut (DialogItemFocusOutArgsR focusOut) { return false; }
2304  virtual bool _OnFontChanged (DialogItemFontChangedArgsR fontChanged) { return false; }
2308  virtual bool _OnGetState (DialogItemGetStateArgsR getState) { return false; }
2312  virtual bool _OnGetValue (DialogItemGetValueArgsR getValue) { return false; }
2316  virtual bool _OnHide (DialogItemHideArgsR hide) { return false; }
2320  virtual bool _OnHighlight (DialogItemHighlightArgsR highlight) { return false; }
2324  virtual bool _OnJournalState (DialogItemJournalStateArgsR journalState) { return false; }
2328  virtual bool _OnKeystroke (DialogItemKeystrokeArgsR keystroke) { return false; }
2332  virtual bool _OnLayout (DialogItemLayoutArgsR layout) { return false; }
2336  virtual bool _OnMotion (DialogItemMotionArgsR motion) { return false; }
2340  virtual bool _OnMouseWheel (DialogItemMouseWheelArgsR mouseWheel) { return false; }
2344  virtual bool _OnMove (DialogItemMoveArgsR move) { return false; }
2348  virtual bool _OnNoMotion (DialogItemNoMotionArgsR noMotion) { return false; }
2352  virtual bool _OnObscured (DialogItemObscuredArgsR obscured) { return false; }
2356  virtual bool _OnPopup (DialogItemPopupArgsR popup) { return false; }
2360  virtual bool _OnPopupClosed (DialogItemPopupClosedArgsR popupClosed) { return false; }
2364  virtual bool _OnPopupCreated (DialogItemPopupCreatedArgsR popupCreated) { return false; }
2368  virtual bool _OnPostKeystroke (DialogItemKeystrokeArgsR keystroke) { return false; }
2372  virtual bool _OnPostSetExtent (DialogItemSetExtentArgsR setExtent) { return false; }
2376  virtual bool _OnQueueCommand (DialogItemQueueCommandArgsR queueCommand) { return false; }
2380  virtual bool _OnRedirect (DialogItemRedirectArgsR keystrokeRedirect) { return false; }
2384  virtual bool _OnResetPreButton (DialogItemButtonArgsR button) { return false; }
2388  virtual bool _OnReloadData (DialogItemReloadDataArgsR reloadData) { return false; }
2392  virtual bool _OnScreenChange (DialogItemScreenChangeArgsR screenChange) { return false; }
2396  virtual bool _OnScrolling (DialogItemScrollingArgsR scrolling) { return false; }
2400  virtual bool _OnSetEnabledState (DialogItemSetEnabledStateArgsR setEnabledState) { return false; }
2404  virtual bool _OnSetExtent (DialogItemSetExtentArgsR setExtent) { return false; }
2408  virtual bool _OnSetLabel (DialogItemSetLabelArgsR setLabel) { return false; }
2412  virtual bool _OnSetNamedItem (DialogItemSetNamedItemArgsR setNamedItem) { return false; }
2416  virtual bool _OnSetState (DialogItemSetStateArgsR setState) { return false; }
2420  virtual bool _OnSetValue (DialogItemSetValueArgsR setValue) { return false; }
2424  virtual bool _OnStateChanged (DialogItemStateChangedArgsR stateChanged) { return false; }
2428  virtual bool _OnStateChanging (DialogItemStateChangingArgsR stateChanging) { return false; }
2432  virtual bool _OnSynchronize (DialogItemSynchronizeArgsR synchronize) { return false; }
2436  virtual bool _OnUnobscured (DialogItemUnobscuredArgsR unobscured) { return false; }
2440  virtual bool _OnUser (DialogItemUserArgsR user) { return false; }
2444  virtual bool _OnWindowMoving (DialogItemWindowMovingArgsR windowMoving) { return false; }
2445 
2447  virtual bool _Reserved1 (void *) { return false; }
2449  virtual bool _Reserved2 (void *) { return false; }
2451  virtual bool _Reserved3 (void *) { return false; }
2452 
2455  virtual void _EventMonitor (DialogItemMessageP dimP) {}
2456 
2457 private:
2458  MSDialogP m_dbP;
2459  DialogItemP m_diP;
2460  void* m_auxInfoP;
2462  bool OnDestroy ();
2465 
2466 public:
2470  MSCORE_EXPORT StatusInt CallHandlerMethod(DialogItemMessageP dimP);
2471  };
2472 
2473 //=======================================================================================
2476 //=======================================================================================
2478  {
2479  long hookId;
2481  };
2482 
2483 //=======================================================================================
2485 //=======================================================================================
2486 enum class ViewIconSize
2487  {
2488  Small = 0,
2489  Medium = 1,
2490  Large = 2
2491  };
2492 
2493 //=======================================================================================
2495 //=======================================================================================
2497  {
2498  UseLast = -1,
2499  Off = 0,
2500  SingleShot = 1,
2501  Locked = 2,
2502  On = Locked,
2503  Disabled = 3
2504  };
2505 
2506 //=======================================================================================
2508 //=======================================================================================
2509 #define LISTCELLATTR_HIGHLIGHT 0x01
2510 #define LISTCELLATTR_DISABLED 0x02
2512 //=======================================================================================
2513 //=======================================================================================
2515 #define DISTATUS_NEEDVERTSCROLLBAR 0x00000001
2516 #define DISTATUS_NEEDHORIZSCROLLBAR 0x00000002
2517 
2518 //=======================================================================================
2520 //=======================================================================================
2521 #define HEADER_ROW_INDEX -2
2522 #define FILTER_ROW_INDEX -3
2523 
2524 //=======================================================================================
2526 //=======================================================================================
2527 #define COLORPICKER_AUXMESSAGE_SETCOLORTABLE 1
2528 
2530  {
2531  RgbColorDef *colorTableP;
2532  };
2533 
2534 //=======================================================================================
2536 //=======================================================================================
2538  {
2539  long searchId;
2540  RawItemHdrP rawItemP;
2541  DItem_PulldownMenu* menuP; /* set by pdmlib.cpp */
2542 
2544  void Init ()
2545  {
2546  searchId = 0;
2547  rawItemP = NULL;
2548  menuP = NULL;
2549  }
2550  };
2551 
2552 //=======================================================================================
2554 //=======================================================================================
2556  {
2558 
2569 
2574 
2577 
2579  UICriteriaP showHideCriteriaP;
2580  UICriteriaP showMarkCriteriaP;
2581  };
2582 
2583 //=======================================================================================
2585 //=======================================================================================
2587  {
2589 
2600 
2606 
2611  };
2612 
2613 /*----------------------------------------------------------------------+
2614 | |
2615 | Pulldown Menu Messages |
2616 | |
2617 +----------------------------------------------------------------------*/
2618 #define PDMENU_MESSAGE_ACTIVATEITEM 216
2619 
2620 //=======================================================================================
2622 //=======================================================================================
2623 struct PulldownTrackingInfo /* sent to pulldown motion func */
2624  {
2626  void* rawMenuP;
2627  Point2d pt;
2628  } ;
2629 
2630 //=======================================================================================
2632 //=======================================================================================
2634  {
2638  union
2639  {
2640  struct
2641  {
2642  bool loadFailed;
2643  void* rawMenuP;
2644  MSDialogP db;
2648  RawItemHdrP mbarP;
2649  } load;
2650  struct
2651  {
2652  BSIRectP rectP;
2653  } rect;
2654  struct
2655  {
2656  int mneIndex;
2657  bool alignRight;
2658  bool enabled;
2660  int mnemonic;
2661  } title;
2662  struct
2663  {
2664  bool enabled;
2665  } setEnabled;
2666  struct
2667  {
2668  RawItemHdrP mbarP;
2669  } display;
2670  struct
2671  {
2673  MSDialogP pulldownDb;
2674  } pulldown;
2675  struct
2676  {
2678  bool hasSubmenu;
2679  Point2dP ptP;
2680  bool enabled;
2681  } whichItem;
2682  struct
2683  {
2684  int itemIndex;
2686  } highlightItem;
2687  struct
2688  {
2690  int itemIndex;
2691  } getSubmenu;
2692  struct
2693  {
2694  int screen;
2695  BSIRectP rectP;
2696  int itemIndex;
2697  } getSubmenuRect;
2698  struct
2699  {
2700  long searchId;
2701  int itemIndex;
2702  } getItemSearchId;
2703  struct
2704  {
2705  int itemIndex;
2706  long searchId;
2708  } activateItem;
2709 
2710  struct
2711  {
2716  struct
2717  {
2719  long searchId;
2720  } searchMenuForId;
2721  struct
2722  {
2726  struct
2727  {
2730  } getItem;
2731  struct
2732  {
2733  int nItems;
2734  } getNItems;
2735  struct
2736  {
2738  } deleteItem;
2739 
2740  struct
2741  {
2742  void *itemInfoP; // unfortunately this really does point at different types, so we use void*.
2747  } itemInfo;
2748  struct
2749  {
2750  int itemIndex;
2751  } displayHelp;
2752  struct
2753  {
2755  int itemIndex;
2756  long searchId;
2758  } activateAccel;
2759  struct
2760  {
2764  } getItemLabel;
2765  struct
2766  {
2768  } getParent;
2769  struct
2770  {
2772  void* userDataP;
2773  } userDataP;
2774  struct
2775  {
2776  MSDialogP db;
2777  } attachDb;
2778  struct
2779  {
2781  int itemIndex;
2782  } checkHighlight;
2783  struct
2784  {
2785  int itemIndex;
2786  long mnemonic;
2788  int scanCode;
2790  struct
2791  {
2795  bool allLabels;
2796  } getMnemonics;
2797  struct
2798  {
2799  MdlDescP ownerMD;
2800  } getOwnerMD;
2801  struct
2802  {
2806  struct
2807  {
2813  Point2dP sizeP;
2814  bool pressed;
2815  } iconInfo;
2816  struct
2817  {
2818  int itemIndex;
2819  bool bDisplay;
2821  struct
2822  {
2826  struct
2827  {
2828  int itemIndex;
2829  } scroll;
2830  } u;
2831  };
2832 
2833 //=======================================================================================
2835 //=======================================================================================
2837  {
2838  int oldYPos; /* of itemRect.origin.y */
2839  int newYPos;
2840  int oldXPos; /* of itemRect.origin.x when vertical sash */
2841  int newXPos;
2842  };
2843 
2844 /*----------------------------------------------------------------------+
2845 | |
2846 | Scale Item Auxiliary Messages |
2847 | |
2848 +----------------------------------------------------------------------*/
2849 #define SCALE_AUXMESSAGE_FORMATVALUE 50
2850 
2851 //=======================================================================================
2854 //=======================================================================================
2856  {
2860  double value;
2861  };
2862 
2863 //=======================================================================================
2865 //=======================================================================================
2867  {
2868  double value;
2869  BSIRect sliderRect;
2870  };
2871 
2872 
2873 /* Tree Item, Cell, Node support */
2874 #define TREECELLATTR_HIGHLIGHT 0x00000001 /* cell is highlighted */
2875 #define TREECELLATTR_DISABLED 0x00000002 /* cell is unselectable */
2876 
2877 #define TREENODEATTR_ALLOWSCHILDREN 0x00000010 /* node allows children below */
2878 #define TREENODEATTR_EXPANDED 0x00000020 /* parent node is expanded */
2879 #define TREENODEATTR_DISPLAYABLE 0x00000040 /* node is displayable */
2880 
2881 //=======================================================================================
2883 //=======================================================================================
2885  {
2886  Faster,
2887  Fast,
2888  Medium,
2889  Slow,
2890  Slower
2891  };
2892 
2893 //=======================================================================================
2895 //=======================================================================================
2897  {
2898  None = 0,
2899  CellEditor,
2903  ColumnHeading,
2904  Data,
2905  HookHandled,
2906  };
2907 
2908 //=======================================================================================
2910 //=======================================================================================
2912  {
2915  };
2916 
2917 /*----------------------------------------------------------------------+
2918 | |
2919 | Track Bar Processing Specific Defines and Structures |
2920 | |
2921 +----------------------------------------------------------------------*/
2922 #define UPDATE_Percent1 1
2923 #define UPDATE_Percent2 2
2924 #define UPDATE_Msg1 4
2925 #define UPDATE_Msg2 8
2926 #define UPDATE_All 15
2927 
2928 //=======================================================================================
2930 //=======================================================================================
2932  {
2933  int update;
2938  };
2939 
2940 /*----------------------------------------------------------------------+
2941 | |
2942 | DITEM_MESSAGE_USER message types |
2943 | |
2944 +----------------------------------------------------------------------*/
2945 #define USERMSG_BYLEVELBTN_SETLEVEL 0 /* Used with PUSHBUTTONID_ColorByLevel to set the level for the ByLevel color */
2946 
2947 /*----------------------------------------------------------------------+
2948 | |
2949 | Popup Padding Constants |
2950 | |
2951 +----------------------------------------------------------------------*/
2952 #define MANAGED_POPUP_WINDOW_PADDING 2 /* Additional padding used when hosting .Net forms as popups to help with auto-hide detection. */
2953 
2954 //=======================================================================================
2956 //=======================================================================================
2958  {
2959  None = 0,
2960  MFC = 1,
2961  WinForms = 2,
2962  WPF = 3
2963  };
2964 
MSDialogP ownerDialogP
Definition: dlogitem.h:1268
RawItemHdrP rawMenuP
Definition: dlogitem.h:1267
void * rawMenuP
Definition: dlogitem.h:2643
WChar msgText2[256]
Definition: dlogitem.h:2937
MdlMotionFuncP motionFunc
Definition: dlogitem.h:534
DIALOG_MESSAGE_BUTTON message arguments.
Definition: dlogitem.h:522
WCharCP commandTaskIdP
Definition: dlogitem.h:2567
struct PulldownMenuMessage::@186::@219 setOffscreenHeight
DialogItemMouseWheelArgs mouseWheel
Definition: dlogitem.h:2049
Sash Item Auxiliary Info.
Definition: dlogitem.h:2836
WCharP unparsedP
Definition: dlogitem.h:142
virtual bool _OnFontChanged(DialogFontChangedArgsR fontChanged)
Event method for DIALOG_MESSAGE_FONTCHANGED.
Definition: dlogitem.h:1045
HideReasonCode
Dialog Message Hide Defines.
Definition: dlogitem.h:189
BSIRect newRect
Definition: dlogitem.h:717
char * CharP
Definition: Bentley.h:227
MSDialogP db
Definition: dlogitem.h:888
DialogMinimizeArgs & DialogMinimizeArgsR
Definition: dlogitem.h:732
StatusInt CallHandlerMethod(DialogMessageP dmP)
Called by the Dialog Manager to dispatch the calls to the virtual event methods.
MSWindowP otherWindowP
Definition: dlogitem.h:745
OnSetState method arguments.
Definition: dlogitem.h:2129
MSDialogP db
Definition: dlogitem.h:355
virtual bool _OnScrolling(DialogItemScrollingArgsR scrolling)
Event method for DITEM_MESSAGE_SCROLLING.
Definition: dlogitem.h:2396
bool bBalloonTextOverride
Definition: dlogitem.h:1637
WCharCP formatStrP
Definition: dlogitem.h:2135
int actionType
Definition: dlogitem.h:500
int positionalKeystroke
Definition: dlogitem.h:180
DITEM_MESSAGE_DROPTARGET message arguments.
Definition: dlogitem.h:1449
DialogItemDropArgs drop
Definition: dlogitem.h:2083
Definition: msinputq.h:329
BSIRect oldSizeRect
Definition: dlogitem.h:798
bool redraw
Definition: dlogitem.h:1735
DialogItemSetEnabledStateArgs setEnabledState
Definition: dlogitem.h:2061
CharCP accessStrP
Definition: dlogitem.h:2154
WStringP balloonString
Definition: dlogitem.h:171
virtual bool _OnMinimize(DialogMinimizeArgsR minimize)
Event method for DIALOG_MESSAGE_MINIMIZE.
Definition: dlogitem.h:1072
virtual bool _OnMotion(DialogItemMotionArgsR motion)
Event method for DITEM_MESSAGE_MOTION.
Definition: dlogitem.h:2336
Dialog Item Message Structures.
Definition: dlogitem.h:2014
int newWidth
Definition: dlogitem.h:1897
Point2d dockExtent
Definition: dlogitem.h:605
UInt32 dwKeyState
Definition: dlogitem.h:1438
DialogDockingStateArgs & DialogDockingStateArgsR
Definition: dlogitem.h:595
DialogItemPopupCreatedArgs & DialogItemPopupCreatedArgsR
Definition: dlogitem.h:1695
DialogUpdateArgs & DialogUpdateArgsR
Definition: dlogitem.h:842
DITEM_MESSAGE_ACTIVATE message arguments.
Definition: dlogitem.h:1344
DialogItemDropTargetArgs & DialogItemDropTargetArgsR
Definition: dlogitem.h:1463
RawItemHdrP mbarP
Definition: dlogitem.h:2648
UInt32 mnemonic
Definition: dlogitem.h:2603
DITEM_MESSAGE_STARTDRAG message arguments.
Definition: dlogitem.h:1986
virtual bool _OnFocusOut(DialogItemFocusOutArgsR focusOut)
Event method for DITEM_MESSAGE_FOCUSOUT.
Definition: dlogitem.h:2300
DIALOG_MESSAGE_ACTIONBUTTON message arguments.
Definition: dlogitem.h:412
UInt32 unparsedP
Definition: dlogitem.h:2599
void(* MdlMotionFuncP)(MotionFuncArg *)
Definition: dlogitem.h:362
bool linkMin
Definition: dlogitem.h:1964
int oldBottomRow
Definition: dlogitem.h:1764
PFDialogHook dialogHookFunction
Definition: dlogitem.h:2480
int row
Definition: dlogitem.h:1827
DialogBoxRsc * dialogBoxRP
Definition: dlogitem.h:392
UInt32 helpInfo
Definition: dlogitem.h:2592
BSIRect newSizeRect
Definition: dlogitem.h:1748
DialogItemCreateArgs create
Definition: dlogitem.h:2030
DialogItemUnobscuredArgs unobscured
Definition: dlogitem.h:2068
DITEM_MESSAGE_GETSTATE & DITEM_MESSAGE_SETSTATE message arguments.
Definition: dlogitem.h:1872
DialogItemHideArgs hide
Definition: dlogitem.h:2044
long accelerator
Definition: dlogitem.h:2804
WCharCP unparsedP
Definition: dlogitem.h:1724
DialogItemScrollingArgs & DialogItemScrollingArgsR
Definition: dlogitem.h:1767
RgbColorDef * colorTableP
Definition: dlogitem.h:2531
void * auxInfoP
Definition: dlogitem.h:2024
DITEM_MESSAGE_OBSCURED message arguments.
Definition: dlogitem.h:1645
DITEM_MESSAGE_USER message arguments.
Definition: dlogitem.h:1859
struct PulldownMenuMessage::@186::@191 display
int type
Definition: dlogitem.h:1861
bool hookHandled
Definition: dlogitem.h:727
DIALOG_MESSAGE_BEFOREUNDOCK message arguments.
Definition: dlogitem.h:509
struct PulldownMenuMessage::@186::@196 getSubmenuRect
int itemIndex
Definition: dlogitem.h:814
MSDialogP db
Definition: dlogitem.h:2019
DIALOG_MESSAGE_MINIMIZE message arguments.
Definition: dlogitem.h:725
UInt32 attributes2
Definition: dlogitem.h:85
VersionNumber version
Definition: dlogitem.h:61
UInt32 unused
Definition: dlogitem.h:2610
virtual bool _OnBeforeUndock(DialogBeforeUndockArgsR beforeUndock)
Event method for DIALOG_MESSAGE_BEFOREUNDOCK.
Definition: dlogitem.h:1003
int qualifierMask
Definition: dlogitem.h:431
DITEM_MESSAGE_FOCUSOUT message arguments.
Definition: dlogitem.h:1478
BSIRect oldFrame
Definition: dlogitem.h:769
int nRects
Definition: dlogitem.h:1424
virtual bool _OnMove(DialogItemMoveArgsR move)
Event method for DITEM_MESSAGE_MOVE.
Definition: dlogitem.h:2344
bool allLabels
Definition: dlogitem.h:1953
int subItemIndex
Definition: dlogitem.h:2729
DialogItemGetMnemonicsArgs getMnemonics
Definition: dlogitem.h:2077
DialogItemEditMenuInfoArgs & DialogItemEditMenuInfoArgsR
Definition: dlogitem.h:1521
Definition: Bentley.h:212
DialogItemPopupClosedArgs & DialogItemPopupClosedArgsR
Definition: dlogitem.h:1685
WCharCP newTitle
Definition: dlogitem.h:828
WCharCP unparsedP
Definition: dlogitem.h:434
DialogItemPopupClosedArgs popupClosed
Definition: dlogitem.h:2054
DialogItemLayoutArgs & DialogItemLayoutArgsR
Definition: dlogitem.h:1578
void * pChildList
Definition: dlogitem.h:149
void * resourceDataP
Definition: dlogitem.h:1316
struct PulldownMenuMessage::@186::@213 searchMenuForMnemonic
bool isAccelerator
Definition: dlogitem.h:1554
DialogCalcSizeArgs & DialogCalcSizeArgsR
Definition: dlogitem.h:560
MSValueDescrR msValueDescr
Definition: dlogitem.h:2096
DIALOG_MESSAGE_BEFOREDESTROY message arguments.
Definition: dlogitem.h:495
RawItemHdrP popupMenuRiP
Definition: dlogitem.h:1410
long hookId
Definition: dlogitem.h:2479
DialogItemP pDialogItem
Definition: dlogitem.h:1229
EditMenuItemStatus copyStatus
Definition: dlogitem.h:1253
virtual bool _OnCalcSize(DialogCalcSizeArgsR calcSize)
Event method for DIALOG_MESSAGE_CALCSIZE.
Definition: dlogitem.h:1011
UInt32 reserved2
Definition: dlogitem.h:87
virtual bool _OnActionButton(DialogActionButtonArgsR actionButton)
Event method for DIALOG_MESSAGE_ACTIONBUTTON.
Definition: dlogitem.h:979
DIALOG_MESSAGE_UPDATE message arguments.
Definition: dlogitem.h:837
int oldFontHeight
Definition: dlogitem.h:673
int newXPos
Definition: dlogitem.h:2841
long percentComplete
Definition: dlogitem.h:2913
DialogAnotherOpenedArgs anotherOpened
Definition: dlogitem.h:902
bool initFailed
Definition: dlogitem.h:403
DialogItemHandler handler
Definition: dlogitem.h:69
virtual bool _OnSetEnabledState(DialogItemSetEnabledStateArgsR setEnabledState)
Event method for DITEM_MESSAGE_SETENABLEDSTATE.
Definition: dlogitem.h:2400
WCharCP commandTaskIdP
Definition: dlogitem.h:1354
virtual bool _OnPreButton(DialogButtonArgsR button)
Event method for DIALOG_MESSAGE_PREBUTTON.
Definition: dlogitem.h:1084
DialogFocusInArgs & DialogFocusInArgsR
Definition: dlogitem.h:641
struct PulldownMenuMessage::@186::@220 scroll
wchar_t * WCharP
Definition: Bentley.h:225
long pulldownItemHookId
Definition: dlogitem.h:2564
UInt32 createds
Definition: dlogitem.h:338
bool redrawn
Definition: dlogitem.h:1841
OnSetValue method arguments.
Definition: dlogitem.h:2151
DialogItemSetValueArgs & DialogItemSetValueArgsR
Definition: dlogitem.h:2164
DialogItemLinkLabelArgs linkLabel
Definition: dlogitem.h:2080
MSDialogP db
Definition: dlogitem.h:2644
UInt32 dwKeyState
Definition: dlogitem.h:1453
Text Pulldown Menu item modify flags.
Definition: dlogitem.h:2586
UInt32 commandNumber
Definition: dlogitem.h:2597
DITEM_MESSAGE_CLEANUP message arguments.
Definition: dlogitem.h:1923
bool hookHandled
Definition: dlogitem.h:1503
virtual bool _OnDetach()
Event method for DIALOG_MESSAGE_DETACH.
Definition: dlogitem.h:1021
virtual bool _OnBeforeDestroy(DialogBeforeDestroyArgsR beforeDestroy)
Event method for DIALOG_MESSAGE_BEFOREDESTROY.
Definition: dlogitem.h:970
DialogItemJournalStateArgs & DialogItemJournalStateArgsR
Definition: dlogitem.h:2184
bool wantCursorUpdate
Definition: dlogitem.h:1457
Point2dP ptP
Definition: dlogitem.h:2679
Pulldown Menu Tracking Information.
Definition: dlogitem.h:2623
struct PulldownMenuMessage::@186::@194 highlightItem
EditMenuInfo * pMenuInfo
Definition: dlogitem.h:1517
bool changed
Definition: dlogitem.h:487
CharP dbAccessStrP
Definition: dlogitem.h:153
UInt32 RscFileHandle
Definition: DgnPlatform/LineStyle.h:12
UInt32 acceptsNonDataPoints
Definition: dlogitem.h:78
DialogItemValueArgs value
Definition: dlogitem.h:2072
UInt32 couldSetState
Definition: dlogitem.h:1396
bool bNoDisplay
Definition: dlogitem.h:1518
int oldScreenNum
Definition: dlogitem.h:1745
virtual bool _OnAutoHideState(DialogAutoHideStateArgsR autoHideState)
Event method for DIALOG_MESSAGE_AUTOHIDESTATE.
Definition: dlogitem.h:999
MSValueDescrCR msValueDescr
Definition: dlogitem.h:2153
long scrollIncrement
Incremental amount to scroll, preferably from the OS.
Definition: dlogitem.h:208
bool hookHandled
Definition: dlogitem.h:1480
wchar_t WChar
Definition: Bentley.h:223
int moveDirection
Definition: dlogitem.h:1492
WCharCP commandTaskIdP
Definition: dlogitem.h:1706
void * userDataP
Definition: dlogitem.h:850
UShort dropTarget
Definition: dlogitem.h:119
UInt32 dragDrops
Definition: dlogitem.h:342
byte enabled
Definition: dlogitem.h:2559
virtual bool _OnLayout()
Event method for DIALOG_MESSAGE_LAYOUT.
Definition: dlogitem.h:1064
struct PulldownMenuMessage::@186::@197 getItemSearchId
DialogItemDrawArgs draw
Definition: dlogitem.h:2037
UInt32 activates
Definition: dlogitem.h:328
DialogKeystrokeArgs & DialogKeystrokeArgsR
Definition: dlogitem.h:709
Point2dP sizeP
Definition: dlogitem.h:2813
virtual bool _OnInit(DialogItemInitArgsR init)
Event method for DITEM_MESSAGE_INIT.
Definition: dlogitem.h:2244
BSIRectP pBufferRect
Definition: dlogitem.h:1230
int iMaxChars
Definition: dlogitem.h:2762
DIALOG_MESSAGE_FONTCHANGED message arguments.
Definition: dlogitem.h:670
UInt32 guiDropEffect
Definition: dlogitem.h:1456
CommandNumber commandNumber
Definition: dlogitem.h:1555
DialogItemSetStateArgs & DialogItemSetStateArgsR
Definition: dlogitem.h:2146
MSValueDescrP currentValueP
Definition: dlogitem.h:1823
Text Pulldown Menu item info.
Definition: dlogitem.h:2555
DIALOG_MESSAGE_CREATE message arguments.
Definition: dlogitem.h:387
UInt32 docking
Definition: dlogitem.h:334
DialogItemSetEnabledStateArgs & DialogItemSetEnabledStateArgsR
Definition: dlogitem.h:1777
DITEM_MESSAGE_GETEDITMENUINFO message arguments.
Definition: dlogitem.h:1514
DialogItemMotionArgs motion
Definition: dlogitem.h:2048
int whichCorners
Definition: dlogitem.h:1893
int dialogHeight
Definition: dlogitem.h:555
DITEM_MESSAGE_SETEXTENT & DITEM_MESSAGE_POSTSETEXTENT message arguments.
Definition: dlogitem.h:1782
void(* PFDialogBoxHook)(DialogMessageP)
Definition: dlogitem.h:47
DialogItemGetStateArgs & DialogItemGetStateArgsR
Definition: dlogitem.h:2107
void * GetUserData()
Gets the User Data associated with the dialog.
DITEM_MESSAGE_SETENABLEDSTATE message arguments.
Definition: dlogitem.h:1772
DockingState
Docking State.
Definition: dlogitem.h:287
DialogItemWindowMovingArgs windowMoving
Definition: dlogitem.h:2070
struct PulldownMenuMessage::@186::@201 searchMenuForCmdNum
int mnemonic
Definition: dlogitem.h:131
CharCP accessStrP
Definition: dlogitem.h:2115
UInt32 handlesDocking
Definition: dlogitem.h:81
UInt32 extendedLabelP
Definition: dlogitem.h:2605
WCharCP formatStrP
Definition: dlogitem.h:2175
CommandNumber commandNumber
Definition: dlogitem.h:1352
MSDialogP previousFocusDbP
Definition: dlogitem.h:638
UInt32 nonDataPoints
Definition: dlogitem.h:323
virtual bool _OnKeystroke(DialogItemKeystrokeArgsR keystroke)
Event method for DITEM_MESSAGE_KEYSTROKE.
Definition: dlogitem.h:2328
int newHeight
Definition: dlogitem.h:553
virtual bool _OnCreate(DialogCreateArgsR create)
Event method for DIALOG_MESSAGE_CREATE.
Definition: dlogitem.h:962
int nMnemonics
Definition: dlogitem.h:2793
DITEM_MESSAGE_ALLCREATED message arguments.
Definition: dlogitem.h:1362
virtual bool _OnCreated()
Event method for DIALOG_MESSAGE_CREATED.
Definition: dlogitem.h:1018
int popupHeight
Definition: dlogitem.h:2824
void * appData5P
Definition: dlogitem.h:161
struct IDataObject GuiDataObject
Definition: ElementAgenda.h:10
struct PulldownMenuMessage::@186::@205 itemInfo
Completion Bar Processing Information.
Definition: dlogitem.h:2911
CommandNumber commandNumber
Definition: dlogitem.h:1723
UInt32 motionTime
Definition: dlogitem.h:741
Dialog Item Handler Information.
Definition: dlogitem.h:67
virtual bool _OnPostKeystroke(DialogItemKeystrokeArgsR keystroke)
Event method for DITEM_MESSAGE_POSTKEYSTROKE.
Definition: dlogitem.h:2368
DialogHideArgs & DialogHideArgsR
Definition: dlogitem.h:687
DialogItemAllCreatedArgs allCreated
Definition: dlogitem.h:2032
void * itemModifyP
Definition: dlogitem.h:2743
virtual bool _OnGetValue(DialogItemGetValueArgsR getValue)
Event method for DITEM_MESSAGE_GETVALUE.
Definition: dlogitem.h:2312
DITEM_MESSAGE_QUEUECOMMAND message arguments.
Definition: dlogitem.h:1700
int qualifierMask
Definition: dlogitem.h:526
NativeContentType
Native Content Type.
Definition: dlogitem.h:2957
bool isAccelerator
Definition: dlogitem.h:1351
virtual bool _OnQueueCommand(DialogItemQueueCommandArgsR queueCommand)
Event method for DITEM_MESSAGE_QUEUECOMMAND.
Definition: dlogitem.h:2376
virtual bool _OnWindowMoving(DialogWindowMovingArgsR windowMoving)
Event method for DIALOG_MESSAGE_WINDOWMOVING.
Definition: dlogitem.h:1119
virtual bool _OnChildrenLoaded()
Event method for DITEM_MESSAGE_CHILDRENLOADED.
Definition: dlogitem.h:2270
DialogItemStateChangingArgs stateChanging
Definition: dlogitem.h:2066
TreeNodePortion
Tree Node Portion last clicked.
Definition: dlogitem.h:2896
DIALOG_MESSAGE_CHILDDESTROYED message arguments.
Definition: dlogitem.h:566
int dialogWidth
Definition: dlogitem.h:554
MdlMotionFuncP motionFunc
Definition: dlogitem.h:1397
int auxMessageType
Definition: dlogitem.h:2023
virtual ~DialogHookHandler()
Destructor for the base DialogHookHandler.
DialogItemQueueCommandArgs queueCommand
Definition: dlogitem.h:2056
void * appData4P
Definition: dlogitem.h:160
int startItemIndex
Definition: dlogitem.h:2787
struct PulldownMenuMessage::@186::@192 pulldown
void * userDataP
Definition: dlogitem.h:890
WCharCP formatStrP
Definition: dlogitem.h:1881
DialogItemFocusOutArgs & DialogItemFocusOutArgsR
Definition: dlogitem.h:1496
DialogFocusOutArgs focusOut
Definition: dlogitem.h:915
WCharCP commandTaskIdP
Definition: dlogitem.h:435
DialogAutoHideStateArgs autoHideState
Definition: dlogitem.h:905
void Init()
Initializes members of the DItem_PulldownMenu.
Definition: dlogitem.h:1273
void * itemDataP
Definition: dlogitem.h:1980
DialogItemChildDrawBgArgs childDrawBg
Definition: dlogitem.h:2075
DialogItemMessage * dimP
Definition: dlogitem.h:2707
MSValueDescrR msValueDescr
Definition: dlogitem.h:2114
virtual bool _OnMouseWheel(DialogMouseWheelArgsR mouseWheel)
Event method for DIALOG_MESSAGE_MOUSEWHEEL.
Definition: dlogitem.h:1080
MdlDescP ownerMD
Definition: dlogitem.h:2645
DITEM_MESSAGE_RELOADDATA message arguments.
Definition: dlogitem.h:1733
int whichCorners
Definition: dlogitem.h:861
DIALOG_MESSAGE_FOCUSIN message arguments.
Definition: dlogitem.h:633
DialogItemButtonArgs & DialogItemButtonArgsR
Definition: dlogitem.h:1416
DialogHookResolveArgs hookResolve
Definition: dlogitem.h:893
int newWidth
Definition: dlogitem.h:728
bool hasSubmenu
Definition: dlogitem.h:2678
int maxNMnemonics
Definition: dlogitem.h:1952
MSValueDescrP proposedValueP
Definition: dlogitem.h:1382
int newHeight
Definition: dlogitem.h:1898
long pulldownSearchId
Definition: dlogitem.h:2565
BSIRectP rectList
Definition: dlogitem.h:1425
bool hookHandled
Definition: dlogitem.h:694
int nextFocusItemIndex
Definition: dlogitem.h:1483
virtual bool _OnActivate(DialogActivateArgsR activate)
Event method for DIALOG_MESSAGE_ACTIVATE.
Definition: dlogitem.h:983
UInt32 reserved1
Definition: dlogitem.h:86
bool otherWinPopup
Definition: dlogitem.h:746
bool hookHandled
Definition: dlogitem.h:1716
virtual bool _OnAttach(DialogAttachArgsR attach)
Event method for DIALOG_MESSAGE_ATTACH.
Definition: dlogitem.h:995
bool allLabels
Definition: dlogitem.h:2795
DialogItemSetNamedItemArgs & DialogItemSetNamedItemArgsR
Definition: dlogitem.h:1810
UInt32 helpSource
Definition: dlogitem.h:106
struct PulldownMenuMessage::@186::@212 checkHighlight
DITEM_MESSAGE_NOMOTION message arguments.
Definition: dlogitem.h:1625
MSDialogP ownerDialogP
Definition: dlogitem.h:1925
RawItemHdrP riP
Definition: dlogitem.h:637
MdlDescP ownerMD
Definition: dlogitem.h:1367
WCharCP unparsedP
Definition: dlogitem.h:2568
UInt32 informNeutralMotion
Definition: dlogitem.h:79
DialogItemReloadDataArgs reloadData
Definition: dlogitem.h:2058
virtual bool _OnHighlight(DialogItemHighlightArgsR highlight)
Event method for DITEM_MESSAGE_HIGHLIGHT.
Definition: dlogitem.h:2320
virtual bool _OnNoMotion(DialogItemNoMotionArgsR noMotion)
Event method for DITEM_MESSAGE_NOMOTION.
Definition: dlogitem.h:2348
DialogItemDropSourceArgs & DialogItemDropSourceArgsR
Definition: dlogitem.h:1444
byte percentDone
Definition: dlogitem.h:866
int rawKeystroke
Definition: dlogitem.h:698
bool redirectAllowed
Definition: dlogitem.h:1717
bool reallyChanged
Definition: dlogitem.h:1851
DialogMotionArgs motion
Definition: dlogitem.h:921
UInt32 calcSizes
Definition: dlogitem.h:320
DialogAttachArgs & DialogAttachArgsR
Definition: dlogitem.h:478
UInt32 helpInfo
Definition: dlogitem.h:105
RscType type
Definition: dlogitem.h:1265
virtual bool _OnMouseWheel(DialogItemMouseWheelArgsR mouseWheel)
Event method for DITEM_MESSAGE_MOUSEWHEEL.
Definition: dlogitem.h:2340
StateChangingResponse response
Definition: dlogitem.h:1817
Utf8CP labelP
Definition: dlogitem.h:1318
void * userDataP
Definition: dlogitem.h:1862
RawItemHdrP nextFocusRiP
Definition: dlogitem.h:1484
EditMenuItemStatus selectAllStatus
Definition: dlogitem.h:1256
UInt32 commandTaskIdP
Definition: dlogitem.h:2598
DialogItemPopupArgs & DialogItemPopupArgsR
Definition: dlogitem.h:1675
BSIRect traversalRect
Definition: dlogitem.h:137
DITEM_MESSAGE_KEYSTROKE & DITEM_MESSAGE_POSTKEYSTROKE message arguments.
Definition: dlogitem.h:1546
DIALOG_MESSAGE_WINDOWMOVING message arguments.
Definition: dlogitem.h:859
DialogItemCreateArgs & DialogItemCreateArgsR
Definition: dlogitem.h:1328
WCharCP commandTaskIdP
Definition: dlogitem.h:705
byte handled
Definition: dlogitem.h:1901
DITEM_MESSAGE_DROPSOURCE message arguments.
Definition: dlogitem.h:1433
int reserved
Definition: dlogitem.h:1682
UInt32 mouses
Definition: dlogitem.h:314
DialogItemKeystrokeArgs & DialogItemKeystrokeArgsR
Definition: dlogitem.h:1564
DialogItemHookHandlerP hookHandlerP
Definition: dlogitem.h:1305
DialogTitleChangedArgs titleChanged
Definition: dlogitem.h:926
void(* noMotionFunc)()
Definition: dlogitem.h:1630
RawItemHdr structure - contains info usually specified in item resources and other item type specific...
Definition: dlogitem.h:98
BSIRect newContent
Definition: dlogitem.h:771
DITEM_MESSAGE_HIDE message arguments.
Definition: dlogitem.h:1526
UInt64 itemHookArg
Definition: dlogitem.h:125
DialogItemSetExtentArgs & DialogItemSetExtentArgsR
Definition: dlogitem.h:1789
void * pHookList
Definition: dlogitem.h:123
RscFileHandle rfHandle
Definition: dlogitem.h:1325
DialogItemHandlerInfo * itemHandlerP
Definition: dlogitem.h:1941
DIALOG_MESSAGE_SCREENCHANGE message arguments.
Definition: dlogitem.h:795
bool pressed
Definition: dlogitem.h:2814
DialogButtonArgs button
Definition: dlogitem.h:907
double value
Definition: dlogitem.h:2868
UShort layoutItem
Definition: dlogitem.h:120
UICriteriaP enableDisableCriteriaP
Definition: dlogitem.h:2578
DialogCalcSizeArgs calcSize
Definition: dlogitem.h:908
RscType itemType
Definition: dlogitem.h:58
void * appData1P
Definition: dlogitem.h:157
bool showBalloon
Definition: dlogitem.h:1636
bool outOfRange
Definition: dlogitem.h:1481
bool highlightOn
Definition: dlogitem.h:1538
virtual bool _OnDockingState(DialogDockingStateArgsR dockingState)
Event method for DIALOG_MESSAGE_DOCKINGSTATE.
Definition: dlogitem.h:1029
UShort prevMotionItem
Definition: dlogitem.h:114
BSIRect oldGlobal
Definition: dlogitem.h:864
bool otherWinPopup
Definition: dlogitem.h:1595
UShort dropSource
Definition: dlogitem.h:118
void * appData3P
Definition: dlogitem.h:159
virtual bool _OnFontChanged(DialogItemFontChangedArgsR fontChanged)
Event method for DITEM_MESSAGE_FONTCHANGED.
Definition: dlogitem.h:2304
long itemHookId
Definition: dlogitem.h:130
Point2d cornerBuffer
Definition: dlogitem.h:475
UInt32 attributesExt
Definition: dlogitem.h:167
int mnemonic
Definition: dlogitem.h:2660
virtual bool _Reserved2(void *)
Reserved for future events.
Definition: dlogitem.h:2449
Dialog Hook functions "Publishing" structure Used for both dialog hooks & dialog item hooks...
Definition: dlogitem.h:2477
int keystroke
Definition: dlogitem.h:697
RawItemHdrP parentRiP
Definition: dlogitem.h:128
DialogItemHookHandler(MSDialogP dbP, DialogItemP diP)
Constructor for the base DialogItemHookHandler.
RawItemHdrP GetRawItem()
Gets the RawItemHdr associated with the DialogItem.
bool bDisplay
Definition: dlogitem.h:2819
UICriteriaP showMarkCriteriaP
Definition: dlogitem.h:2580
bool bEscapePressed
Definition: dlogitem.h:1437
int rawKeystroke
Definition: dlogitem.h:430
byte handled
Definition: dlogitem.h:867
int upNumber
Definition: dlogitem.h:1403
CharP auxInfoP
Definition: dlogitem.h:1319
WChar mnemonic
Definition: dlogitem.h:1287
long xPos
Specifies the X coordinate of the pointer, relative to the upper-left corner of the dialog...
Definition: dlogitem.h:205
DialogItemSetExtentArgs setExtent
Definition: dlogitem.h:2062
RscId dialogId
Definition: dlogitem.h:2020
DialogItemFocusInArgs focusIn
Definition: dlogitem.h:2041
FocusOutType
Item Focus Out Types.
Definition: dlogitem.h:214
MdlDescP motionMD
Definition: dlogitem.h:1398
DialogFocusOutArgs & DialogFocusOutArgsR
Definition: dlogitem.h:663
RawItemHdrP linkedLabelP
Definition: dlogitem.h:177
WCharCP iconNameP
Definition: dlogitem.h:2812
DIALOG_MESSAGE_FOCUSOUT message arguments.
Definition: dlogitem.h:648
MSDialogP GetDialog()
Gets the MSDialog with which the hook is associated.
DialogMouseWheelArgs mouseWheel
Definition: dlogitem.h:922
MessageBoxIconType
Message Box Icon Types for mdlDialog_openMessageBox.
Definition: dlogitem.h:1160
DialogItemInitArgs & DialogItemInitArgsR
Definition: dlogitem.h:1338
DialogItemFocusInArgs & DialogItemFocusInArgsR
Definition: dlogitem.h:1473
DialogItemNoMotionArgs & DialogItemNoMotionArgsR
Definition: dlogitem.h:1640
int mneIndex
Definition: dlogitem.h:132
DialogItemHighlightArgs highlight
Definition: dlogitem.h:2045
DialogMessageType
Definition: dlogmsg.r.h:29
DIALOG_MESSAGE_DOCKEDEXTENT message arguments.
Definition: dlogitem.h:601
bool bOpen
Definition: dlogitem.h:1667
int startCol
Definition: dlogitem.h:1978
int moveDirection
Definition: dlogitem.h:695
MSDialogP db
Definition: dlogitem.h:446
UInt32 unused
Definition: dlogitem.h:83
DIALOG_MESSAGE_DOCKINGSTATE message arguments.
Definition: dlogitem.h:590
DialogDockingStateArgs dockingState
Definition: dlogitem.h:911
Point2dCP pPopupPt
Definition: dlogitem.h:1670
WCharCP formatStrP
Definition: dlogitem.h:2098
wchar_t const * WCharCP
Definition: Bentley.h:224
int iRow
Definition: dlogitem.h:1459
bool loadFailed
Definition: dlogitem.h:2642
Point2d downPt
Definition: dlogitem.h:1993
bool stopUndock
Definition: dlogitem.h:511
UInt32 showMarkCriteriaP
Definition: dlogitem.h:2609
RawItemHdrP ownerRiP
Definition: dlogitem.h:166
int oldYPos
Definition: dlogitem.h:2838
virtual bool _OnSetValue(DialogItemSetValueArgsR setValue)
Event method for DITEM_MESSAGE_SETVALUE.
Definition: dlogitem.h:2420
long yPos
Specifies the Y coordinate of the pointer, relative to the upper-left corner of the dialog...
Definition: dlogitem.h:206
int newFontHeight
Definition: dlogitem.h:556
int itemIndex
Definition: dlogitem.h:635
bool forceCompleteRedraw
Definition: dlogitem.h:772
MouseWheelEventData eventData
Definition: dlogitem.h:1605
WCharCP extendedLabelP
Definition: dlogitem.h:2575
bool createFailed
Definition: dlogitem.h:1313
void(* PFDialogItemHandler)(DialogItemMessageP)
Definition: dlogitem.h:50
virtual bool _OnResize(DialogResizeArgsR resize)
Event method for DIALOG_MESSAGE_RESIZE.
Definition: dlogitem.h:1092
DialogDockedExtentArgs dockedExtent
Definition: dlogitem.h:910
virtual bool _OnDestroy()
Event method for DITEM_MESSAGE_DESTROY.
Definition: dlogitem.h:2251
UInt32 maximizes
Definition: dlogitem.h:327
virtual bool _OnSynchronize(DialogItemSynchronizeArgsR synchronize)
Event method for DITEM_MESSAGE_SYNCHRONIZE.
Definition: dlogitem.h:2432
UInt32 couldSetState
Definition: dlogitem.h:425
MSDialogP db
Definition: dlogitem.h:459
bool hookHandled
Definition: dlogitem.h:1974
RawItemHdrP activatedRiP
Definition: dlogitem.h:427
struct Bentley::WString * WStringP
Definition: Bentley.h:239
virtual bool _OnFocusIn(DialogFocusInArgsR focusIn)
Event method for DIALOG_MESSAGE_FOCUSIN.
Definition: dlogitem.h:1037
DialogChildDestroyedArgs & DialogChildDestroyedArgsR
Definition: dlogitem.h:572
bool hookHandled
Definition: dlogitem.h:2171
int buttonNumber
Definition: dlogitem.h:1400
virtual bool _OnDraw(DialogItemDrawArgsR draw)
Event method for DITEM_MESSAGE_DRAW.
Definition: dlogitem.h:2274
int nMnemonics
Definition: dlogitem.h:1950
UInt32 unused
Definition: dlogitem.h:344
bool hookHandled
Definition: dlogitem.h:1409
UInt32 otherDialogs
Definition: dlogitem.h:324
WCharCP unparsedP
Definition: dlogitem.h:1353
RawItemHdrP motionRiP
Definition: dlogitem.h:1593
int itemIndex
Definition: dlogitem.h:428
DialogItemObscuredArgs obscured
Definition: dlogitem.h:2052
UShort prevNoMotionItem
Definition: dlogitem.h:113
struct PulldownMenuMessage::@186::@208 getItemLabel
DialogUserArgs & DialogUserArgsR
Definition: dlogitem.h:853
UInt32 time
Definition: dlogitem.h:1627
int extentFlag
Definition: dlogitem.h:604
UInt32 motionTime
Definition: dlogitem.h:1586
bool bUpdate
Definition: dlogitem.h:1669
long mnemonic
Definition: dlogitem.h:2786
DialogStateChangedArgs & DialogStateChangedArgsR
Definition: dlogitem.h:819
UInt32 synchs
Definition: dlogitem.h:318
bool bGrabMouse
Definition: dlogitem.h:1668
uint32_t UInt32
Definition: Bentley.r.h:128
DialogInitArgs init
Definition: dlogitem.h:896
#define NULL
Definition: Bentley.h:157
int rawKeystroke
Definition: dlogitem.h:1719
UInt32 stateChangeds
Definition: dlogitem.h:325
bool abortAction
Definition: dlogitem.h:414
RscType * iconTypeP
Definition: dlogitem.h:2809
DITEM_MESSAGE_REDIRECT message arguments.
Definition: dlogitem.h:1714
UInt32 buttonTime
Definition: dlogitem.h:1405
WCharCP newLabelP
Definition: dlogitem.h:1796
int keystroke
Definition: dlogitem.h:1348
Point2d newPt
Definition: dlogitem.h:1615
DialogActionButtonArgs & DialogActionButtonArgsR
Definition: dlogitem.h:418
BSIColorDescrCP bgColorP
Definition: dlogitem.h:1917
int mneIndex
Definition: dlogitem.h:1289
int eventCreatedBy
Definition: dlogitem.h:1594
uint32_t RscType
Definition: ecimagekey.h:15
DialogItemScreenChangeArgs screenChange
Definition: dlogitem.h:2059
DITEM_MESSAGE_HANDLERLOADED message arguments.
Definition: dlogitem.h:1939
bool alignRight
Definition: dlogitem.h:2657
Edit Popup Menu Information.
Definition: dlogitem.h:1248
DialogCreateArgs & DialogCreateArgsR
Definition: dlogitem.h:395
MdlDescP ownerMD
Definition: dlogitem.h:1321
WCharP pName
Definition: dlogitem.h:175
UShort informMotion
Definition: dlogitem.h:110
RscId id
Definition: dlogitem.h:1266
int mneIndex
Definition: dlogitem.h:2656
virtual bool _OnUpdate(DialogUpdateArgsR update)
Event method for DIALOG_MESSAGE_UPDATE.
Definition: dlogitem.h:1111
virtual bool _OnDockedExtent(DialogDockedExtentArgsR dockedExtent)
Event method for DIALOG_MESSAGE_DOCKEDEXTENT.
Definition: dlogitem.h:1025
void * itemInfoP
Definition: dlogitem.h:2742
DialogRestoredArgs & DialogRestoredArgsR
Definition: dlogitem.h:789
DialogItemSetStateArgs(MSValueDescrCR descr)
Constructor for DialogItemSetStateArgs.
Definition: dlogitem.h:2141
RawItemHdrP childFocusRiP
Definition: dlogitem.h:147
DialogItemFontChangedArgs & DialogItemFontChangedArgsR
Definition: dlogitem.h:1509
DialogAnotherClosedArgs anotherClosed
Definition: dlogitem.h:903
DialogItemLayoutArgs layout
Definition: dlogitem.h:2047
DialogItemGetValueArgs & DialogItemGetValueArgsR
Definition: dlogitem.h:2124
MdlDescP noMotionMD
Definition: dlogitem.h:1631
CommandNumber cmdNum
Definition: dlogitem.h:2724
DialogResizeArgs resize
Definition: dlogitem.h:913
int oldScreenNum
Definition: dlogitem.h:797
DIALOG_MESSAGE_DESTROY message arguments.
Definition: dlogitem.h:578
RawItemHdrP riP
Definition: dlogitem.h:706
int startRow
Definition: dlogitem.h:1991
DialogItemSetValueArgs(MSValueDescrCR descr)
Constructor for DialogItemSetValueArgs.
Definition: dlogitem.h:2159
DIALOG_MESSAGE_HOOKRESOLVE message arguments.
Definition: dlogitem.h:376
DIALOG_MESSAGE_HIDE message arguments.
Definition: dlogitem.h:682
Scale Item Format Value Send and filled in as a result of the SCALE_AUXMESSAGE_FORMATVALUE message...
Definition: dlogitem.h:2855
BSIRect oldContent
Definition: dlogitem.h:770
DialogBeforeUndockArgs beforeUndock
Definition: dlogitem.h:906
struct PulldownMenuMessage::@186::@187 load
UShort unused2
Definition: dlogitem.h:121
GuiDataObject * pDataObject
Definition: dlogitem.h:618
DialogItemKeystrokeArgs keystroke
Definition: dlogitem.h:2046
BSIColorDescr ** handlerColorsP
Definition: dlogitem.h:71
DialogDestroyArgs & DialogDestroyArgsR
Definition: dlogitem.h:584
union PulldownMenuMessage::@186 u
int cursorIndex
Definition: dlogitem.h:1561
MotionTransType motionTrans
Definition: dlogitem.h:1585
DialogAutoHideStateArgs & DialogAutoHideStateArgsR
Definition: dlogitem.h:490
RscId childDialogId
Definition: dlogitem.h:568
WCharCP labelP
Definition: dlogitem.h:2570
DialogItemP dialogItemP
Definition: dlogitem.h:2022
DialogItemReloadDataArgs & DialogItemReloadDataArgsR
Definition: dlogitem.h:1738
UInt32 acceleratorP
Definition: dlogitem.h:2602
virtual ~DialogItemHookHandler()
Destructor for the base DialogItemHookHandler.
virtual bool _OnGetState(DialogItemGetStateArgsR getState)
Event method for DITEM_MESSAGE_GETSTATE.
Definition: dlogitem.h:2308
struct PulldownMenuMessage::@186::@200 searchMenuForId
virtual bool _OnUnobscured(DialogItemUnobscuredArgsR unobscured)
Event method for DITEM_MESSAGE_UNOBSCURED.
Definition: dlogitem.h:2436
bool redraw
Definition: dlogitem.h:1786
StateChangingResponse
StateChanging Responses.
Definition: dlogitem.h:1217
UInt64 itemArg
Definition: dlogitem.h:1320
DITEM_MESSAGE_SETLABEL message arguments.
Definition: dlogitem.h:1794
UInt32 ulSignature
Definition: dlogitem.h:145
virtual bool _OnObscured(DialogItemObscuredArgsR obscured)
Event method for DITEM_MESSAGE_OBSCURED.
Definition: dlogitem.h:2352
MotionTransType motionTrans
Definition: dlogitem.h:740
DialogMouseWheelArgs & DialogMouseWheelArgsR
Definition: dlogitem.h:760
FocusOutType focusOutType
Definition: dlogitem.h:1470
double value
Definition: dlogitem.h:2860
Sextent sextent
Definition: dlogitem.h:1785
UInt32 mneIndex
Definition: dlogitem.h:2604
virtual bool _OnMotion(DialogMotionArgsR motion)
Event method for DIALOG_MESSAGE_MOTION.
Definition: dlogitem.h:1076
MSValueDescrP msValueDescrP
Definition: dlogitem.h:1876
bool clicked
Definition: dlogitem.h:528
DialogFocusInArgs focusIn
Definition: dlogitem.h:914
MSDialogP ownerDialogP
Definition: dlogitem.h:126
DITEM_MESSAGE_LINKLABEL message arguments.
Definition: dlogitem.h:1959
DialogItemRedirectArgs keystrokeRedirect
Definition: dlogitem.h:2057
DIALOG_MESSAGE_ANOTHERCLOSED message arguments.
Definition: dlogitem.h:457
WCharP minStrP
Definition: dlogitem.h:1489
long wheelDelta
Indicates the distance that the wheel was rotated.
Definition: dlogitem.h:207
BSIRect itemRect
Definition: dlogitem.h:104
int maxNMnemonics
Definition: dlogitem.h:2794
UInt32 bevelOffset
Definition: dlogitem.h:73
DIALOG_MESSAGE_MOUSEWHEEL message arguments.
Definition: dlogitem.h:755
DialogItemActivateArgs activate
Definition: dlogitem.h:2034
struct PulldownMenuMessage::@186::@218 showExtendedLabel
bool redraw
Definition: dlogitem.h:1616
GuiDragDropStatus guiDropStatus
Definition: dlogitem.h:1441
struct PulldownMenuMessage::@186::@204 deleteItem
virtual bool _CanDisplay()
Definition: dlogitem.h:182
DITEM_MESSAGE_STATECHANGED message arguments.
Definition: dlogitem.h:1849
RscId dialogId
Definition: dlogitem.h:448
void(* motionFunc)(PulldownTrackingInfo *)
Definition: dlogitem.h:2672
bool sendToDialogItem
Definition: dlogitem.h:622
RawItemHdrP riP
Definition: dlogitem.h:356
DItem_PulldownMenu submenu
Definition: dlogitem.h:2557
Point2d pt
Definition: dlogitem.h:1406
DialogItemHookResolveArgs hookResolve
Definition: dlogitem.h:2028
DITEM_MESSAGE_INIT message arguments.
Definition: dlogitem.h:1333
void SetUserData(void *data)
Sets the User Data associated with the dialog.
int mnemonic
Definition: dlogitem.h:2572
int messageType
Definition: dlogitem.h:2636
DialogMinimizeArgs minimize
Definition: dlogitem.h:920
virtual bool _OnStateChanged(DialogItemStateChangedArgsR stateChanged)
Event method for DITEM_MESSAGE_STATECHANGED.
Definition: dlogitem.h:2424
DialogHookInterests interests
Definition: dlogitem.h:390
WCharP commandTaskIdP
Definition: dlogitem.h:141
DItem_PulldownMenu * parentMenuP
Definition: dlogitem.h:2646
UInt32 screenChanges
Definition: dlogitem.h:336
StateChangingCause cause
Definition: dlogitem.h:1820
DITEM_MESSAGE_MOVE message arguments.
Definition: dlogitem.h:1613
DialogItemAllCreatedArgs & DialogItemAllCreatedArgsR
Definition: dlogitem.h:1370
int dockPosition
Definition: dlogitem.h:603
int actionType
Definition: dlogitem.h:462
DITEM_MESSAGE_STATECHANGING message arguments.
Definition: dlogitem.h:1815
virtual bool _OnAnotherClosed(DialogAnotherClosedArgsR anotherClosed)
Event method for DIALOG_MESSAGE_ANOTHERCLOSED.
Definition: dlogitem.h:991
DialogItemStateChangedArgs & DialogItemStateChangedArgsR
Definition: dlogitem.h:1854
Sextent * itemListExtentP
Definition: dlogitem.h:1317
WCharCP titleP
Definition: dlogitem.h:2659
MdlDesc * ownerMD
Definition: dlogitem.h:2746
BSIRectP updateRectsP
Definition: dlogitem.h:774
DIALOG_MESSAGE_TITLECHANGED message arguments.
Definition: dlogitem.h:825
Point2d oldPoint
Definition: dlogitem.h:743
RscType dialogType
Definition: dlogitem.h:447
Motion Function Arguments Structure.
Definition: dlogitem.h:351
long searchId
Definition: dlogitem.h:2700
DITEM_MESSAGE_BUTTON & DITEM_MESSAGE_RESETPREBUTTON message arguments.
Definition: dlogitem.h:1394
WCharCP msgTextW
Definition: dlogitem.h:2914
RawItemHdrP noMotionRiP
Definition: dlogitem.h:1633
UInt32 pulldownSearchId
Definition: dlogitem.h:2596
WCharCP unparsedP
Definition: dlogitem.h:1556
StateChangingCause
StateChanging Causes.
Definition: dlogitem.h:1206
bool outOfRange
Definition: dlogitem.h:1378
CharP accessStrP
Definition: dlogitem.h:1878
EditMenuItemStatus pasteStatus
Definition: dlogitem.h:1254
struct PulldownMenuMessage::@186::@214 getMnemonics
Point2d attachPoint
Definition: dlogitem.h:473
MSDialog ** popupDbPP
Definition: dlogitem.h:1672
BSIRectCP pParentRect
Definition: dlogitem.h:1617
RscId * iconIdP
Definition: dlogitem.h:2810
bool eraseFirst
Definition: dlogitem.h:1423
DialogItemButtonArgs button
Definition: dlogitem.h:2036
MdlDescP * iconOwnerMDP
Definition: dlogitem.h:2811
UInt32 restoreds
Definition: dlogitem.h:343
DialogItemMouseWheelArgs & DialogItemMouseWheelArgsR
Definition: dlogitem.h:1608
virtual bool _OnAnotherOpened(DialogAnotherOpenedArgsR anotherOpened)
Event method for DIALOG_MESSAGE_ANOTHEROPENED.
Definition: dlogitem.h:987
bool hookHandled
Definition: dlogitem.h:2131
WCharCP helpTaskIdP
Definition: dlogitem.h:2563
BSIRect oldSizeRect
Definition: dlogitem.h:1746
DITEM_MESSAGE_HOOKRESOLVE message arguments.
Definition: dlogitem.h:1303
DialogItemMotionArgs & DialogItemMotionArgsR
Definition: dlogitem.h:1598
DItem_PulldownMenuItem * menuItemP
Definition: dlogitem.h:2718
DItem_PulldownMenu * submenuP
Definition: dlogitem.h:2689
virtual bool _OnScreenChange(DialogScreenChangeArgsR screenChange)
Event method for DIALOG_MESSAGE_SCREENCHANGE.
Definition: dlogitem.h:1096
DialogItemScreenChangeArgs & DialogItemScreenChangeArgsR
Definition: dlogitem.h:1754
DItem_PulldownMenu * menuP
Definition: dlogitem.h:2637
bool valueChanged
Definition: dlogitem.h:1807
UInt32 noItemResource
Definition: dlogitem.h:75
int qualifierMask
Definition: dlogitem.h:1350
void * userDataP
Definition: dlogitem.h:2772
DITEM_MESSAGE_POPUP message arguments.
Definition: dlogitem.h:1665
Mouse Wheel Event Data.
Definition: dlogitem.h:202
int rawKeystroke
Definition: dlogitem.h:1349
DialogScreenChangeArgs screenChange
Definition: dlogitem.h:924
UInt32 guiDropEffect
Definition: dlogitem.h:621
DITEM_MESSAGE_CREATE message arguments.
Definition: dlogitem.h:1311
DialogUserArgs user
Definition: dlogitem.h:928
DialogTitleChangedArgs & DialogTitleChangedArgsR
Definition: dlogitem.h:831
UShort numPadKey
Definition: dlogitem.h:115
GuiDropSourceMsg
Drag & Drop - Drop Source Message.
Definition: dlogitem.h:262
struct PulldownMenuMessage::@186::@193 whichItem
EditMenuItemStatus clearStatus
Definition: dlogitem.h:1257
Point2d pt
Definition: dlogitem.h:353
DIALOG_MESSAGE_ATTACH message arguments.
Definition: dlogitem.h:471
Pulldown Menu Message.
Definition: dlogitem.h:2633
void * dbAuxInfoP
Definition: dlogitem.h:154
WCharP valueStrP
Definition: dlogitem.h:2858
int screen
Definition: dlogitem.h:2694
DialogWindowMovingArgs & DialogWindowMovingArgsR
Definition: dlogitem.h:870
DialogItemNoMotionArgs noMotion
Definition: dlogitem.h:2051
WCharCP pStrValue
Definition: dlogitem.h:1806
Dialog Item Handler functions "Publishing" structure.
Definition: dlogitem.h:56
bool hookHandled
Definition: dlogitem.h:551
DialogDropTargetArgs & DialogDropTargetArgsR
Definition: dlogitem.h:626
DialogItemScrollingArgs scrolling
Definition: dlogitem.h:2060
void(* PFDialogHook)(void *)
Definition: dlogitem.h:46
WCharCP unparsedP
Definition: dlogitem.h:704
virtual bool _OnHide(DialogItemHideArgsR hide)
Event method for DITEM_MESSAGE_HIDE.
Definition: dlogitem.h:2316
bool hookHandled
Definition: dlogitem.h:606
int newFontHeight
Definition: dlogitem.h:672
DialogItemQueueCommandArgs & DialogItemQueueCommandArgsR
Definition: dlogitem.h:1709
bool hookHandled
Definition: dlogitem.h:716
DialogItemUnobscuredArgs & DialogItemUnobscuredArgsR
Definition: dlogitem.h:1660
bool dragging
Definition: dlogitem.h:354
WCharP labelP
Definition: dlogitem.h:2761
Definition: MicroStation.r.h:734
WStringP popupMenuString
Definition: dlogitem.h:173
DialogItemAutoUpdateArgs autoUpdate
Definition: dlogitem.h:2035
struct UICriteria * UICriteriaP
Definition: dlogitem.h:38
DialogAnotherClosedArgs & DialogAnotherClosedArgsR
Definition: dlogitem.h:465
virtual bool _OnRedirect(DialogItemRedirectArgsR keystrokeRedirect)
Event method for DITEM_MESSAGE_REDIRECT.
Definition: dlogitem.h:2380
int mneIndex
Definition: dlogitem.h:2573
DialogMaximizeArgs maximize
Definition: dlogitem.h:919
void * itemDataP
Definition: dlogitem.h:1994
GuiDataObject * pDataObject
Definition: dlogitem.h:1452
DITEM_MESSAGE_WINDOWMOVING message arguments.
Definition: dlogitem.h:1891
DialogItemHandlerInfo * itemHandlerP
Definition: dlogitem.h:136
RscId GetItemId()
Gets the DialogItem's Id.
DialogItemSetNamedItemArgs setNamedItem
Definition: dlogitem.h:2064
virtual bool _OnMaximize(DialogMaximizeArgsR maximize)
Event method for DIALOG_MESSAGE_MAXIMIZE.
Definition: dlogitem.h:1068
DIALOG_MESSAGE_AUTOHIDESTATE message arguments.
Definition: dlogitem.h:484
DialogItemActivateArgs & DialogItemActivateArgsR
Definition: dlogitem.h:1357
WCharP rscOwnerTaskIdP
Definition: dlogitem.h:151
RawItemHdrP rightClickPopupMenu
Definition: dlogitem.h:165
RawItemHdrP rawItemP
Definition: dlogitem.h:2540
DialogItemHideArgs & DialogItemHideArgsR
Definition: dlogitem.h:1531
DialogMessageType messageType
Definition: dlogitem.h:887
virtual bool _OnInit(DialogInitArgsR init)
Event method for DIALOG_MESSAGE_INIT.
Definition: dlogitem.h:966
bool bFullRedraw
Definition: dlogitem.h:1232
OnGetState method arguments.
Definition: dlogitem.h:2092
MdlDescP handlerMD
Definition: dlogitem.h:70
bool isAccelerator
Definition: dlogitem.h:432
DialogItemFocusOutArgs focusOut
Definition: dlogitem.h:2042
int keystroke
Definition: dlogitem.h:429
UInt32 enableDisableCriteriaP
Definition: dlogitem.h:2607
DialogItemP parentDiP
Definition: dlogitem.h:1322
DItem_PulldownMenuItem * newMenuItemP
Definition: dlogitem.h:2745
bool hookHandled
Definition: dlogitem.h:2094
DialogItemObscuredArgs & DialogItemObscuredArgsR
Definition: dlogitem.h:1650
int iMaxChars
Definition: dlogitem.h:2576
virtual bool _Reserved3(void *)
Reserved for future events.
Definition: dlogitem.h:1126
virtual bool _OnDestroy(DialogDestroyArgsR destroy)
Event method for DIALOG_MESSAGE_DESTROY.
Definition: dlogitem.h:974
WStringP labelString
Definition: dlogitem.h:169
bool isAccelerator
Definition: dlogitem.h:702
int actionType
Definition: dlogitem.h:580
WCharCP commandTaskIdP
Definition: dlogitem.h:1725
virtual bool _OnSetNamedItem(DialogItemSetNamedItemArgsR setNamedItem)
Event method for DITEM_MESSAGE_SETNAMEDITEM.
Definition: dlogitem.h:2412
void(* PFDialogItemHook)(DialogItemMessageP)
Definition: dlogitem.h:48
Dialog Item Hook Handler.
Definition: dlogitem.h:2189
WStringP disabledBalloonString
Definition: dlogitem.h:172
int moveDirection
Definition: dlogitem.h:1549
DialogItemDropTargetArgs dropTarget
Definition: dlogitem.h:2039
void SetAuxInfo(void *data)
Sets the auxiliary information associated with the DialogItem.
DialogHookHandler(MSDialogP dbP)
Constructor for the base DialogHookHandler.
DITEM_MESSAGE_POPUPCLOSED message arguments.
Definition: dlogitem.h:1680
AutoHideState
Docking Auto Hide State.
Definition: dlogitem.h:298
int whichCorners
Definition: dlogitem.h:768
bool initFailed
Definition: dlogitem.h:1335
UICriteriaP showHideCriteriaP
Definition: dlogitem.h:2579
byte mark
Definition: dlogitem.h:2560
RscId synonymsId
Definition: dlogitem.h:107
virtual bool _OnAllCreated(DialogItemAllCreatedArgsR allCreated)
Event method for DITEM_MESSAGE_ALLCREATED.
Definition: dlogitem.h:2248
BSIRect oldContent
Definition: dlogitem.h:1895
GuiDropTargetMsg msgType
Definition: dlogitem.h:617
MSDialogP pulldownDb
Definition: dlogitem.h:2673
virtual bool _OnDropTarget(DialogItemDropTargetArgsR dropTarget)
Event method for DITEM_MESSAGE_DROPTARGET.
Definition: dlogitem.h:2288
UInt32 informNeutralNoMotion
Definition: dlogitem.h:80
WCharP formatStrP
Definition: dlogitem.h:1488
DialogItemFontChangedArgs fontChanged
Definition: dlogitem.h:2043
byte percentDone
Definition: dlogitem.h:1900
WCharP formatStrP
Definition: dlogitem.h:1384
virtual bool _OnHide(DialogHideArgsR hide)
Event method for DIALOG_MESSAGE_HIDE.
Definition: dlogitem.h:1049
unsigned short UShort
Definition: Bentley.r.h:133
MouseWheelEventData eventData
Definition: dlogitem.h:757
RawItemHdrP motionRiP
Definition: dlogitem.h:744
DialogItemStateChangingArgs & DialogItemStateChangingArgsR
Definition: dlogitem.h:1834
BSIRect newSizeRect
Definition: dlogitem.h:800
bool hookHandled
Definition: dlogitem.h:1548
bool msgUnderstood
Definition: dlogitem.h:2016
DialogItemMnemonic Structure.
Definition: dlogitem.h:1285
DialogItemInitArgs init
Definition: dlogitem.h:2031
DialogItemMoveArgs move
Definition: dlogitem.h:2050
FocusOutType focusOutType
Definition: dlogitem.h:636
struct PulldownMenuMessage::@186::@207 activateAccel
DITEM_MESSAGE_HIGHLIGHT message arguments.
Definition: dlogitem.h:1536
BSIRect newRect
Definition: dlogitem.h:786
virtual bool _OnResetPreButton(DialogItemButtonArgsR button)
Event method for DITEM_MESSAGE_RESETPREBUTTON.
Definition: dlogitem.h:2384
UInt32 preButtons
Definition: dlogitem.h:329
UInt32 helpType
Definition: dlogitem.h:2593
DITEM_MESSAGE_DRAW message arguments.
Definition: dlogitem.h:1421
bool hookHandled
Definition: dlogitem.h:1702
virtual bool _OnSetState(DialogItemSetStateArgsR setState)
Event method for DITEM_MESSAGE_SETSTATE.
Definition: dlogitem.h:2416
DialogActivateArgs activate
Definition: dlogitem.h:901
bool highlightOn
Definition: dlogitem.h:2685
Dialog Box Resource.
Definition: dlogbox.r.h:588
struct PulldownMenuMessage::@186::@190 setEnabled
Point2d labelPt
Definition: dlogitem.h:103
DITEM_MESSAGE_UNOBSCURED message arguments.
Definition: dlogitem.h:1655
UInt32 dialogMotions
Definition: dlogitem.h:341
Point2d localPt
Definition: dlogitem.h:1454
DIALOG_MESSAGE_RESTORED message arguments.
Definition: dlogitem.h:783
virtual bool _OnPopup(DialogItemPopupArgsR popup)
Event method for DITEM_MESSAGE_POPUP.
Definition: dlogitem.h:2356
GuiDropTargetMsg msgType
Definition: dlogitem.h:1451
UInt32 informDialogResized
Definition: dlogitem.h:74
virtual void _EventMonitor(DialogMessageP dmP)
Event monitor method for all events.
Definition: dlogitem.h:1130
DialogBeforeDestroyArgs beforeDestroy
Definition: dlogitem.h:897
bool hookHandled
Definition: dlogitem.h:1988
MdlDescP motionMD
Definition: dlogitem.h:1591
DialogFontChangedArgs fontChanged
Definition: dlogitem.h:916
bool linkMax
Definition: dlogitem.h:1965
UInt32 dialogFocuses
Definition: dlogitem.h:316
int actionType
Definition: dlogitem.h:415
bool cancelled
Definition: dlogitem.h:1885
DialogItemSynchronizeArgs & DialogItemSynchronizeArgsR
Definition: dlogitem.h:1844
HideReasonCode reasonCode
Definition: dlogitem.h:581
void Init()
Initializes members of a DItem_PulldownMenuItem.
Definition: dlogitem.h:2544
DockingState state
Definition: dlogitem.h:592
DialogItemSetLabelArgs setLabel
Definition: dlogitem.h:2063
FocusOutType focusOutType
Definition: dlogitem.h:1491
DialogItemHighlightArgs & DialogItemHighlightArgsR
Definition: dlogitem.h:1541
DialogChildDestroyedArgs childDestroyed
Definition: dlogitem.h:909
long percentComplete1
Definition: dlogitem.h:2934
DialogItemGetStateArgs(MSValueDescrR descr)
Constructor for DialogItemGetStateArgs.
Definition: dlogitem.h:2102
StateChangingType
StateChanging Types.
Definition: dlogitem.h:1188
virtual bool _Reserved1(void *)
Reserved for future events.
Definition: dlogitem.h:2447
DITEM_MESSAGE_SCREENCHANGE message arguments.
Definition: dlogitem.h:1743
bool hookHandled
Definition: dlogitem.h:1933
DITEM_MESSAGE_POPUPCREATED message arguments.
Definition: dlogitem.h:1690
bool handleChildren
Definition: dlogitem.h:1647
void * userDataP
Definition: dlogitem.h:100
unsigned char byte
Definition: Bentley.r.h:144
UInt32 informWindowMoving
Definition: dlogitem.h:82
UInt64 CommandNumber
Definition: DgnPlatformBaseType.r.h:76
DialogBeforeDestroyArgs & DialogBeforeDestroyArgsR
Definition: dlogitem.h:503
DialogItemJournalStateArgs(MSValueDescrCR descr)
Constructor for DialogItemJournalStateArgs.
Definition: dlogitem.h:2179
bool createFailed
Definition: dlogitem.h:1364
BSIColorDescr ** colorsPP
Definition: dlogitem.h:135
bool msgUnderstood
Definition: dlogitem.h:2635
struct PulldownMenuMessage::@186::@211 attachDb
int reserved
Definition: dlogitem.h:1528
virtual bool _OnDialogHide()
Event method for DITEM_MESSAGE_DIALOGHIDE.
Definition: dlogitem.h:2277
int offScreen
Definition: dlogitem.h:2823
GuiDragDropStatus
Drag & Drop status.
Definition: dlogitem.h:251
int qualifierMask
Definition: dlogitem.h:1720
int qualifierMask
Definition: dlogitem.h:1402
virtual bool _OnSynchronize()
Event method for DIALOG_MESSAGE_SYNCHRONIZE.
Definition: dlogitem.h:1103
int update
Definition: dlogitem.h:2933
DialogItemMnemonic * mnemonicsP
Definition: dlogitem.h:1949
bool clicked
Definition: dlogitem.h:1404
DialogUpdateArgs update
Definition: dlogitem.h:927
UInt32 informGuiChanged
Definition: dlogitem.h:77
bool wantCursorUpdate
Definition: dlogitem.h:623
virtual bool _OnPopupClosed(DialogItemPopupClosedArgsR popupClosed)
Event method for DITEM_MESSAGE_POPUPCLOSED.
Definition: dlogitem.h:2360
virtual bool _OnPopupCreated(DialogItemPopupCreatedArgsR popupCreated)
Event method for DITEM_MESSAGE_POPOUPCREATED.
Definition: dlogitem.h:2364
Inputq_element * iqelP
Definition: dlogitem.h:1560
FocusOutType focusOutType
Definition: dlogitem.h:657
DialogAttachArgs attach
Definition: dlogitem.h:904
DIALOG_MESSAGE_DROPTARGET message arguments.
Definition: dlogitem.h:615
WChar msgText1[256]
Definition: dlogitem.h:2936
int oldXPos
Definition: dlogitem.h:2840
int qualifierMask
Definition: dlogitem.h:699
uint64_t UInt64
Definition: Bentley.r.h:131
PFDialogItemHandler itemHandlerFunction
Definition: dlogitem.h:59
int tabIndex
Definition: dlogitem.h:1831
int nItems
Definition: dlogitem.h:2733
virtual bool _OnGetEditMenuInfo(DialogItemEditMenuInfoArgsR getEditMenuInfo)
Event method for DITEM_MESSAGE_GETEDITMENUINFO.
Definition: dlogitem.h:2292
MSValueDescrP currentValueP
Definition: dlogitem.h:1381
UShort commandSource
Definition: dlogitem.h:112
int startCol
Definition: dlogitem.h:1992
MdlDescP ownerMD
Definition: dlogitem.h:138
struct PulldownMenuMessage::@186::@195 getSubmenu
UInt32 submenu
Definition: dlogitem.h:2588
Point2d upPt
Definition: dlogitem.h:1979
virtual bool _Reserved3(void *)
Reserved for future events.
Definition: dlogitem.h:2451
int newScreenNum
Definition: dlogitem.h:1747
WCharP maxStrP
Definition: dlogitem.h:1386
DialogDestroyArgs destroy
Definition: dlogitem.h:898
DialogItemMoveArgs & DialogItemMoveArgsR
Definition: dlogitem.h:1620
int oldFontHeight
Definition: dlogitem.h:1506
void * rawMenuP
Definition: dlogitem.h:2626
EditMenuItemStatus
Edit Popup Menu Status.
Definition: dlogitem.h:1238
DITEM_MESSAGE_MOUSEWHEEL message arguments.
Definition: dlogitem.h:1603
BSIRect oldContent
Definition: dlogitem.h:865
DIALOG_MESSAGE_USER message arguments.
Definition: dlogitem.h:847
MdlDescP motionMD
Definition: dlogitem.h:535
AutoHideState state
Definition: dlogitem.h:486
Point2d pt
Definition: dlogitem.h:2627
bool enabled
Definition: dlogitem.h:2658
int actionType
Definition: dlogitem.h:569
virtual bool _OnUser(DialogUserArgsR user)
Event method for DIALOG_MESSAGE_USER.
Definition: dlogitem.h:1115
Point2d oldPoint
Definition: dlogitem.h:1588
struct PulldownMenuMessage::@186::@198 activateItem
DialogKeystrokeArgs keystroke
Definition: dlogitem.h:918
long dbPageNumber
Definition: dlogitem.h:155
virtual bool _OnPostSetExtent(DialogItemSetExtentArgsR setExtent)
Event method for DITEM_MESSAGE_POSTSETEXTENT.
Definition: dlogitem.h:2372
DialogItemUserArgs & DialogItemUserArgsR
Definition: dlogitem.h:1865
MSValueDescrP proposedValueP
Definition: dlogitem.h:1824
int newScreenNum
Definition: dlogitem.h:799
DIALOG_MESSAGE_INIT message arguments.
Definition: dlogitem.h:401
int nColorPs
Definition: dlogitem.h:134
struct PulldownMenuMessage::@186::@203 getNItems
struct colordescr const * BSIColorDescrCP
Definition: MicroStation.r.h:32
virtual bool _OnFocusIn(DialogItemFocusInArgsR focusIn)
Event method for DITEM_MESSAGE_FOCUSIN.
Definition: dlogitem.h:2296
DialogAnotherOpenedArgs & DialogAnotherOpenedArgsR
Definition: dlogitem.h:451
Inputq_element * iqelP
Definition: dlogitem.h:701
int itemIndex
Definition: dlogitem.h:531
bool enabled
Definition: dlogitem.h:1774
int StatusInt
Definition: Bentley.h:222
struct PulldownMenuMessage::@186::@206 displayHelp
CommandNumber commandNumber
Definition: dlogitem.h:2566
RscType dialogType
Definition: dlogitem.h:460
DIALOG_MESSAGE_STATECHANGED message arguments.
Definition: dlogitem.h:812
DialogHookHandlerP hookHandlerP
Definition: dlogitem.h:378
int newHeight
Definition: dlogitem.h:863
struct mdlDesc * MdlDescP
Definition: ConfigurationManager.h:13
Dialog Hook Handler.
Definition: dlogitem.h:936
bool before
Definition: dlogitem.h:1749
virtual bool _OnUser(DialogItemUserArgsR user)
Event method for DITEM_MESSAGE_USER.
Definition: dlogitem.h:2440
AdjustItem Structure - use in call to mdlDialog_itemsAdjust*.
Definition: dlogitem.h:1227
DialogItemMnemonic * mnemonicsP
Definition: dlogitem.h:2792
Dialog Message Structure.
Definition: dlogitem.h:884
CharCP accessStrP
Definition: dlogitem.h:2174
DialogItemRedirectArgs & DialogItemRedirectArgsR
Definition: dlogitem.h:1728
WChar name[32]
Definition: dlogitem.h:60
WCharCP labelP
Definition: dlogitem.h:1288
int scanCode
Definition: dlogitem.h:2788
UInt32 enabled
Definition: dlogitem.h:2590
UShort unused
Definition: dlogitem.h:116
int newHeight
Definition: dlogitem.h:729
int GetItemIndex()
Gets the DialogItem's index.
virtual bool _OnWindowMoving(DialogItemWindowMovingArgsR windowMoving)
Event method for DITEM_MESSAGE_WINDOWMOVING.
Definition: dlogitem.h:2444
CommandNumber commandNumber
Definition: dlogitem.h:140
RscFileHandle childRFileH
Definition: dlogitem.h:1324
bool stopDestroy
Definition: dlogitem.h:497
DIALOG_MESSAGE_CALCSIZE message arguments.
Definition: dlogitem.h:549
DialogRestoredArgs restored
Definition: dlogitem.h:923
int keystroke
Definition: dlogitem.h:1551
virtual bool _OnFocusOut(DialogFocusOutArgsR focusOut)
Event method for DIALOG_MESSAGE_FOCUSOUT.
Definition: dlogitem.h:1041
void * resourceDataP
Definition: dlogitem.h:1366
RawItemHdrP riP
Definition: dlogitem.h:659
DialogItemSynchronizeArgs synchronize
Definition: dlogitem.h:2067
UInt32 fwKeys
Mask of modifier keys MK_CONTROL, etc.
Definition: dlogitem.h:204
virtual bool _OnTitleChanged(DialogTitleChangedArgsR titleChanged)
Event method for DIALOG_MESSAGE_TITLECHANGED.
Definition: dlogitem.h:1107
UInt32 undocking
Definition: dlogitem.h:335
Definition: MicroStation.r.h:422
UInt32 canKeepMouse
Definition: dlogitem.h:76
int type
Definition: dlogitem.h:849
RawItemHdrP rawItemP
Definition: dlogitem.h:1976
bool valueChanged
Definition: dlogitem.h:1884
Track Bar Processing Information.
Definition: dlogitem.h:2931
Utf8Char const * Utf8CP
Definition: Bentley.h:229
DialogItemDropSourceArgs dropSource
Definition: dlogitem.h:2038
virtual bool _OnStateChanged(DialogStateChangedArgsR stateChanged)
Event method for DIALOG_MESSAGE_STATECHANGED.
Definition: dlogitem.h:1100
bool hookHandled
Definition: dlogitem.h:651
DialogActionButtonArgs actionButton
Definition: dlogitem.h:900
bool cancelled
Definition: dlogitem.h:2137
IconCmdSelectType
IconCmd selection types.
Definition: dlogitem.h:2496
DialogMaximizeArgs & DialogMaximizeArgsR
Definition: dlogitem.h:720
bool hookHandled
Definition: dlogitem.h:785
DialogResizeArgs & DialogResizeArgsR
Definition: dlogitem.h:777
#define USING_NAMESPACE_BENTLEY_MSTNPLATFORM
Definition: DgnPlatform.h:31
virtual bool _OnRestored(DialogRestoredArgsR restored)
Event method for DIALOG_MESSAGE_RESTORED.
Definition: dlogitem.h:1088
char const * CharCP
Definition: Bentley.h:226
virtual bool _Reserved1(void *)
Reserved for future events.
Definition: dlogitem.h:1122
long percentComplete2
Definition: dlogitem.h:2935
DialogBeforeUndockArgs & DialogBeforeUndockArgsR
Definition: dlogitem.h:514
Inputq_element * iqelP
Definition: dlogitem.h:1721
UInt32 helpInfo
Definition: dlogitem.h:2561
OnJournalState method arguments.
Definition: dlogitem.h:2169
int buttonTrans
Definition: dlogitem.h:1401
GuiDataObject * pDataObject
Definition: dlogitem.h:1436
Point2d localPt
Definition: dlogitem.h:620
struct PulldownMenuMessage::@186::@199 searchMenuForMenu
int bottomRow
Definition: dlogitem.h:1763
int * currentItemP
Definition: dlogitem.h:2625
DialogButtonArgs & DialogButtonArgsR
Definition: dlogitem.h:542
UInt32 fontChanges
Definition: dlogitem.h:322
DITEM_MESSAGE_SYNCHRONIZE message arguments.
Definition: dlogitem.h:1839
int newYPos
Definition: dlogitem.h:2839
void * appData2P
Definition: dlogitem.h:158
virtual bool _OnActivate(DialogItemActivateArgsR activate)
Event method for DITEM_MESSAGE_ACTIVATE.
Definition: dlogitem.h:2256
MotionTransType
CursorMotion Transition types: used in u.motion.motionTrans.
Definition: dlogitem.h:229
virtual bool _OnAttach()
Event method for DITEM_MESSAGE_ATTACH.
Definition: dlogitem.h:2259
WCharCP oldTitle
Definition: dlogitem.h:827
MSDialogP popupDbP
Definition: dlogitem.h:1692
UInt32 minimizes
Definition: dlogitem.h:326
TextAutoUpdateSpeed
Text AutoUpdate Speed.
Definition: dlogitem.h:2884
virtual bool _OnKeystroke(DialogKeystrokeArgsR keystroke)
Event method for DIALOG_MESSAGE_KEYSTROKE.
Definition: dlogitem.h:1061
Definition: Bentley.h:210
DialogItemHandlerLoadedArgs handlerLoaded
Definition: dlogitem.h:2078
int numUpdateRects
Definition: dlogitem.h:773
RawItemHdrP labelRiP
Definition: dlogitem.h:1963
DialogScreenChangeArgs & DialogScreenChangeArgsR
Definition: dlogitem.h:806
bool disallow
Definition: dlogitem.h:1379
virtual bool _OnSetLabel(DialogItemSetLabelArgsR setLabel)
Event method for DITEM_MESSAGE_SETLABEL.
Definition: dlogitem.h:2408
int buttonTrans
Definition: dlogitem.h:525
DialogItemUserArgs user
Definition: dlogitem.h:2069
struct PulldownMenuMessage::@186::@216 searchMenuForAccel
virtual bool _OnReloadData(DialogItemReloadDataArgsR reloadData)
Event method for DITEM_MESSAGE_RELOADDATA.
Definition: dlogitem.h:2388
Pulldown Menu Item.
Definition: dlogitem.h:2537
DialogInitArgs & DialogInitArgsR
Definition: dlogitem.h:406
DialogItemSetLabelArgs & DialogItemSetLabelArgsR
Definition: dlogitem.h:1799
UInt32 showHideCriteriaP
Definition: dlogitem.h:2608
DialogItemWindowMovingArgs & DialogItemWindowMovingArgsR
Definition: dlogitem.h:1904
DIALOG_MESSAGE_ANOTHEROPENED message arguments.
Definition: dlogitem.h:444
GuiDropSourceMsg msgType
Definition: dlogitem.h:1435
bool disallow
Definition: dlogitem.h:803
virtual bool _Reserved2(void *)
Reserved for future events.
Definition: dlogitem.h:1124
struct PulldownMenuMessage::@186::@215 getOwnerMD
WStringP flyoverString
Definition: dlogitem.h:170
MSDialogP GetDialog()
Gets the MSDialog with which the hook is associated.
DialogItemGetValueArgs(MSValueDescrR descr)
Constructor for DialogItemGetValueArgs.
Definition: dlogitem.h:2119
int rawKeystroke
Definition: dlogitem.h:1552
CharCP accessStrP
Definition: dlogitem.h:2134
DialogMotionArgs & DialogMotionArgsR
Definition: dlogitem.h:749
bool disallow
Definition: dlogitem.h:1751
Scale Item Motion Function Arguments.
Definition: dlogitem.h:2866
DItem_PulldownMenu * menuP
Definition: dlogitem.h:2541
RawItemHdrP rawItemP
Definition: dlogitem.h:1990
virtual bool _OnAutoUpdate(DialogItemAutoUpdateArgsR autoUpdate)
Event method for DITEM_MESSAGE_AUTOUPDATE.
Definition: dlogitem.h:2263
Point2d pt
Definition: dlogitem.h:530
UShort focusOutSetState
Definition: dlogitem.h:111
virtual bool _OnSetExtent(DialogItemSetExtentArgsR setExtent)
Event method for DITEM_MESSAGE_SETEXTENT.
Definition: dlogitem.h:2404
EditMenuItemStatus redoStatus
Definition: dlogitem.h:1251
bool hookHandled
Definition: dlogitem.h:839
bool hookHandled
Definition: dlogitem.h:474
UInt32 labelP
Definition: dlogitem.h:2601
int itemIndex
Definition: dlogitem.h:656
UInt32 mark
Definition: dlogitem.h:2591
RawItemHdrP nextFocusRiP
Definition: dlogitem.h:654
bool hookHandled
Definition: dlogitem.h:1750
UInt32 buttonTime
Definition: dlogitem.h:529
GuiLayoutControlP layoutControlP
Definition: dlogitem.h:178
StateChangingType changeType
Definition: dlogitem.h:1819
void(* motionFunc)()
Definition: dlogitem.h:1590
RscId dialogId
Definition: dlogitem.h:889
BSIRect sliderRect
Definition: dlogitem.h:2869
int oldFontHeight
Definition: dlogitem.h:557
virtual bool _OnStateChanging(DialogItemStateChangingArgsR stateChanging)
Event method for DITEM_MESSAGE_STATECHANGING.
Definition: dlogitem.h:2428
RawItemHdrP originalParent
Definition: dlogitem.h:163
Definition: UICriteria.h:21
DIALOG_MESSAGE_ACTIVATE message arguments.
Definition: dlogitem.h:423
DialogItemEditMenuInfoArgs getEditMenuInfo
Definition: dlogitem.h:2040
CommandNumber commandNumber
Definition: dlogitem.h:1705
RawItemHdrP riP
Definition: dlogitem.h:816
bool hookHandled
Definition: dlogitem.h:1377
struct PulldownMenuMessage::@186::@217 iconInfo
RscId menuId
Definition: dlogitem.h:2714
DITEM_MESSAGE_MOTION message arguments.
Definition: dlogitem.h:1583
virtual void _EventMonitor(DialogItemMessageP dimP)
Event monitor method for all events.
Definition: dlogitem.h:2455
UInt32 couldSetState
Definition: dlogitem.h:1346
UInt32 updates
Definition: dlogitem.h:313
UInt32 itemFocuses
Definition: dlogitem.h:317
ViewIconSize
View icon size flags.
Definition: dlogitem.h:2486
Inputq_element * iqelP
Definition: dlogitem.h:532
DialogActivateArgs & DialogActivateArgsR
Definition: dlogitem.h:438
bool handleChildren
Definition: dlogitem.h:1657
DialogItemP diP
Definition: dlogitem.h:127
RscId dialogId
Definition: dlogitem.h:461
bool hookHandled
Definition: dlogitem.h:1874
WCharCP commandTaskIdP
Definition: dlogitem.h:1557
struct colordescr BSIColorDescr
Definition: MicroStation.r.h:30
int parentItemIndex
Definition: dlogitem.h:2647
virtual bool _OnChildDestroyed(DialogChildDestroyedArgsR childDestroyed)
Event method for DIALOG_MESSAGE_CHILDDESTROYED.
Definition: dlogitem.h:1015
int newWidth
Definition: dlogitem.h:552
long searchId
Definition: dlogitem.h:2539
bool bDestroyAfter
Definition: dlogitem.h:1493
bool valueChanged
Definition: dlogitem.h:2155
virtual bool _OnScreenChange(DialogItemScreenChangeArgsR screenChange)
Event method for DITEM_MESSAGE_SCREENCHANGE.
Definition: dlogitem.h:2392
int startRow
Definition: dlogitem.h:1977
int topRow
Definition: dlogitem.h:1761
int qualifierMask
Definition: dlogitem.h:1559
struct mdlDesc MdlDesc
Definition: DgnTool.h:18
DITEM_MESSAGE_DROPFROM message arguments.
Definition: dlogitem.h:1972
union DialogMessage::@184 u
int buttonNumber
Definition: dlogitem.h:524
CharCP accessStrP
Definition: dlogitem.h:2097
CommandNumber commandNumber
Definition: dlogitem.h:433
int32_t RscId
Definition: ecimagekey.h:16
Point2d newPoint
Definition: dlogitem.h:742
UInt32 helpType
Definition: dlogitem.h:2562
virtual bool _OnButton(DialogButtonArgsR button)
Event method for DIALOG_MESSAGE_BUTTON.
Definition: dlogitem.h:1007
DialogFontChangedArgs & DialogFontChangedArgsR
Definition: dlogitem.h:676
UInt32 mouseWheels
Definition: dlogitem.h:340
int oldTopRow
Definition: dlogitem.h:1762
bool hookHandled
Definition: dlogitem.h:802
virtual bool _OnJournalState(DialogItemJournalStateArgsR journalState)
Event method for DITEM_MESSAGE_JOURNALSTATE.
Definition: dlogitem.h:2324
bool msgUnderstood
Definition: dlogitem.h:886
bool userRequested
Definition: dlogitem.h:498
Definition: dlogitem.h:2529
virtual bool _OnDropTarget(DialogDropTargetArgsR dropTarget)
Event method for DIALOG_MESSAGE_DROPTARGET.
Definition: dlogitem.h:1033
DialogItemCleanUpArgs cleanUp
Definition: dlogitem.h:2076
BSIRectCP rectP
Definition: dlogitem.h:1916
UInt32 accelerator
Definition: dlogitem.h:2571
DialogItemStartDragArgs startDrag
Definition: dlogitem.h:2084
DITEM_MESSAGE_GETMNEMONICS message arguments.
Definition: dlogitem.h:1947
DIALOG_MESSAGE_RESIZE message arguments.
Definition: dlogitem.h:766
virtual bool _OnDropSource(DialogItemDropSourceArgsR dropSource)
Event method for DITEM_MESSAGE_DROPSOURCE.
Definition: dlogitem.h:2284
int itemIndex
Definition: dlogitem.h:2677
bool bEraseItem
Definition: dlogitem.h:1231
int newFontHeight
Definition: dlogitem.h:1505
EditMenuItemStatus deleteStatus
Definition: dlogitem.h:1255
struct PulldownMenuMessage::@186::@202 getItem
BSIRect oldGlobal
Definition: dlogitem.h:1894
CommandNumber commandNumber
Definition: dlogitem.h:703
MSValueDescrP msValueDescrP
Definition: dlogitem.h:1486
int subItemIndex
Definition: dlogitem.h:1704
BSIRectP rectP
Definition: dlogitem.h:2652
UInt32 keystrokes
Definition: dlogitem.h:315
DIALOG_MESSAGE_KEYSTROKE message arguments.
Definition: dlogitem.h:692
RscType menuType
Definition: dlogitem.h:2713
int column
Definition: dlogitem.h:1828
Point2d newPoint
Definition: dlogitem.h:1587
int iCol
Definition: dlogitem.h:1460
DialogItemStateChangedArgs stateChanged
Definition: dlogitem.h:2065
int originalButtonNumber
Definition: dlogitem.h:539
virtual bool _OnButton(DialogItemButtonArgsR button)
Event method for DITEM_MESSAGE_BUTTON.
Definition: dlogitem.h:2267
int labelFontIndex
Definition: dlogitem.h:164
bool valueChanged
Definition: dlogitem.h:2136
struct PulldownMenuMessage::@186::@189 title
GuiDropTargetMsg
Drag & Drop - Drop Target Message.
Definition: dlogitem.h:275
MSDialog is the base class for Microstation/PowerPlatform desktop-based dialog boxes and view windows...
Definition: MSDialog.h:22
DITEM_MESSAGE_AUTOUPDATE message arguments.
Definition: dlogitem.h:1375
DialogHookResolveArgs & DialogHookResolveArgsR
Definition: dlogitem.h:381
DialogItemShowHelpArgs showHelp
Definition: dlogitem.h:2079
DIALOG_MESSAGE_MAXIMIZE message arguments.
Definition: dlogitem.h:714
DialogDropTargetArgs dropTarget
Definition: dlogitem.h:912
int itemIndex
Definition: dlogitem.h:700
int upNumber
Definition: dlogitem.h:527
int messageType
Definition: dlogitem.h:2017
MSDialogP nextFocusDbP
Definition: dlogitem.h:660
virtual bool _OnCreate(DialogItemCreateArgsR create)
Event method for DITEM_MESSAGE_CREATE.
Definition: dlogitem.h:2240
UInt32 dwKeyState
Definition: dlogitem.h:619
bool hookHandled
Definition: dlogitem.h:537
UInt32 guiDropEffect
Definition: dlogitem.h:1439
virtual bool _OnLayout(DialogItemLayoutArgsR layout)
Event method for DITEM_MESSAGE_LAYOUT.
Definition: dlogitem.h:2332
Inputq_element * iqelP
Definition: dlogitem.h:1407
DialogItemP GetDialogItem()
Gets the DialogItem with which the hook is associated.
RawItemHdrP previousRiP
Definition: dlogitem.h:1634
DItem_PulldownMenu * pMenu
Definition: dlogitem.h:1516
DITEM_MESSAGE_CHILDDRAWBG message arguments.
Definition: dlogitem.h:1913
Dialog Hook Interests - Sent in the DialogCreateArgs for the DIALOG_MESSAGE_CREATE message...
Definition: dlogitem.h:311
DITEM_MESSAGE_FONTCHANGED message arguments.
Definition: dlogitem.h:1501
StatusInt CallHandlerMethod(DialogItemMessageP dimP)
Called by the Dialog Manager to dispatch the calls to the virtual event methods.
virtual bool _OnItemFocusOut(DialogFocusOutArgsR focusOut)
Event method for DIALOG_MESSAGE_ITEMFOCUSOUT.
Definition: dlogitem.h:1057
Point2d pt
Definition: dlogitem.h:1628
Definition: dlogitem.h:1263
bool linkFailed
Definition: dlogitem.h:1961
int nextFocusItemIndex
Definition: dlogitem.h:653
DITEM_MESSAGE_SCROLLING message arguments.
Definition: dlogitem.h:1759
UInt32 attaches
Definition: dlogitem.h:337
bool createFailed
Definition: dlogitem.h:389
void * GetAuxInfo()
Gets the auxiliary information associated with the DialogItem.
void ** userDataPP
Definition: dlogitem.h:391
DIALOG_MESSAGE_MOTION message arguments.
Definition: dlogitem.h:738
UShort highlightOn
Definition: dlogitem.h:109
GuiLayoutPropertiesP layoutPropertiesP
Definition: dlogitem.h:179
int newWidth
Definition: dlogitem.h:862
CharP accessStrP
Definition: dlogitem.h:101
UInt32 resizes
Definition: dlogitem.h:319
DITEM_MESSAGE_SHOWHELP message arguments.
Definition: dlogitem.h:1931
WCharP minStrP
Definition: dlogitem.h:1385
bool reallyChanged
Definition: dlogitem.h:815
int itemIndex
Definition: dlogitem.h:2021
DITEM_MESSAGE_SETNAMEDITEM message arguments.
Definition: dlogitem.h:1804
bool dontDisplayAlert
Definition: dlogitem.h:1314
DialogDockedExtentArgs & DialogDockedExtentArgsR
Definition: dlogitem.h:609
struct PulldownMenuMessage::@186::@209 getParent
OnGetValue method arguments.
Definition: dlogitem.h:2112
bool before
Definition: dlogitem.h:801
bool hookHandled
Definition: dlogitem.h:2857
bool setMotionFunc
Definition: dlogitem.h:1411
struct PulldownMenuMessage::@186::@188 rect
UInt32 pulldownItemHookId
Definition: dlogitem.h:2595
DITEM_MESSAGE_LAYOUT message arguments.
Definition: dlogitem.h:1569
DITEM_MESSAGE_FOCUSIN message arguments.
Definition: dlogitem.h:1468
MSValueDescrCR msValueDescr
Definition: dlogitem.h:2173
DialogWindowMovingArgs windowMoving
Definition: dlogitem.h:929
RawItemHdrP buttonRiP
Definition: dlogitem.h:536
UInt32 windowMoving
Definition: dlogitem.h:333
int keystroke
Definition: dlogitem.h:1718
DialogItemAutoUpdateArgs & DialogItemAutoUpdateArgsR
Definition: dlogitem.h:1389
DialogStateChangedArgs stateChanged
Definition: dlogitem.h:925
EditMenuItemStatus undoStatus
Definition: dlogitem.h:1250
virtual bool _OnItemFocusIn(DialogFocusInArgsR focusIn)
Event method for DIALOG_MESSAGE_ITEMFOCUSIN.
Definition: dlogitem.h:1053
HideReasonCode reason
Definition: dlogitem.h:684
EditMenuItemStatus cutStatus
Definition: dlogitem.h:1252
int originalButtonNumber
Definition: dlogitem.h:1413
WCharP maxStrP
Definition: dlogitem.h:1490
MSValueDescrCR msValueDescr
Definition: dlogitem.h:2133
UInt32 helpTaskIdP
Definition: dlogitem.h:2594
int moveDirection
Definition: dlogitem.h:658
union DialogItemMessage::@185 u
virtual bool _OnDialogShow()
Event method for DITEM_MESSAGE_DIALOGSHOW.
Definition: dlogitem.h:2280
DialogItemDrawArgs & DialogItemDrawArgsR
Definition: dlogitem.h:1428
DialogCreateArgs create
Definition: dlogitem.h:895
DialogItemPopupCreatedArgs popupCreated
Definition: dlogitem.h:2055
bool outOfRange
Definition: dlogitem.h:650
RawItemHdrP childRiP
Definition: dlogitem.h:1915
DialogItemPopupArgs popup
Definition: dlogitem.h:2053
DialogHideArgs hide
Definition: dlogitem.h:917
bool highlightAllowed
Definition: dlogitem.h:2780

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