At the moment there are two Calculator modules, one for Windows 10 and another for Windows 11. So far the biggest difference is UIA tree - in Windows 11 (calculatorapp.exe), one must descend one more level when fetching results element. Combined with massive restructuring of UIA notification event handler, it makes sense to reorganize these app modules as follows:
Windows 10 Calculator will serve as the base of Windows 11 Calculator as before with an addition of version check.
Windows 11 Calculator will be a stub app module, essentially an alias of Windows 10 Calculator.
The biggest benefit is that only the base Calculator app module (Windows 10) needs to be edited to support Windows 11 unless substantial features are added to Windows 11 version that makes the current approach unworkable (such as notification activity Id changes).
Hi,
Work in progress:
At the moment there are two Calculator modules, one for Windows 10 and another for Windows 11. So far the biggest difference is UIA tree - in Windows 11 (calculatorapp.exe), one must descend one more level when fetching results element. Combined with massive restructuring of UIA notification event handler, it makes sense to reorganize these app modules as follows:
The biggest benefit is that only the base Calculator app module (Windows 10) needs to be edited to support Windows 11 unless substantial features are added to Windows 11 version that makes the current approach unworkable (such as notification activity Id changes).
Thanks.