Skip to main content

Module desktop

Module desktop 

Source
Expand description

Desktop window and tray icon operations.

This module provides:

  • Window enumeration for top-level and child windows
  • Query helpers for visibility, title, class, rectangle, and cloaked state
  • Notification area (tray) icon lifecycle and balloon notifications

Structs§

TrayIcon
Notification area icon with RAII lifecycle management.
TrayIconBuilder
Builder for creating tray icons with custom internal window names.
TrayIconId
Strongly-typed tray icon identifier.
TrayNotification
Balloon notification payload for a tray icon.
WindowHandle
Strongly-typed window handle wrapper.
WindowInfo
Snapshot of a desktop window.
WindowRect
Rectangle coordinates for a window.

Enums§

BalloonIcon
Icon style for tray balloon notifications.
CloakState
DWM cloaking state for a window.

Functions§

enumerate_child_windows
Enumerate child windows for a specific parent window.
enumerate_child_windows_with_buffer
Enumerate child windows for a specific parent window with a reusable output buffer.
enumerate_child_windows_with_filter
Enumerate child windows for a specific parent window with in-enumeration filtering.
enumerate_windows
Enumerate desktop windows (top-level and child windows).
enumerate_windows_with_buffer
Enumerate desktop windows (top-level and child windows) with a reusable output buffer.
enumerate_windows_with_filter
Enumerate desktop windows (top-level and child windows) with in-enumeration filtering.