CustomAccServer Sample
This topic contains the following sections.
- Description
- Download Information
- Minimum Requirements
- Building the Sample
- Running the Sample
- Related topics
Description
This sample shows how to implement a Microsoft Active Accessibility server for a simple custom control. The accessible object for the control consists of the root element (a list box) and its children (the list items.)
Download Information
The CustomAccServer sample is installed as part of the Microsoft Windows Software Development Kit (SDK) and is available in the following location.
Location | Path/URL |
---|---|
Windows SDK | %Program Files%\Microsoft SDKs\Windows\[version number]\Samples\winui\msaa |
Minimum Requirements
Product | Version |
---|---|
Operating System | Windows XP, Windows Server 2003 |
Windows SDK | 7.0 |
Visual Studio | 2008 |
Building the Sample
To build the sample using Visual Studio 2008:
- Run the Microsoft Windows Software Development Kit (SDK) Configuration Tool provided with the SDK to add SDK include directories to Visual Studio.
- Open Windows Explorer and navigate to the project directory.
- Double-click the icon for the .sln (solution) file to open the project in Visual Studio.
- On the Build menu, select Build Solution to build the solution. The application will be built in the default \Debug or \Release directory.
To build the sample from the command line, see Building Samples in the Windows SDK release notes at the following location: %Program Files%\Microsoft SDKs\Windows\v7.0\ReleaseNotes.htm
Running the Sample
To run the sample:
- Navigate to the directory that contains the new executable, using the command prompt or Windows Explorer.
- Type AccServer.exe at the command line, or double-click the icon for AccServer.exe to launch it from Windows Explorer.
To run from Visual Studio, press F5 or click Start Debugging from the Debug menu.
Related topics