Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Diff of /ooDialog/trunk/ooDialog/ooDialog.hpp [r8554] .. [r8555] Maximize Restore

  Switch to side-by-side view

--- a/ooDialog/trunk/ooDialog/ooDialog.hpp
+++ b/ooDialog/trunk/ooDialog/ooDialog.hpp
@@ -178,6 +178,11 @@
 #define TAG_CD_TOOLTIP            0x00001000
 #define TAG_CD_TRACKBAR           0x00002000
 #define TAG_CD_TREEVIEW           0x00004000
+// When combined with the CTRL flag of a dialog control, (nothing else,)
+// indicates the event handler should be invoked exactly the same as in old
+// ooDialog (pre 4.2.0.)
+#define TAG_PRESERVE_OLD          0x00100000
  * The last byte is for, well 'extra' information.  Use TAG_EXTRAMASK to
@@ -746,6 +751,20 @@
 typedef SubClassData *pSubClassData;
+// A specific structure used for subclassing controls to use with the tool tip
+// relay event.
+typedef struct _relayEventData {
+    pCPlainBaseDialog   pcpbd;           // The Rexx owner dialog CSelf
+    pCDialogControl     pcdc;            // The Rexx control dialog CSelf
+    HWND                hCtrl;           // Window handle of subclassed control.
+    HWND                hToolTip;        // Window handle of tool tip
+    RexxObjectPtr       rxToolTip;
+    char               *method;          // Rexx method to invoke
+    uint32_t            id;              // Resource ID of subclassed control.
+} RelayEventData;
+typedef RelayEventData *pRelayEventData;
 /* Struct for the DynamicDialog object CSelf. */
 typedef struct _ddCSelf {
     pCPlainBaseDialog  pcpbd;