Leaked source code of windows server 2003
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.

40 lines
1.2 KiB

  1. //******************************************************************************
  2. //
  3. // EditHelp.h
  4. //
  5. // Copyright (C) 1994-1997 Microsoft Corporation
  6. // All rights reserved.
  7. //
  8. //******************************************************************************
  9. #if !defined(MITUTIL__EditHelp_h__INCLUDED)
  10. #define MITUTIL__EditHelp_h__INCLUDED
  11. //------------------------------------------------------------------------------
  12. struct LTAPIENTRY EditHelp
  13. {
  14. static BOOL SetTopLine(CEdit * pebc, int iLine);
  15. static BOOL CanUndo(CEdit * pebc);
  16. static BOOL CanRedo(CEdit * pebc);
  17. static BOOL CanCut(CEdit * pebc);
  18. static BOOL CanClear(CEdit * pebc);
  19. static BOOL CanPaste(CEdit * pebc);
  20. static BOOL CanCopy(CEdit * pebc);
  21. static BOOL CanSelectAll(CEdit * pebc);
  22. static BOOL Undo(CEdit * pebc);
  23. static BOOL Redo(CEdit * pebc);
  24. static void Cut(CEdit * pebc);
  25. static void Copy(CEdit * pebc);
  26. static void Clear(CEdit * pebc);
  27. static void Paste(CEdit * pebc);
  28. static void SelectAll(CEdit * pebc);
  29. static BOOL IsReadOnly(CEdit * pebc);
  30. static BOOL IsEnabled(CEdit * pebc, UINT nCmdID);
  31. static BOOL DoEditCmd(CEdit * pebc, UINT nCmdID);
  32. };
  33. #endif // MITUTIL__EditHelp_h__INCLUDED