home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / cplext.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  2.1 KB  |  47 lines

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // CPLEXT.H  --  defines for property sheet extensions to system control panels
  4. //
  5. // Version 4.00
  6. //
  7. // Copyright (c) 1992-1995, Microsoft Corp.    All rights reserved
  8. //
  9. ///////////////////////////////////////////////////////////////////////////////
  10.  
  11. #ifndef _INC_CPLEXT
  12. #define _INC_CPLEXT
  13.  
  14. ///////////////////////////////////////////////////////////////////////////////
  15. //  Below are constants for pages which can be replaced in the standard control
  16. // panel applets.  To extend an applet, you must define an object which
  17. // supports the IShellPropSheetExt interface and register it's in-process
  18. // server in a subkey under the applet's registry key.  Registry paths for the
  19. // applets are defined in the header file REGSTR.H
  20. //  Generally, when an IShellPropSheetExt is loaded, it's AddPages method
  21. // will be called once, while it's ReplacePage method may be called zero or
  22. // more times.  ReplacePage is only called in context.
  23. ///////////////////////////////////////////////////////////////////////////////
  24.  
  25. //-----------------------------------------------------------------------------
  26. // Mouse Control Panel Extensions
  27. // The following constants MAY be passed in IShellPropSheetExt::ReplacePage's
  28. // uPageID parameter for servers registered under
  29. //                                  ( REGSTR_PATH_CONTROLSFOLDER "\\Mouse" )
  30. //-----------------------------------------------------------------------------
  31.  
  32. #define CPLPAGE_MOUSE_BUTTONS       1
  33. #define CPLPAGE_MOUSE_PTRMOTION     2
  34.  
  35. //-----------------------------------------------------------------------------
  36. // Keyboard Control Panel Extensions
  37. // The following constants MAY be passed in IShellPropSheetExt::ReplacePage's
  38. // uPageID parameter for servers registered under
  39. //                                  ( REGSTR_PATH_CONTROLSFOLDER "\\Keyboard" )
  40. //-----------------------------------------------------------------------------
  41.  
  42. #define CPLPAGE_KEYBOARD_SPEED      1
  43.  
  44. ///////////////////////////////////////////////////////////////////////////////
  45.  
  46. #endif
  47.