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.

43 lines
1.0 KiB

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