XAML island : How to customize title bar

Harshithraj1871 1,516 Reputation points
2023-05-12T11:50:07.25+00:00

Hi,

I'm working on a window desktop application in win32(C++ desktop (Win32) app) and I'm Hosting a standard WinRT XAML control in it.

As I understood, we can use xaml island on particular area of the window. But can we use it customize the title bar? I wanted to make a custom title bar like this, this example in done using WinUI3 title bar customization .

User's image

can we do this in Win32 desktop application with xaml island? Or should i use Win32 Title bar customization?

Thank You

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,511 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 83,101 Reputation points
    2023-05-13T05:06:24.6666667+00:00

    In Win32 Desktop apps, it is done with DWM : Custom Window Frame Using DWM