# Microsoft’s Xaml Islands used in a Clarion app. This allows “modern” UWP Windows controls to be used in a Win32 app

**URL:** <https://clarionhub.com/t/microsoft-s-xaml-islands-used-in-a-clarion-app-this-allows-modern-uwp-windows-controls-to-be-used-in-a-win32-app/4676>\
**Category:** Customization\
**Created:** [December 10, 2021, 6:53pm UTC](https://clarionhub.com/t/microsoft-s-xaml-islands-used-in-a-clarion-app-this-allows-modern-uwp-windows-controls-to-be-used-in-a-win32-app/4676 "2021-12-10T18:53:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DD66](https://clarionhub.com/user_avatar/clarionhub.com/dd66/32/3053_2.png) [@DD66](https://clarionhub.com/u/DD66)\
**Post date:** [December 10, 2021, 6:53pm UTC](https://clarionhub.com/t/microsoft-s-xaml-islands-used-in-a-clarion-app-this-allows-modern-uwp-windows-controls-to-be-used-in-a-win32-app/4676/1 "2021-12-10T18:53:05Z")

</div>

Don said : 'Dries Dreason demonstrated that Microsoft’s Xaml Islands can be used in a Clarion app. This allows “modern” UWP Windows controls to be used in a Win32 app.And speaking of Win32, which is Clarion’s playground, Microsoft has re-invested heavily in Win32 with Project Reunion, WinUI 3, and Xaml Islands. Microsoft has said that Win32 is very much a priority as it still dominates the market.'My question is Does somebody uses that in Clarion 10 ?Yes, I understand the whole concept of this Microsoft story. In C++, C#, winforms can that all be done very easy and natively. However, in vain I tried to write clarion instructions, I did not manage that in Clarion. Probably, Clarion needs some template, CLW & INC, or not? In my opinion this Microsoft thing is more useful than easyhtml ect. , and as well it is a open source concept… If you have any suggestions you would like to share, thanks as well.

---

<div class="post-metadata">

**Author:** ![Bruce](https://clarionhub.com/letter_avatar_proxy/v4/letter/b/ccd318/32.png) [@Bruce](https://clarionhub.com/u/Bruce)\
**Post date:** [December 12, 2021, 7:33am UTC](https://clarionhub.com/t/microsoft-s-xaml-islands-used-in-a-clarion-app-this-allows-modern-uwp-windows-controls-to-be-used-in-a-win32-app/4676/2 "2021-12-12T07:33:36Z")

</div>

Dries’s talk “Using XAML in a Clarion Application” was presented at CIDC 2019.  
If you are a registered attendee then you can review the presentation, and materials, on the presentations page (after logging in.)  
[https://www.cidc2019.com/Presentations](https://www.cidc2019.com/Presentations)

If you are not an attendee, but you want to see the session, then you can still purchase on online registration via ClarionShop for $295.  
[https://www.clarionshop.com/checkout.cfm?pid=1641&q=1&](https://www.clarionshop.com/checkout.cfm?pid=1641&q=1&)

Cheers  
Bruce

---

<div class="post-metadata">

**Author:** ![Graham\_Dawson](https://clarionhub.com/user_avatar/clarionhub.com/graham_dawson/32/1331_2.png) [@Graham\_Dawson](https://clarionhub.com/u/Graham_Dawson)\
**Post date:** [December 12, 2021, 11:45am UTC](https://clarionhub.com/t/microsoft-s-xaml-islands-used-in-a-clarion-app-this-allows-modern-uwp-windows-controls-to-be-used-in-a-win32-app/4676/3 "2021-12-12T11:45:39Z")

</div>

Seems a bit steep to charge $300 for the ability to see a presentation which is over 2 years old and may contain information that’s now outdated.  
Is this something that Dries Driessen has worked up into a product that we can buy properly?

I wonder if the CIDC organisers would consider making past presentations available freely after a certain time period, say 2 years?  
Surely after that time all costs would have been covered.

---

<div class="post-metadata">

**Author:** ![anon23294430](https://clarionhub.com/user_avatar/clarionhub.com/anon23294430/32/3829_2.png) [@anon23294430](https://clarionhub.com/u/anon23294430)\
**Post date:** [April 14, 2022, 10:28pm UTC](https://clarionhub.com/t/microsoft-s-xaml-islands-used-in-a-clarion-app-this-allows-modern-uwp-windows-controls-to-be-used-in-a-win32-app/4676/4 "2022-04-14T22:28:50Z")

</div>

Dont know if this is useful? Its a C++ example but I’m sure you can do it. 😉  
[GitHub - ChrisGuzak/Win32XamlApp: Using Xaml in the Win32 app model using DesktopWindowXamlSource](https://github.com/ChrisGuzak/Win32XamlApp)

[Host a standard WinRT XAML control in a C++ desktop (Win32) app using XAML Islands - Windows apps | Microsoft Docs](https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/host-standard-control-with-xaml-islands-cpp)

[Using the WinRT XAML hosting API in a C++ desktop (Win32) app - Windows apps | Microsoft Docs](https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/using-the-xaml-hosting-api)

---

<div class="post-metadata">

**Author:** ![anon51095673](https://clarionhub.com/letter_avatar_proxy/v4/letter/a/f9ae1b/32.png) [@anon51095673](https://clarionhub.com/u/anon51095673)\
**Post date:** [April 16, 2022, 10:06pm UTC](https://clarionhub.com/t/microsoft-s-xaml-islands-used-in-a-clarion-app-this-allows-modern-uwp-windows-controls-to-be-used-in-a-win32-app/4676/5 "2022-04-16T22:06:32Z")

</div>

Looks a nightmare. The windows message queue needs resetting when you destroy the manager and then you cant create another one on that thread.

It all looks very messy.

---

<div class="post-metadata">

**Author:** ![anon23294430](https://clarionhub.com/user_avatar/clarionhub.com/anon23294430/32/3829_2.png) [@anon23294430](https://clarionhub.com/u/anon23294430)\
**Post date:** [April 16, 2022, 10:31pm UTC](https://clarionhub.com/t/microsoft-s-xaml-islands-used-in-a-clarion-app-this-allows-modern-uwp-windows-controls-to-be-used-in-a-win32-app/4676/6 "2022-04-16T22:31:04Z")

</div>

Which bit are you referring to?
