Share via

XAML island : How to customize title bar

Harshithraj1871 1,641 Reputation points
May 12, 2023, 11:50 AM

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,740 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 87,706 Reputation points
    May 13, 2023, 5:06 AM

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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.