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.

60 lines
1.3 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1991 **/
  4. /**********************************************************************/
  5. /*
  6. sleican.hxx
  7. Header file for the sle class with validation.
  8. FILE HISTORY:
  9. thomaspa 20-Jan-1992 created
  10. */
  11. #ifndef _SLEICAN_HXX_
  12. #define _SLEICAN_HXX_
  13. /*************************************************************************
  14. NAME: ICANON_SLE
  15. SYNOPSIS: Class definition for SLE with validation of text using
  16. the NETLIB I_MNetNameValidate() function
  17. INTERFACE: Validate - validates the function, normally called by
  18. the dialog class.
  19. PARENT: SLE
  20. USES:
  21. NOTES:
  22. HISTORY:
  23. Thomaspa 13-Feb-1992 Created
  24. **************************************************************************/
  25. DLL_CLASS ICANON_SLE: public SLE
  26. {
  27. private:
  28. BOOL _fUsesNetlib;
  29. INT _nICanonCode;
  30. public:
  31. ICANON_SLE( OWNER_WINDOW * powin, CID cid,
  32. UINT usMaxLen = 0, INT nICanonCode = 0 );
  33. ICANON_SLE( OWNER_WINDOW * powin, CID cid,
  34. XYPOINT xy, XYDIMENSION dxy,
  35. ULONG flStyle, const TCHAR * pszClassName = CW_CLASS_EDIT,
  36. UINT usMaxLen = 0, INT nICanonCode = 0 );
  37. virtual APIERR Validate();
  38. };
  39. #endif