diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-10-27 15:29:19 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-11-01 16:34:09 -0500 |
| commit | dce1c97c7d3e76c18e4f80d4ffe288d2933a74bc (patch) | |
| tree | 68dc0653ee1a6fe962d82dac2159c8ab00a95808 /src/api/burn/balutil/inc/BalBaseBAFunctionsProc.h | |
| parent | bad2e93524f376cfeb76d5231d4b08510bdad033 (diff) | |
| download | wix-dce1c97c7d3e76c18e4f80d4ffe288d2933a74bc.tar.gz wix-dce1c97c7d3e76c18e4f80d4ffe288d2933a74bc.tar.bz2 wix-dce1c97c7d3e76c18e4f80d4ffe288d2933a74bc.zip | |
Make thmutil automatically load controls during window creation.
Add control loaded event.
Diffstat (limited to 'src/api/burn/balutil/inc/BalBaseBAFunctionsProc.h')
| -rw-r--r-- | src/api/burn/balutil/inc/BalBaseBAFunctionsProc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/api/burn/balutil/inc/BalBaseBAFunctionsProc.h b/src/api/burn/balutil/inc/BalBaseBAFunctionsProc.h index 1d51c5b6..2af231e8 100644 --- a/src/api/burn/balutil/inc/BalBaseBAFunctionsProc.h +++ b/src/api/burn/balutil/inc/BalBaseBAFunctionsProc.h | |||
| @@ -51,6 +51,15 @@ static HRESULT BalBaseBAFunctionsProcOnThemeControlWmNotify( | |||
| 51 | return pBAFunctions->OnThemeControlWmNotify(pArgs->lParam, pArgs->wzName, pArgs->wId, pArgs->hWnd, &pResults->fProcessed, &pResults->lResult); | 51 | return pBAFunctions->OnThemeControlWmNotify(pArgs->lParam, pArgs->wzName, pArgs->wId, pArgs->hWnd, &pResults->fProcessed, &pResults->lResult); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | static HRESULT BalBaseBAFunctionsProcOnThemeControlLoaded( | ||
| 55 | __in IBAFunctions* pBAFunctions, | ||
| 56 | __in BA_FUNCTIONS_ONTHEMECONTROLLOADED_ARGS* pArgs, | ||
| 57 | __inout BA_FUNCTIONS_ONTHEMECONTROLLOADED_RESULTS* pResults | ||
| 58 | ) | ||
| 59 | { | ||
| 60 | return pBAFunctions->OnThemeControlLoaded(pArgs->wzName, pArgs->wId, pArgs->hWnd, &pResults->fProcessed); | ||
| 61 | } | ||
| 62 | |||
| 54 | /******************************************************************* | 63 | /******************************************************************* |
| 55 | BalBaseBAFunctionsProc - requires pvContext to be of type IBAFunctions. | 64 | BalBaseBAFunctionsProc - requires pvContext to be of type IBAFunctions. |
| 56 | Provides a default mapping between the message based BAFunctions interface and | 65 | Provides a default mapping between the message based BAFunctions interface and |
| @@ -161,6 +170,9 @@ static HRESULT WINAPI BalBaseBAFunctionsProc( | |||
| 161 | case BA_FUNCTIONS_MESSAGE_ONTHEMECONTROLWMNOTIFY: | 170 | case BA_FUNCTIONS_MESSAGE_ONTHEMECONTROLWMNOTIFY: |
| 162 | hr = BalBaseBAFunctionsProcOnThemeControlWmNotify(pBAFunctions, reinterpret_cast<BA_FUNCTIONS_ONTHEMECONTROLWMNOTIFY_ARGS*>(pvArgs), reinterpret_cast<BA_FUNCTIONS_ONTHEMECONTROLWMNOTIFY_RESULTS*>(pvResults)); | 171 | hr = BalBaseBAFunctionsProcOnThemeControlWmNotify(pBAFunctions, reinterpret_cast<BA_FUNCTIONS_ONTHEMECONTROLWMNOTIFY_ARGS*>(pvArgs), reinterpret_cast<BA_FUNCTIONS_ONTHEMECONTROLWMNOTIFY_RESULTS*>(pvResults)); |
| 163 | break; | 172 | break; |
| 173 | case BA_FUNCTIONS_MESSAGE_ONTHEMECONTROLLOADED: | ||
| 174 | hr = BalBaseBAFunctionsProcOnThemeControlLoaded(pBAFunctions, reinterpret_cast<BA_FUNCTIONS_ONTHEMECONTROLLOADED_ARGS*>(pvArgs), reinterpret_cast<BA_FUNCTIONS_ONTHEMECONTROLLOADED_RESULTS*>(pvResults)); | ||
| 175 | break; | ||
| 164 | } | 176 | } |
| 165 | } | 177 | } |
| 166 | 178 | ||
