Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
693 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: amcnav.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // amcnav.h : header file for class CAMCNavigator
  11. //
  12. #ifndef _AMCNAV_H_
  13. #define _AMCNAV_H_
  14. //
  15. // Class for adding custom keyboard navigation to a view
  16. // View should inherit from CView (or derived class)
  17. // and CAMCNavigator.
  18. //
  19. //
  20. enum AMCNavDir
  21. {
  22. AMCNAV_NEXT,
  23. AMCNAV_PREV
  24. };
  25. class CAMCNavigator
  26. {
  27. public:
  28. virtual BOOL ChangePane(AMCNavDir eDir) = 0;
  29. virtual BOOL TakeFocus(AMCNavDir eDir) = 0;
  30. };
  31. #endif