The Big Picture: Two Shared Services

Programs on your desktop are separate. Chrome cannot see inside Word, and Word cannot see inside Chrome (Chapter 9: each process has its own private memory). But you often want them to cooperate in two ways:

  1. A program needs to tell you something while you are busy in another program. That is a notification.
  2. You want to move data from one program to another. That is the clipboard.

Windows provides both as shared services that every program can use through the same APIs (Chapter 23).

 Program A ──► notification ──► Shell draws a pop-up for YOU
 Program A ──► clipboard ◄──── Program B (copy here, paste there)

5.1 The Notification (Toast) System

What it is: A toast notification is the small box that slides in at a corner of the screen ("New email", "Download finished"). It is called a toast because it pops up like toast from a toaster.

How it works:

App (any process)
   │  calls the notification API with text, an icon, maybe buttons
   ▼
Windows notification platform
   │  checks your settings: is this app allowed? Is Focus on?
   ▼
Shell (Explorer and its helpers) draws the toast on the screen
   │
   ├── you click it  ──► Windows tells the app: "the user clicked"
   │                     (it may start the app if it was closed)
   └── you ignore it ──► it moves into the notification centre

Key points:

FactMeaning
The app decides what to sayThe text, the buttons ("Reply", "Snooze") and what happens on click are sent by the app
The shell decides how to show itPosition, style, sound and whether to show it at all follow the user's settings
An app can be closed and still send oneSome notifications come from the app's background part, or from a web page through the browser (Chapter 29), or are scheduled
Each toast belongs to an app identityThat is how Windows lets you turn off one app's notifications without touching the others

The notification centre. Toasts that are not clicked stay in a list. In Windows 10 this was called the Action Center and held both notifications and quick-setting buttons (Wi-Fi, Bluetooth, Night light). In Windows 11 the notifications live in a notification centre opened by clicking the clock and date (Win + N), and the quick settings (Wi-Fi, volume, brightness) are in a separate panel opened by clicking the network/volume icons (Win + A). Naming and layout can change between updates.

Controlling the noise:

SettingWhat it does
Per-app switchIn Settings → System → Notifications, turn off individual apps
Focus (called Focus assist in Windows 10, Do not disturb and Focus sessions in Windows 11)Temporarily hides toasts so you can concentrate. They still arrive in the centre, so you can read them later. You can allow "priority" apps or alarms
Automatic rulesFocus can turn on by itself while you present, play a full-screen game, or at set times

Safe to try (reversible): Turn Focus or Do not disturb on, send yourself a test (for example plug in a USB device or change a setting that pops a message), then turn it off. The Practical Lab includes this as an optional step.

Security note. Notifications are only a message channel. Treat unexpected pop-ups that ask you to "sign in" or "call support" like unexpected emails. A browser can show web notifications only after you click Allow for a site, and you can change that in the browser.

5.2 The Clipboard as a Shared Operating-System Object

What it is: The clipboard is a system-wide holding area in memory where one program puts data and another takes it. It belongs to the window station (Section 2), not to any single program, so every program on your desktop session sees the same clipboard.

Because Windows controls it, programs written by different companies in different languages can still share data. They just agree on formats.

Copy puts data in one or more formats. When you press Ctrl + C on some text in Word, Word does not just store "the text". It usually stores several versions at once:

FormatWhat it holdsWho prefers it
Plain textJust the charactersNotepad, a command line
Rich text / HTMLText plus bold, colours and fontsWord, email, browser forms
Bitmap / imageA picturePaint, chat apps
File listA list of files (when you copy files in File Explorer)File Explorer, which then copies the real files
Private formatThe app's own, full-detail formThe same app, so formatting is perfect
 Word:  Ctrl + C  on "Hello"
          │
          ▼
 ┌─────────────────────────────────────────────┐
 │ CLIPBOARD (one slot, many formats)          │
 │   format 1: Word private data               │
 │   format 2: Rich text  (bold Hello)         │
 │   format 3: Plain text "Hello"              │
 └─────────────────────────────────────────────┘
          │
 Notepad: Ctrl + V  asks: "Do you have plain text?" ──► gets "Hello"
 Word:    Ctrl + V  asks: "Do you have your own format?" ──► gets all formatting

Paste asks for a format. The pasting program looks at the formats on offer and picks the best one it understands. That is why pasting into Notepad drops the bold, but pasting into another Word document keeps it. This is also what the Paste Special or Keep text only choices do: you choose the format.

Delayed rendering. Sometimes making a copy is expensive: copying a 200 MB image, or a huge spreadsheet range. So a program can say, "I will offer a format, but I will make it only if someone really pastes." This is called delayed rendering. The program keeps the data and prepares it later, when Windows asks. A side effect you may have met: if you copy something big, then close the program, the program often renders the data first, or a warning may appear. A few programs lose the clipboard content when they close.

Behind the scenes. The program opens the clipboard, empties it, places the data, and closes it. Only one program can hold the clipboard open at a time for a moment, so others wait their turn. The data itself sits in global memory that Windows shares with the receiver. The clipboard is therefore a controlled, short doorway between two private memory areas.

Clipboard history (Win + V). In Windows 10 (version 1809 and later) and Windows 11 you can turn on clipboard history: Windows keeps several recent items and shows them in a small panel when you press Win + V. You can pin items. In Settings → System → Clipboard there is also an optional sync across devices that uses your Microsoft account and the cloud. Leave that off if you do not want your copied text sent to a cloud service. Some features and names may differ by version.

Clipboard tipWhy
Do not copy passwords and leave them thereAny program in your session can read the clipboard, and history may keep them
Use Win + V → clear allEmpties the history
Password managers often clear the clipboard after about 30 secondsA good defence

Programs can watch the clipboard. Because it is shared, a program can ask Windows to tell it whenever the clipboard changes. That is how clipboard managers work. It is also why malware may steal or change copied data such as crypto addresses. Be careful what you paste, and check the pasted text.

Summary

TermPlain meaning
ToastThe pop-up notification box
Notification centre / Action CenterWhere missed notifications wait
Focus / Focus assist / Do not disturbHides pop-ups for a while; they still arrive
ClipboardSystem-wide shared memory area for copy and paste
FormatThe form of the data: text, rich text, bitmap, file list
Delayed renderingThe app makes the data only when someone pastes
Clipboard historyWin + V list of recent items; optional cloud sync