home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / cplext.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  2KB  |  50 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. ///////////////////////////////////////////////////////////////////////////////
  16. //  Below are constants for pages which can be replaced in the standard control
  17. // panel applets.  To extend an applet, you must define an object which
  18. // supports the IShellPropSheetExt interface and register it's in-process
  19. // server in a subkey under the applet's registry key.  Registry paths for the
  20. // applets are defined in the header file REGSTR.H
  21. //  Generally, when an IShellPropSheetExt is loaded, it's AddPages method
  22. // will be called once, while it's ReplacePage method may be called zero or
  23. // more times.  ReplacePage is only called in context.
  24. ///////////////////////////////////////////////////////////////////////////////
  25.  
  26. //-----------------------------------------------------------------------------
  27. // Mouse Control Panel Extensions
  28. // The following constants MAY be passed in IShellPropSheetExt::ReplacePage's
  29. // uPageID parameter for servers registered under
  30. //                                  ( REGSTR_PATH_CONTROLSFOLDER "\\Mouse" )
  31. //-----------------------------------------------------------------------------
  32.  
  33. #define CPLPAGE_MOUSE_BUTTONS       1
  34. #define CPLPAGE_MOUSE_PTRMOTION     2
  35.  
  36.  
  37. //-----------------------------------------------------------------------------
  38. // Keyboard Control Panel Extensions
  39. // The following constants MAY be passed in IShellPropSheetExt::ReplacePage's
  40. // uPageID parameter for servers registered under
  41. //                                  ( REGSTR_PATH_CONTROLSFOLDER "\\Keyboard" )
  42. //-----------------------------------------------------------------------------
  43.  
  44. #define CPLPAGE_KEYBOARD_SPEED      1
  45.  
  46.  
  47. ///////////////////////////////////////////////////////////////////////////////
  48.  
  49. #endif
  50.