Need primary window on top of another primary window using WinUI3 and win32

MM, Sunil 86 Reputation points
2021-11-23T10:38:01.427+00:00

Hi team,

I am referring the below code sample which is provided by your team.
https://app.box.com/s/wbpx7rzvwyqna66z0yckfprcf6qxg9kh

So now we have requirement to keep two primary window on top of another main window.
and 1st main window to be transparent and 2nd primary window to be non transparent(Normal).
and when i click on button from 2nd window the event should fire and increase the transparency of the 1st main window.

151794-winui3window.png

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
747 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 82,751 Reputation points
    2021-11-26T10:48:27.373+00:00

    Multiple window in WinUI is not yet implemented : 2-planned

    It can be done by creating a Win32 window , with RegisterClassEx + CreateWindowEx ,
    but mixing both GUI is not great, except improving the Win32 window GUI to look like WinUI, but needs more code... =>

    152868-winui-win32.png