aboutsummaryrefslogtreecommitdiff
path: root/src/libs/dutil/WixToolset.DUtil/inc/thmutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/thmutil.h')
-rw-r--r--src/libs/dutil/WixToolset.DUtil/inc/thmutil.h25
1 files changed, 22 insertions, 3 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/thmutil.h b/src/libs/dutil/WixToolset.DUtil/inc/thmutil.h
index 8cf7dc92..45e4fc51 100644
--- a/src/libs/dutil/WixToolset.DUtil/inc/thmutil.h
+++ b/src/libs/dutil/WixToolset.DUtil/inc/thmutil.h
@@ -57,6 +57,20 @@ typedef enum THEME_CONTROL_DATA
57 THEME_CONTROL_DATA_HOVER = 1, 57 THEME_CONTROL_DATA_HOVER = 1,
58} THEME_CONTROL_DATA; 58} THEME_CONTROL_DATA;
59 59
60typedef enum THEME_CONTROL_AUTOMATIC_BEHAVIOR_TYPE
61{
62 THEME_CONTROL_AUTOMATIC_BEHAVIOR_ALL = 0x0,
63 THEME_CONTROL_AUTOMATIC_BEHAVIOR_EXCLUDE_ENABLED = 0x1,
64 THEME_CONTROL_AUTOMATIC_BEHAVIOR_EXCLUDE_VISIBLE = 0x2,
65 THEME_CONTROL_AUTOMATIC_BEHAVIOR_EXCLUDE_ACTION = 0x4,
66 // For form controls like editboxes and checkboxes,
67 // the value will not be automatically persisted to a variable and
68 // the control's value will only be changed by the user.
69 THEME_CONTROL_AUTOMATIC_BEHAVIOR_EXCLUDE_VALUE = 0x8,
70 // This has no effect on editboxes since their text is their value.
71 THEME_CONTROL_AUTOMATIC_BEHAVIOR_EXCLUDE_TEXT = 0x10,
72} THEME_CONTROL_AUTOMATIC_BEHAVIOR_TYPE;
73
60typedef enum THEME_CONTROL_TYPE 74typedef enum THEME_CONTROL_TYPE
61{ 75{
62 THEME_CONTROL_TYPE_UNKNOWN, 76 THEME_CONTROL_TYPE_UNKNOWN,
@@ -196,7 +210,7 @@ struct THEME_ASSIGN_CONTROL_ID
196 WORD wId; // id to apply to control 210 WORD wId; // id to apply to control
197 LPCWSTR wzName; // name of control to match 211 LPCWSTR wzName; // name of control to match
198 const THEME_CONTROL** ppControl; 212 const THEME_CONTROL** ppControl;
199 BOOL fDisableAutomaticFunctionality; // prevent declarative functionality from interfering with the application's imperative code 213 DWORD dwAutomaticBehaviorType; // prevent declarative functionality from interfering with the application's imperative code
200}; 214};
201 215
202const WORD THEME_FIRST_ASSIGN_CONTROL_ID = 0x4000; // Recommended first control id to be assigned. 216const WORD THEME_FIRST_ASSIGN_CONTROL_ID = 0x4000; // Recommended first control id to be assigned.
@@ -224,7 +238,12 @@ typedef struct _THEME_CONTROL
224 238
225 LPWSTR sczEnableCondition; 239 LPWSTR sczEnableCondition;
226 LPWSTR sczVisibleCondition; 240 LPWSTR sczVisibleCondition;
227 BOOL fDisableAutomaticFunctionality; 241
242 BOOL fAutomaticEnabled;
243 BOOL fAutomaticVisible;
244 BOOL fAutomaticAction;
245 BOOL fAutomaticValue;
246 BOOL fAutomaticText;
228 247
229 union 248 union
230 { 249 {
@@ -472,7 +491,7 @@ typedef struct _THEME_LOADINGCONTROL_RESULTS
472 // Due to this value being packed into 16 bits for many system window messages, this is restricted to a WORD. 491 // Due to this value being packed into 16 bits for many system window messages, this is restricted to a WORD.
473 WORD wId; 492 WORD wId;
474 // Used to prevent declarative functionality from interfering with the application's imperative code. 493 // Used to prevent declarative functionality from interfering with the application's imperative code.
475 BOOL fDisableAutomaticFunctionality; 494 DWORD dwAutomaticBehaviorType;
476} THEME_LOADINGCONTROL_RESULTS; 495} THEME_LOADINGCONTROL_RESULTS;
477 496
478 497