home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / cplext.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  2.2 KB  |  52 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. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  13. #define _INC_CPLEXT
  14.  
  15.  
  16. ///////////////////////////////////////////////////////////////////////////////
  17. //  Below are constants for pages which can be replaced in the standard control
  18. // panel applets.  To extend an applet, you must define an object which
  19. // supports the IShellPropSheetExt interface and register it's in-process
  20. // server in a subkey under the applet's registry key.  Registry paths for the
  21. // applets are defined in the header file REGSTR.H
  22. //  Generally, when an IShellPropSheetExt is loaded, it's AddPages method
  23. // will be called once, while it's ReplacePage method may be called zero or
  24. // more times.  ReplacePage is only called in context.
  25. ///////////////////////////////////////////////////////////////////////////////
  26.  
  27. //-----------------------------------------------------------------------------
  28. // Mouse Control Panel Extensions
  29. // The following constants MAY be passed in IShellPropSheetExt::ReplacePage's
  30. // uPageID parameter for servers registered under
  31. //                                  ( REGSTR_PATH_CONTROLSFOLDER "\\Mouse" )
  32. //-----------------------------------------------------------------------------
  33.  
  34. #define CPLPAGE_MOUSE_BUTTONS       1
  35. #define CPLPAGE_MOUSE_PTRMOTION     2
  36.  
  37.  
  38. //-----------------------------------------------------------------------------
  39. // Keyboard Control Panel Extensions
  40. // The following constants MAY be passed in IShellPropSheetExt::ReplacePage's
  41. // uPageID parameter for servers registered under
  42. //                                  ( REGSTR_PATH_CONTROLSFOLDER "\\Keyboard" )
  43. //-----------------------------------------------------------------------------
  44.  
  45. #define CPLPAGE_KEYBOARD_SPEED      1
  46.  
  47.  
  48. ///////////////////////////////////////////////////////////////////////////////
  49.  
  50. #pragma option pop /*P_O_Pop*/
  51. #endif
  52.