mirror of https://github.com/tongzx/nt5src
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.
37 lines
693 B
37 lines
693 B
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
//
|
|
// Copyright (C) Microsoft Corporation, 1999 - 1999
|
|
//
|
|
// File: amcnav.h
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
|
|
// amcnav.h : header file for class CAMCNavigator
|
|
//
|
|
|
|
#ifndef _AMCNAV_H_
|
|
#define _AMCNAV_H_
|
|
|
|
//
|
|
// Class for adding custom keyboard navigation to a view
|
|
// View should inherit from CView (or derived class)
|
|
// and CAMCNavigator.
|
|
//
|
|
//
|
|
|
|
enum AMCNavDir
|
|
{
|
|
AMCNAV_NEXT,
|
|
AMCNAV_PREV
|
|
};
|
|
|
|
class CAMCNavigator
|
|
{
|
|
public:
|
|
virtual BOOL ChangePane(AMCNavDir eDir) = 0;
|
|
virtual BOOL TakeFocus(AMCNavDir eDir) = 0;
|
|
};
|
|
|
|
#endif
|