Microsoft KB Archive/102486

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 18:13, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q102486 to Microsoft KB Archive/102486 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SAMPLE: Control Panel Application Sample PSS ID Number: Q102486 Article last modified on 04-23-1994

3.10

WINDOWS NT

The information in this article applies to:
- Microsoft Win32 Software Development Kit (SDK) for Windows NT version 3.1

The CPL sample demonstrates the creation how to create a Control Panel application.

The CPlApplet function is for a dynamic-link library (DLL) containing three Control Panel applications that set preferences for a component stereo system attached to the computer. The sample uses an application-defined StereoApplets array that contains three structures, each corresponding to one of the Control Panel applications. Each structure contains all the information required by the CPL_NEWINQUIRE message, as well as the dialog box template and dialog box procedure required by the CPL_DBLCLK message. The code demonstrates how to fill the structures in the StereoApplets array.

To install your new DLL, copy the .CPL file into your SYSTEM32 directory and the Control Panel will automatically load the DLL upon startup.

This sample is included with the Microsoft Win32 Software Development Kit (SDK) for Windows NT. Samples are divided into two groups: samples (optionally) installed into the directory, and small samples available on the CD in the _Adirectory.

Additional reference words: 3.10 KBCategory: Prg KBSubcategory: CodeSam UsrMisc

=================================================================

Copyright Microsoft Corporation 1994.