Adding event handlers: Sounds, Dark Mode & Windowing (Part 2)
Note that in part 1 of the WinAppSDK Blog Series you implemented the visual layer of the DrumPad using WinUI 3 controls. However, if you click on any buttons, nothing happens, because we have not defined any actions, which we will do now. You will be guided to accomplish the following in this post:
Play a sound when a drum pad button is clicked
Switch into dark mode when the toggle switch is turned on
Go into a specific windowing mode when a presenter mode is selected
Play a sound when a drum pad button is clicked
Download sound clips to your project’s Assets folder
NOTE: You may download any .wav sound clips for this part. Optionally, you could use my sound clips here...
As part of the Windows App SDK, WinUI 3 provides a modernized UI framework for building Windows 10 and Windows 11. This 3-part blog aims to help members new to Windows development quickly build familiarity using the Window App SDK through a fun sample app. This post is only part 1 of the 3-part Windows App SDK blog and is scoped to showing you how to use WinUI 3 controls to create a simple working user interface. Part 2 and 3 are for windowing and single instancing.
Sample app overview
We are going to build an app with buttons that produce drum sounds (DrumPad). As simple as this demo app is, it shows some cool things you can do right away with the Windows App SDK (WinAppSDK):
Working with simple and easy-to-use UI controls from...
Hello Windows Insiders, today we are releasing Windows 11 Insider Preview Build 22543 to the Dev Channel.
TL;DR
We’re introducing more natural voices for Narrator.
This build has a good set of improvements such as a few updated visuals for some UI areas.
We have a good set of fixes too!
As always, please be sure to check the known issues below.
What’s new in Build 22543
More Natural Narrator Voices
We’re introducing more natural voices for Narrator. More natural voices enable Narrator users to enjoy scenarios like browsing the web, reading, and authoring mail, and more. Natural Narrator voices use modern, on-device text to speech and once downloaded are supported without an internet connection. Natural Narrator voices are available in...
The last two years have had a profound and durable impact on how we live our lives, with the PC playing a more meaningful role than ever. Recently a friend reflected that he never would have expected that his eight-year-old son would become proficient in Teams and OneNote or that his seventy-two-year-old mother would become an Instacart convert. New behaviors that were born out of necessity have evolved into habits as people and organizations reevaluate their priorities through a new lens. A new hybrid infrastructure now exists – across work, school and life – enabling more flexibility in where and how people spend their time. And the PC is the hub. This is driving a new era of PC use, with a durable increase in the number of minutes...
In the modern hybrid world, the need for people to work collaboratively and securely continues to expand. To provide more choices as it meets those needs, HP has introduced new commercial All-in-One (AiO) and desktop PCs, expanding its portfolio of PCs designed to empower workforces and IT departments in the office or at home. The HP EliteOne 800 G9 AiO Desktop PC Enhanced by HP Presence, powered by the latest Intel processors and Windows 11, is aiming to be the command center for your hybrid workspace. Video conferencing is pivotal to making that successful. This AiO comes equipped to deliver a smooth video experience through a 5-megapixel camera (with HP Auto Frame to keep you in the camera’s field of vision), Dynamic Voice Leveling...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.