microsoft / microsoft/WindowsAppSDK

Please provide a modern API for MessageDialog or Messagebox

Open
#4,469 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

UWP Gap
Dominant language
C++
Stars
4.7k
Forks
471
Avg merge
3d 13h
Merged PRs (30d)
28

Description

### Describe the bug

Please provide a modern API for MessageDialog or Messagebox
请提供一个现代化的 MessageDialog 或 Messagebox 的 API

At present, the appearance of MessageDialog API and Messagebox API in Windows 11 does not meet the Design principles of Fluent Design in Windows 11. We want to provide a MessageDialog in the Windows App SDK that conforms to the Design principles of Windows 11 Fluent Design, which is displayed as a modal window. This window can be displayed in two forms, either a modal window similar to the previous MessageDialog that displays a blocking current window, or a full-screen MessageDialog similar to Recall
目前 Windows 11 自带的 MessageDialog API 和 Messagebox API 的外观已经不符合 Windows 11 Fluent Design 的设计原则,希望能在 Windows App SDK 中提供一个符合 Windows 11 Fluent Design 的设计原则的 MessageDialog,该窗口以模态窗口显示。该窗口该窗口可以以两种形态显示,一种类似于之前的 MessageDialog 显示一个阻塞当前窗口的模态窗口,另一种就是类似于 Recall 的全屏 MessageDialog

### Steps to reproduce the bug

See describe

### Expected behavior

Please provide a modern API for MessageDialog or Messagebox
请提供一个现代化的 MessageDialog 或 Messagebox 的 API

### Screenshots

系统老式的 MessageDialog 或 Messagebox,已经不符合 Windows 11 fluent design 的设计原则
The system's older MessageDialog or Messagebox does not comply with the design principles of Windows 11 fluent design
![8a9d7d77b7773fe5553c8da515e3f6b3](https://github.com/microsoft/WindowsAppSDK/assets/49179966/7c895555-aaaa-4875-a56a-377876a6b4a7)

Modernized Messagedialog, screenshots from from Recall (preview)
现代化的 Messagedialog,截图来自于来自于回顾(预览版)
![image](https://github.com/microsoft/WindowsAppSDK/assets/49179966/1b7970ee-0a39-48f8-9935-e7cac50cb6ad)

### NuGet package version

Windows App SDK 1.5.3: 1.5.240428000

### Packaging type

Packaged (MSIX)

### Windows version

Windows 11 version 22H2 (22621, 2022 Update)

### IDE

Visual Studio 2022

### Additional context

None

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not identify files, tests, or entry points. Start by locating the existing MessageDialog and MessageBox APIs in the Windows App SDK and review how modal windows are implemented; done would require an agreed modern Fluent Design API supporting the requested modal and full-screen forms.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.