Windows UI Samples
The following table lists Windows Server 2008 samples as well as samples new to this release of the Windows SDK that pertain to creating a Windows user interface. They are installed by default under the Samples folder in the following path:
\Program Files\Microsoft SDKs\Windows\v6.1\Samples
For build instructions and additional information about the samples, see the Readme.txt files and other documents in the sample folders.
Sample |
Description |
Location (under Samples) |
---|---|---|
Clipboard Viewer Chain Sample |
Programs new clipboard functions. |
WinUI\ClipboardChainImprovementAPIs |
Common File Dialog API Sample |
Constructs a variety of common file dialogs. |
WinUI\CommonFileDialog |
DeskBand API SDK Sample |
Creates a customized desk band. |
WinUI\DeskBand |
LHFile Operation API Sample |
Manages file system objects. |
WinUI\FileOperationAPI |
Help API Sample (C++) |
Manages file system objects. |
WinUI\HelpAPISample |
High DPI Sample |
Calls the Help Pane Proxy objects. |
WinUI\HighDpiSample |
KnownFolder API SDK Sample |
Registers a KnownFolder. |
WinUI\KnownFolderAPI |
Screen Magnification Sample |
Magnifys a portion of the desktop. |
WinUI\Magnification |
MUI Application Sample |
Develops Multiple User Interface (MUI) applications. |
WinUI\MUISampleApp |
Named NLS API Sample |
Globalizes applications with locale names instead of LCIDs. |
WinUI\nls\NamedNlsFunctions |
Photo Acquisition Plug-in |
Creates a plug-in that runs when photos are acquired from a device. |
WinUI\Pictures\AcquisitionPlugin |
Picture Acquisition Simple Read-Only Plug-in Sample |
Creates a simple plug-in that sets read-only attributes of images acquired from a device. |
WinUI\Pictures\PictureAcquisitionPlugin |
Thumbnail Cache Sample |
Adds a thumbnail to the thumbnail cache. |
WinUI\Pictures\ThumbnailCache |
Transcoding Sample |
Shows how to transcode and resize an image. |
WinUI\Pictures\TranscodeImage |
PreviewHandler API SDK Sample |
Previews a file in a pane. |
WinUI\PreviewHandler |
Printing Sample |
Shows how to use the Print Ticket and PrintCapabilities Win32 APIs to obtain and manipulate PrintTicket. |
WinUI\Printer\Ptpcmxdw |
Property Handler API SDK Sample |
Reads and writes properties to files, such as .jpg, .tiff, .doc, .mp3, and .wma. |
WinUI\PropertyEdit |
Property Handler API SDK Sample |
Handles properties for an XML-based application. |
WinUI\PropertyHandler |
RSS ScreenSaver |
Scans common feed list for enclosed images. |
WinUI\RssScreenSaver |
CommonFileDialog Sample |
Shows how to customize an open and save file dialog. |
WinUI\Shell\AppPlatform\CommonFileDialog |
Explorer Browser Sample |
Shows how to use the explorer browser control. |
WinUI\Shell\AppPlatform\ExplorerBrowserControl |
File Operations Sample |
Demonstrates operations on system files, such as copying, deleting, and renaming. |
WinUI\Shell\AppPlatform\FileOperations |
Known Folder Sample |
Shows how to register a known folder as an alternative to COM interop development. |
WinUI\Shell\AppPlatform\KnownFolders |
NamespaceTreeControl Sample |
Shows how to implement a custom namespace tree control. |
WinUI\Shell\AppPlatform\NamespaceTreeControl |
Property Schema API Sample |
Demonstrates PropertySystem APIs that register and unregister custom property schemas, or get detailed information about properties already registered with the system. |
WinUI\Shell\AppPlatform\PropertySchemas |
Property System Values Sample |
Shows how to use the PropertySystem APIs to read and write values to and from files. |
WinUI\Shell\AppPlatform\PropertySystem |
TaskDialog SDK Sample |
Shows how to use the TaskDialog APIs. |
WinUI\Shell\AppPlatform\TaskDialogs |
Preview Handlers Sample |
Shows how to register a preview handler for custom file types. |
WinUI\Shell\AppShellIntegration\PreviewHandler |
Property Handlers Sample |
Shows how to create a sample property handler for an XML-based recipe file application. |
WinUI\Shell\AppShellIntegration\PropertyHandlers |
Desk Band Sample |
Shows how to create a custom desk band. |
WinUI\Shell\ShellExtensibility\DeskBands |
SideShow Alarms Sample |
Sends notifications to a Windows SideShow device. |
WinUI\sideshow\Alarms |
SideShow HelloWorld Sample |
Creates a simple Windows SideShow application. |
WinUI\sideshow\HelloWorld |
SideShow Pictures Sample |
Sends images to a slide show device. |
WinUI\sideshow\Pictures |
SideShow Tasks Sample |
Creates a task-based slide show. |
WinUI\sideshow\tasks |
IThumbnailProvider Sample |
Retrieves a thumbnail from an image file. |
WinUI\Thumbnail\ImageThumbnailProvider |
UI Automation Fragment Provider Sample |
Shows how to implement a complex custom control that supports UI Automation. |
WinUI\UIAutomation |
UI Automation Fragment Provider Sample |
Creates a Win32 Custom Control that implements UI automation. |
WinUI\UIAutomation\FragProviderUnmgd |
Simple UI Automation Provider Sample |
Implements UI automation on a simple custom control. |
WinUI\UIAutomation\SimpleUIAProvider |