home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / VCSPELL.HPP < prev    next >
C/C++ Source or Header  |  1997-02-14  |  30KB  |  592 lines

  1. //----------------------------------------------------------------------------
  2. // VCSpell.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: VCSpell.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef VCSpellHPP
  6. #define VCSpellHPP
  7. //----------------------------------------------------------------------------
  8. #include <Controls.hpp>
  9. #include <OleCtrls.hpp>
  10. #include <Graphics.hpp>
  11. #include <Classes.hpp>
  12. #include <OleCtl.hpp>
  13. #include <OLE2.hpp>
  14. #include <System.hpp>
  15. #pragma warn -par
  16. #pragma warn -hid 
  17. #pragma warn -inl
  18.  
  19. namespace Vcspell
  20. {
  21. //-- type declarations -------------------------------------------------------
  22. typedef void __fastcall (__closure *TVCSpellerMisspelled)(System::TObject* Sender, short &EventAction
  23.     );
  24.  
  25. typedef void __fastcall (__closure *TVCSpellerComplete)(System::TObject* Sender, short &EventAction)
  26.     ;
  27.  
  28. typedef void __fastcall (__closure *TVCSpellerFound)(System::TObject* Sender, short &EventAction);
  29.  
  30. typedef void __fastcall (__closure *TVCSpellerBeforeReplace)(System::TObject* Sender, short &EventAction
  31.     );
  32.  
  33. typedef void __fastcall (__closure *TVCSpellerAfterReplace)(System::TObject* Sender, short &EventAction
  34.     );
  35.  
  36. typedef void __fastcall (__closure *TVCSpellerAfterPopup)(System::TObject* Sender, short &EventAction
  37.     );
  38.  
  39. typedef void __fastcall (__closure *TVCSpellerCheckStatus)(System::TObject* Sender, short &EventAction
  40.     );
  41.  
  42. typedef void __fastcall (__closure *TVCSpellerCheckError)(System::TObject* Sender, short &EventAction
  43.     );
  44.  
  45. typedef void __fastcall (__closure *TVCSpellerClickIn)(System::TObject* Sender, short &EventAction);
  46.     
  47. typedef void __fastcall (__closure *TVCSpellerClickOut)(System::TObject* Sender, short &EventAction)
  48.     ;
  49.  
  50. class __declspec(delphiclass) TVCSpeller;
  51. class __declspec(pascalimplementation) TVCSpeller : public Olectrls::TOleControl
  52. {
  53.     typedef Olectrls::TOleControl inherited;
  54.     
  55. private:
  56.     TVCSpellerMisspelled FOnMisspelled;
  57.     TVCSpellerComplete FOnComplete;
  58.     TVCSpellerFound FOnFound;
  59.     TVCSpellerBeforeReplace FOnBeforeReplace;
  60.     TVCSpellerAfterReplace FOnAfterReplace;
  61.     TVCSpellerAfterPopup FOnAfterPopup;
  62.     TVCSpellerCheckStatus FOnCheckStatus;
  63.     TVCSpellerCheckError FOnCheckError;
  64.     TVCSpellerClickIn FOnClickIn;
  65.     TVCSpellerClickOut FOnClickOut;
  66.     void __stdcall Set_OpenStandard(Word loadit, const System::AnsiString Value);
  67.     short __stdcall Get_DictionaryLanguage(short index);
  68.     System::AnsiString __stdcall Get_DictionaryName(short index);
  69.     short __stdcall Get_DictionaryStatus(short index);
  70.     Word __stdcall Get_DictionaryIsEnabled(short index);
  71.     System::AnsiString __stdcall Get_DictionaryNameFull(short index);
  72.     Word __stdcall Get_StandardIRListIsEnabled(short index);
  73.     Word __stdcall Get_DictionaryIsLoaded(short index);
  74.     short __stdcall Get_DictionaryPerformance(short index);
  75.     void __stdcall Set_DictionaryPerformance(short index, short Value);
  76.     System::AnsiString __stdcall Get_Suggestion(short index);
  77.     Word __stdcall Get_CustomIsUpdateable(short index);
  78.     void __stdcall Set_AddToStandardIRList(short index, short Value);
  79.     void __stdcall Set_AddSuggestion(short matchcode, const System::AnsiString Value);
  80.     void __stdcall Set_AddToCustom(short index, short Value);
  81.     void __stdcall Set_ClearStandardIRList(short index, short Value);
  82.     void __stdcall Set_CloseDictionary(short index, short Value);
  83.     void __stdcall Set_GetEntry(short index, int Value);
  84.     void __stdcall Set_RemoveFromStandardIRList(short index, const System::AnsiString Value);
  85.     short __stdcall Get_DictionaryPerformanceActual(short index);
  86.     short __stdcall Get_DictionaryBlockCount(short index);
  87.     short __stdcall Get_DictionaryBlockSize(short index);
  88.     short __stdcall Get_DictionaryCommonCount(short index);
  89.     short __stdcall Get_DictionaryCompatibilityBits(short index);
  90.     System::AnsiString __stdcall Get_DictionaryCopyright(short index);
  91.     System::AnsiString __stdcall Get_DictionaryCopyrightDerived(short index);
  92.     short __stdcall Get_DictionaryFlags(short index);
  93.     short __stdcall Get_DictionaryLoadCount(short index);
  94.     short __stdcall Get_DictionaryMakerVersion(short index);
  95.     short __stdcall Get_DictionaryOpenCount(short index);
  96.     short __stdcall Get_DictionarySymbolSetSize(short index);
  97.     int __stdcall Get_DictionaryWordCount(short index);
  98.     void __stdcall Set_CreateCustomExtended(short index, const System::AnsiString Value);
  99.     void __stdcall Set_EnableDictionary(short index, Word Value);
  100.     void __stdcall Set_EnableCustomUpdate(short index, Word Value);
  101.     void __stdcall Set_LoadDictionary(short index, short Value);
  102.     void __stdcall Set_UnloadDictionary(short index, short Value);
  103.     Word __stdcall Get_CustomIsReadOnly(short index);
  104.     Word __stdcall Get_CustomIsExtended(short index);
  105.     void __stdcall Set_EnableStandardIRList(short index, Word Value);
  106.     void __stdcall Set_OpenCustom(Word loadit, const System::AnsiString Value);
  107.     
  108. protected:
  109.     virtual void __fastcall InitControlData(void);
  110.     
  111. public:
  112.     void __stdcall AboutBox(void);
  113.     __property System::AnsiString OpenStandard[Word loadit] = {write=Set_OpenStandard};
  114.     __property short DictionaryLanguage[short index] = {read=Get_DictionaryLanguage};
  115.     __property System::AnsiString DictionaryName[short index] = {read=Get_DictionaryName};
  116.     __property short DictionaryStatus[short index] = {read=Get_DictionaryStatus};
  117.     __property Word DictionaryIsEnabled[short index] = {read=Get_DictionaryIsEnabled};
  118.     __property System::AnsiString DictionaryNameFull[short index] = {read=Get_DictionaryNameFull};
  119.     __property Word StandardIRListIsEnabled[short index] = {read=Get_StandardIRListIsEnabled};
  120.     __property Word DictionaryIsLoaded[short index] = {read=Get_DictionaryIsLoaded};
  121.     __property short DictionaryPerformance[short index] = {read=Get_DictionaryPerformance, write=Set_DictionaryPerformance
  122.         };
  123.     __property System::AnsiString Suggestion[short index] = {read=Get_Suggestion};
  124.     __property Word CustomIsUpdateable[short index] = {read=Get_CustomIsUpdateable};
  125.     __property short AddToStandardIRList[short index] = {write=Set_AddToStandardIRList};
  126.     __property System::AnsiString AddSuggestion[short matchcode] = {write=Set_AddSuggestion};
  127.     __property short AddToCustom[short index] = {write=Set_AddToCustom};
  128.     __property short ClearStandardIRList[short index] = {write=Set_ClearStandardIRList};
  129.     __property short CloseDictionary[short index] = {write=Set_CloseDictionary};
  130.     __property int GetEntry[short index] = {write=Set_GetEntry};
  131.     __property System::AnsiString RemoveFromStandardIRList[short index] = {write=Set_RemoveFromStandardIRList
  132.         };
  133.     __property short DictionaryPerformanceActual[short index] = {read=Get_DictionaryPerformanceActual};
  134.         
  135.     __property short DictionaryBlockCount[short index] = {read=Get_DictionaryBlockCount};
  136.     __property short DictionaryBlockSize[short index] = {read=Get_DictionaryBlockSize};
  137.     __property short DictionaryCommonCount[short index] = {read=Get_DictionaryCommonCount};
  138.     __property short DictionaryCompatibilityBits[short index] = {read=Get_DictionaryCompatibilityBits};
  139.         
  140.     __property System::AnsiString DictionaryCopyright[short index] = {read=Get_DictionaryCopyright};
  141.     __property System::AnsiString DictionaryCopyrightDerived[short index] = {read=Get_DictionaryCopyrightDerived
  142.         };
  143.     __property short DictionaryFlags[short index] = {read=Get_DictionaryFlags};
  144.     __property short DictionaryLoadCount[short index] = {read=Get_DictionaryLoadCount};
  145.     __property short DictionaryMakerVersion[short index] = {read=Get_DictionaryMakerVersion};
  146.     __property short DictionaryOpenCount[short index] = {read=Get_DictionaryOpenCount};
  147.     __property short DictionarySymbolSetSize[short index] = {read=Get_DictionarySymbolSetSize};
  148.     __property int DictionaryWordCount[short index] = {read=Get_DictionaryWordCount};
  149.     __property System::AnsiString CreateCustomExtended[short index] = {write=Set_CreateCustomExtended};
  150.         
  151.     __property Word EnableDictionary[short index] = {write=Set_EnableDictionary};
  152.     __property Word EnableCustomUpdate[short index] = {write=Set_EnableCustomUpdate};
  153.     __property short LoadDictionary[short index] = {write=Set_LoadDictionary};
  154.     __property short UnloadDictionary[short index] = {write=Set_UnloadDictionary};
  155.     __property Word CustomIsReadOnly[short index] = {read=Get_CustomIsReadOnly};
  156.     __property Word CustomIsExtended[short index] = {read=Get_CustomIsExtended};
  157.     __property Word EnableStandardIRList[short index] = {write=Set_EnableStandardIRList};
  158.     __property System::AnsiString OpenCustom[Word loadit] = {write=Set_OpenCustom};
  159.     
  160. __published:
  161.     __property Word AutoPopup = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=4, nodefault
  162.         };
  163.     __property Word AutoReplace = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=5, nodefault
  164.         };
  165.     __property Word AutoSuggest = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=6, nodefault
  166.         };
  167.     __property short BreakWordCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=7
  168.         , nodefault};
  169.     __property short CacheSize = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=8, nodefault
  170.         };
  171.     __property short ErrorOffset = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=1, 
  172.         nodefault};
  173.     __property Word IgnoreFullCaps = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=9, 
  174.         nodefault};
  175.     __property Word IgnorePartialNumbers = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=10
  176.         , nodefault};
  177.     __property short MaxSuggestions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=11
  178.         , nodefault};
  179.     __property Word MultiLine = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=12, nodefault
  180.         };
  181.     __property short SuggestionsLimit = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=13
  182.         , nodefault};
  183.     __property System::AnsiString Version = {read=GetStringProp, write=SetStringProp, stored=false, index=14
  184.         , nodefault};
  185.     __property int CurrentLine = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=15, nodefault
  186.         };
  187.     __property short CustomCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=16
  188.         , nodefault};
  189.     __property int DLLHandle = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=17, nodefault
  190.         };
  191.     __property short EventOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=18
  192.         , nodefault};
  193.     __property System::AnsiString Hyphenation = {read=GetStringProp, write=SetStringProp, stored=false, 
  194.         index=19, nodefault};
  195.     __property short IRAction = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=20, nodefault
  196.         };
  197.     __property short IRWhereFound = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=21
  198.         , nodefault};
  199.     __property System::AnsiString LineBreak = {read=GetStringProp, write=SetStringProp, stored=false, index=22
  200.         , nodefault};
  201.     __property short LineOffset = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=23, 
  202.         nodefault};
  203.     __property System::AnsiString MisspelledWord = {read=GetStringProp, write=SetStringProp, stored=false
  204.         , index=24, nodefault};
  205.     __property int ReplaceCount = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=25, nodefault
  206.         };
  207.     __property System::AnsiString ReplacementWord = {read=GetStringProp, write=SetStringProp, stored=false
  208.         , index=26, nodefault};
  209.     __property short ResultCode = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=27, 
  210.         nodefault};
  211.     __property int ResumeOffset = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=28, nodefault
  212.         };
  213.     __property short SearchOrder = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=29
  214.         , nodefault};
  215.     __property short SpellOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=30
  216.         , nodefault};
  217.     __property short StandardCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=31
  218.         , nodefault};
  219.     __property short SuggestOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=32
  220.         , nodefault};
  221.     __property short SuggestionCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=33
  222.         , nodefault};
  223.     __property System::AnsiString Text = {read=GetStringProp, write=SetStringProp, stored=false, index=34
  224.         , nodefault};
  225.     __property short WhereFound = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=35, 
  226.         nodefault};
  227.     __property int WordCount = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=36, nodefault
  228.         };
  229.     __property int WordOffset = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=37, nodefault
  230.         };
  231.     __property Word AllowJoinedWords = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=38
  232.         , nodefault};
  233.     __property int DialogLeft = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=39, nodefault
  234.         };
  235.     __property int DialogTop = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=40, nodefault
  236.         };
  237.     __property Word ReplaceRecheck = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=41
  238.         , nodefault};
  239.     __property Graphics::TColor DialogBgColor = {read=GetColorProp, write=SetColorProp, stored=false, index=42
  240.         , nodefault};
  241.     __property int DialogLeftActual = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=43
  242.         , nodefault};
  243.     __property int DialogTopActual = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=44
  244.         , nodefault};
  245.     __property Word ReplaceOccurred = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=45
  246.         , nodefault};
  247.     __property Word SuggestionsMade = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=46
  248.         , nodefault};
  249.     __property short WordLength = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=47, 
  250.         nodefault};
  251.     __property int CacheHits = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=48, nodefault
  252.         };
  253.     __property int CacheMisses = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=49, nodefault
  254.         };
  255.     __property int TimerTicks = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=50, nodefault
  256.         };
  257.     __property int UserData = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=51, nodefault
  258.         };
  259.     __property System::AnsiString CheckedWord = {read=GetStringProp, write=SetStringProp, stored=false, 
  260.         index=52, nodefault};
  261.     __property Word CommonIRListIsEnabled = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=53
  262.         , nodefault};
  263.     __property System::AnsiString WordMisspelledTitle = {read=GetStringProp, write=SetStringProp, stored=false
  264.         , index=54, nodefault};
  265.     __property System::AnsiString OptionsTitle = {read=GetStringProp, write=SetStringProp, stored=false
  266.         , index=55, nodefault};
  267.     __property System::AnsiString ErrorTitle = {read=GetStringProp, write=SetStringProp, stored=false, 
  268.         index=56, nodefault};
  269.     __property System::AnsiString WordMisspelledHelpFile = {read=GetStringProp, write=SetStringProp, stored=false
  270.         , index=57, nodefault};
  271.     __property System::AnsiString OptionsHelpFile = {read=GetStringProp, write=SetStringProp, stored=false
  272.         , index=58, nodefault};
  273.     __property int DialogElements = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=59, 
  274.         nodefault};
  275.     __property int DialogWidth = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=60, nodefault
  276.         };
  277.     __property int DialogHeight = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=61, nodefault
  278.         };
  279.     __property System::AnsiString ErrorText = {read=GetStringProp, write=SetStringProp, stored=false, index=62
  280.         , nodefault};
  281.     __property int ClickedButton = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=63, 
  282.         nodefault};
  283.     __property int ClickInfo = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=64, nodefault
  284.         };
  285.     __property System::AnsiString ClickInfoText = {read=GetStringProp, write=SetStringProp, stored=false
  286.         , index=65, nodefault};
  287.     __property short AddToCommonIRList = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=66
  288.         , nodefault};
  289.     __property short BeginCheck = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=67, 
  290.         nodefault};
  291.     __property System::AnsiString CheckText = {read=GetStringProp, write=SetStringProp, stored=false, index=68
  292.         , nodefault};
  293.     __property System::AnsiString CheckWord = {read=GetStringProp, write=SetStringProp, stored=false, index=69
  294.         , nodefault};
  295.     __property short ClearCounts = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=70
  296.         , nodefault};
  297.     __property short ClearOffsets = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=71
  298.         , nodefault};
  299.     __property System::AnsiString FindSuggestions = {read=GetStringProp, write=SetStringProp, stored=false
  300.         , index=72, nodefault};
  301.     __property short ReplaceLastWord = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=73
  302.         , nodefault};
  303.     __property short ResumeCheck = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=74
  304.         , nodefault};
  305.     __property short ClearSuggestions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=75
  306.         , nodefault};
  307.     __property short PopupError = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=76, 
  308.         nodefault};
  309.     __property short PopupOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=77
  310.         , nodefault};
  311.     __property short PopupWordMisspelled = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  312.         index=78, nodefault};
  313.     __property System::AnsiString CreateCustom = {read=GetStringProp, write=SetStringProp, stored=false
  314.         , index=79, nodefault};
  315.     __property short ResumeWithRecheck = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=80
  316.         , nodefault};
  317.     __property Word EnableCommonIRList = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=81
  318.         , nodefault};
  319.     __property short ClearCommonIRList = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=82
  320.         , nodefault};
  321.     __property System::AnsiString RemoveFromCommonIRList = {read=GetStringProp, write=SetStringProp, stored=false
  322.         , index=83, nodefault};
  323.     __property short EnableEventOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=84
  324.         , nodefault};
  325.     __property short DisableEventOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  326.         index=85, nodefault};
  327.     __property short EnableSpellOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=86
  328.         , nodefault};
  329.     __property short DisableSpellOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  330.         index=87, nodefault};
  331.     __property short EnableSuggestOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  332.         index=88, nodefault};
  333.     __property short DisableSuggestOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  334.         , index=89, nodefault};
  335.     __property int EnableDialogElements = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=90
  336.         , nodefault};
  337.     __property int DisableDialogElements = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=91
  338.         , nodefault};
  339.     __property System::AnsiString StandardDictionary = {read=GetStringProp, write=SetStringProp, stored=false
  340.         , index=2, nodefault};
  341.     __property System::AnsiString CustomDictionary = {read=GetStringProp, write=SetStringProp, stored=false
  342.         , index=3, nodefault};
  343.     __property TVCSpellerMisspelled OnMisspelled = {read=FOnMisspelled, write=FOnMisspelled};
  344.     __property TVCSpellerComplete OnComplete = {read=FOnComplete, write=FOnComplete};
  345.     __property TVCSpellerFound OnFound = {read=FOnFound, write=FOnFound};
  346.     __property TVCSpellerBeforeReplace OnBeforeReplace = {read=FOnBeforeReplace, write=FOnBeforeReplace
  347.         };
  348.     __property TVCSpellerAfterReplace OnAfterReplace = {read=FOnAfterReplace, write=FOnAfterReplace};
  349.     __property TVCSpellerAfterPopup OnAfterPopup = {read=FOnAfterPopup, write=FOnAfterPopup};
  350.     __property TVCSpellerCheckStatus OnCheckStatus = {read=FOnCheckStatus, write=FOnCheckStatus};
  351.     __property TVCSpellerCheckError OnCheckError = {read=FOnCheckError, write=FOnCheckError};
  352.     __property TVCSpellerClickIn OnClickIn = {read=FOnClickIn, write=FOnClickIn};
  353.     __property TVCSpellerClickOut OnClickOut = {read=FOnClickOut, write=FOnClickOut};
  354. public:
  355.     /* TOleControl.Create */ __fastcall virtual TVCSpeller(Classes::TComponent* AOwner) : Olectrls::TOleControl(
  356.         AOwner) { }
  357.     /* TOleControl.Destroy */ __fastcall virtual ~TVCSpeller(void) { }
  358.     
  359. public:
  360.     /* TWinControl.CreateParented */ __fastcall TVCSpeller(HWND ParentWindow) : Olectrls::TOleControl(ParentWindow
  361.         ) { }
  362.     
  363. };
  364.  
  365. //-- var, const, procedure ---------------------------------------------------
  366. #define VSCAT_STANDARD (Word)(256)
  367. #define VSCAT_IRLIST (Word)(256)
  368. #define VSCAT_CUSTOM (Word)(512)
  369. #define VSCAT_ENABLED (Word)(1024)
  370. #define VSCAT_DISABLED (Word)(2048)
  371. #define VSDSTAT_ENABLED (Byte)(1)
  372. #define VSDSTAT_LOADED (Byte)(2)
  373. #define VSDSTAT_IRLIST_ENABLED (Byte)(4)
  374. #define VSDSTAT_UPDATEABLE (Byte)(8)
  375. #define VSDSTAT_READONLY (Byte)(16)
  376. #define VSDSTAT_EXTENDED (Byte)(32)
  377. #define VSDSTAT_HYPHENATION (Byte)(64)
  378. #define VSDSTAT_PHONETICS (Byte)(128)
  379. #define VSDSTAT_COMMONLIST (Word)(256)
  380. #define VSLANG_AMERICAN (Byte)(0)
  381. #define VSLANG_ENGLISH (Byte)(1)
  382. #define VSLANG_FRENCH (Byte)(2)
  383. #define VSLANG_GERMAN (Byte)(3)
  384. #define VSLANG_SPANISH (Byte)(4)
  385. #define VSLANG_PORTUGUESE (Byte)(5)
  386. #define VSLANG_ITALIAN (Byte)(6)
  387. #define VSLANG_DUTCH (Byte)(7)
  388. #define VSLANG_SWEDISH (Byte)(8)
  389. #define VSLANG_FINNISH (Byte)(9)
  390. #define VSLANG_NORWEGIAN (Byte)(10)
  391. #define VSLANG_LATIN (Byte)(11)
  392. #define VSLANG_WELSH (Byte)(12)
  393. #define VSLANG_POLISH (Byte)(13)
  394. #define VSLANG_HUNGARIAN (Byte)(14)
  395. #define VSLANG_FLEMISH (Byte)(15)
  396. #define VSLANG_CZECH (Byte)(16)
  397. #define VSLANG_ICELANDIC (Byte)(17)
  398. #define VSLANG_ESPERANTO (Byte)(18)
  399. #define VSLANG_CATALAN (Byte)(19)
  400. #define VSLANG_ROMANIAN (Byte)(20)
  401. #define VSLANG_BULGARIAN (Byte)(21)
  402. #define VSLANG_RUSSIAN (Byte)(22)
  403. #define VSLANG_QUECHUA (Byte)(23)
  404. #define VSLANG_TURKISH (Byte)(24)
  405. #define VSLANG_INDONESIAN (Byte)(25)
  406. #define VSLANG_HEBREW (Byte)(26)
  407. #define VSLANG_DANISH (Byte)(27)
  408. #define VSLANG_CANADIAN (Byte)(28)
  409. #define VSEVOPT_COMPLETE (Byte)(1)
  410. #define VSEVOPT_FOUND (Byte)(2)
  411. #define VSEVOPT_MISSPELLED (Byte)(4)
  412. #define VSEVOPT_BEFORE_REPLACE (Byte)(8)
  413. #define VSEVOPT_AFTER_POPUP (Byte)(16)
  414. #define VSEVOPT_CHECK_STATUS (Byte)(32)
  415. #define VSEVOPT_CHECK_ERROR (Byte)(64)
  416. #define VSEVOPT_AFTER_REPLACE (Byte)(128)
  417. #define VSEVOPT_CLICK_IN (Word)(256)
  418. #define VSEVOPT_CLICK_OUT (Word)(512)
  419. #define VSEVOPT_DEFAULTS (int)(65533)
  420. #define VSORDER_SCIR (Byte)(0)
  421. #define VSORDER_CIRS (Byte)(2)
  422. #define VSORDER_IRSC (Byte)(3)
  423. #define VSORDER_SIRC (Byte)(4)
  424. #define VSORDER_CSIR (Byte)(6)
  425. #define VSORDER_IRCS (Byte)(7)
  426. #define VSORDER_NO_LOOKAHEAD (Byte)(8)
  427. #define VSOPT_AUTO_REPLACE (Byte)(1)
  428. #define VSOPT_AUTO_SUGGEST (Byte)(2)
  429. #define VSOPT_AUTO_POPUP (Byte)(4)
  430. #define VSOPT_IGNORE_FULL_CAPS (Byte)(8)
  431. #define VSOPT_IGNORE_PARTIAL_NUMBERS (Byte)(16)
  432. #define VSOPT_MULTILINE (Byte)(32)
  433. #define VSOPT_IGNORE_PURE_NUMBERS (Byte)(64)
  434. #define VSOPT_ALLOW_JOINED_WORDS (Byte)(128)
  435. #define VSOPT_EXACT_MATCH (Word)(256)
  436. #define VSOPT_RETURN_EACH_WORD (Word)(512)
  437. #define VSOPT_REPLACE_RECHECK (Word)(1024)
  438. #define VSOPT_DEFAULTS (Word)(1127)
  439. #define VSSUGOPT_CAPITALIZATION (Byte)(1)
  440. #define VSSUGOPT_CHARSWAP (Byte)(2)
  441. #define VSSUGOPT_DELETES (Byte)(4)
  442. #define VSSUGOPT_DOUBLES (Byte)(8)
  443. #define VSSUGOPT_HYPHENS (Byte)(16)
  444. #define VSSUGOPT_SPLITS (Byte)(32)
  445. #define VSSUGOPT_EXCHANGES (Byte)(64)
  446. #define VSSUGOPT_INSERTIONS (Word)(512)
  447. #define VSSUGOPT_DEFAULTS (Word)(639)
  448. #define VSIR_GLOBAL (Byte)(1)
  449. #define VSIR_PROMPT (Byte)(2)
  450. #define VSIR_IGNORE (Byte)(4)
  451. #define VSIR_REPLACE (Byte)(8)
  452. #define VSIR_HYPHENATION (Byte)(16)
  453. #define VSIR_SPELLED_OK (Byte)(5)
  454. #define VSIR_REPLACE_ALL (Byte)(9)
  455. #define VSIR_MISSPELLED (Byte)(6)
  456. #define VSIR_PROMPT_REPLACE (Byte)(10)
  457. #define VS_DEFAULT_HANDLING (Byte)(0)
  458. #define VS_EVENT_HANDLED (Byte)(1)
  459. #define VS_CANCEL_SPELLCHECK (Byte)(2)
  460. #define VSCLICK_WORD_MISSPELLED_HELP (Byte)(1)
  461. #define VSCLICK_OPTIONS (Byte)(2)
  462. #define VSCLICK_PROMPT_REPLACE (Byte)(4)
  463. #define VSCLICK_ADD_TO_CUSTOM (Byte)(8)
  464. #define VSCLICK_REPLACE_ALL (Byte)(16)
  465. #define VSCLICK_REPLACE (Byte)(32)
  466. #define VSCLICK_IGNORE_ALL (Byte)(64)
  467. #define VSCLICK_IGNORE (Byte)(128)
  468. #define VSCLICK_SUGGEST_NOT_FOUND (Word)(256)
  469. #define VSCLICK_SUGGEST_REPLACE_WITH (Word)(512)
  470. #define VSCLICK_CANCEL_SPELLCHECK (Word)(1024)
  471. #define VSCLICK_THESAURUS (Word)(2048)
  472. #define VSCLICK_OPTIONS_HELP (int)(65536)
  473. #define VSCLICK_OPTIONS_OK (int)(131072)
  474. #define VSCLICK_OPTIONS_CANCEL (int)(262144)
  475. #define VSCLICK_OPEN_CUSTOM (int)(524288)
  476. #define VSCLICK_CLOSE_CUSTOM (int)(1048576)
  477. #define VSCLICK_OPEN_STANDARD (int)(2097152)
  478. #define VSCLICK_CLOSE_STANDARD (int)(4194304)
  479. #define VSCLICK_THESAURUS_OK (int)(16777216)
  480. #define VSCLICK_THESAURUS_SEARCH (int)(33554432)
  481. #define VSCLICK_THESAURUS_CANCEL (int)(67108864)
  482. #define VSCLICK_THESAURUS_HELP (int)(134217728)
  483. #define VSD_WORD_MISSPELLED_HELP (Byte)(1)
  484. #define VSD_OPTIONS (Byte)(2)
  485. #define VSD_PROMPT_REPLACE (Byte)(4)
  486. #define VSD_ADD_TO_CUSTOM (Byte)(8)
  487. #define VSD_REPLACE_ALL (Byte)(16)
  488. #define VSD_REPLACE (Byte)(32)
  489. #define VSD_IGNORE_ALL (Byte)(64)
  490. #define VSD_IGNORE (Byte)(128)
  491. #define VSD_SUGGEST_NOT_FOUND (Word)(256)
  492. #define VSD_SUGGEST_REPLACE_WITH (Word)(512)
  493. #define VSD_CANCEL_SPELLCHECK (Word)(1024)
  494. #define VSD_SUGGESTIONS_LIST (Word)(2048)
  495. #define VSD_REPLACE_BOX (Word)(4096)
  496. #define VSD_CUSTOM_LIST (Word)(8192)
  497. #define VSD_THESAURUS (Word)(16384)
  498. #define VSD_OPTIONS_HELP (int)(65536)
  499. #define VSD_CUSTOMS (int)(131072)
  500. #define VSD_STANDARDS (int)(262144)
  501. #define VSD_PERFORMANCE (int)(524288)
  502. #define VSD_SUGGESTION_LIMIT (int)(1048576)
  503. #define VSD_AUTO_SUGGESTIONS (int)(2097152)
  504. #define VSD_EXACT_MATCH (int)(4194304)
  505. #define VSD_IGNORE_FULL_CAPS (int)(8388608)
  506. #define VSD_IGNORE_PARTIAL (int)(16777216)
  507. #define VSD_IGNORE_PURE (int)(33554432)
  508. #define VSD_ALLOW_JOINED (int)(67108864)
  509. #define VSD_RECHECK (int)(134217728)
  510. #define VSD_THESAURUS_HELP (int)(268435456)
  511. #define VSD_THESAURUS_SEARCH (int)(536870912)
  512. #define VSR_WORD_MISSPELLED (Shortint)(-1)
  513. #define VSR_IGNORE_REPLACE (Shortint)(-2)
  514. #define VSR_CHECK_CANCELED (Shortint)(-3)
  515. #define VSR_BREAK (Shortint)(-4)
  516. #define VSR_FOUND (Shortint)(-5)
  517. #define VSR_REPLACED (Shortint)(-6)
  518. #define VSR_CHANGED (Shortint)(-7)
  519. #define VSR_END_LIST (Shortint)(-8)
  520. #define VSR_ENTRY_NOT_FOUND (Shortint)(-9)
  521. #define VSR_OPENED_READONLY (Shortint)(-11)
  522. #define VSR_REPLACE_OVERFLOW (Shortint)(-12)
  523. #define VSR_NOT_ADDED (Shortint)(-13)
  524. #define VSR_POPPED (Shortint)(-14)
  525. #define VSR_CLICK_IN (Shortint)(-15)
  526. #define VSR_CLICK_OUT (Shortint)(-16)
  527. #define VSR_NO_ERROR (Byte)(0)
  528. #define VSR_WORD_TOO_LONG (Byte)(1)
  529. #define VSR_NO_MISSPELL (Byte)(2)
  530. #define VSR_ALREADY_OPEN (Byte)(4)
  531. #define VSR_OPEN_FAILED (Byte)(5)
  532. #define VSR_CREATE_FAILED (Byte)(6)
  533. #define VSR_INVALID_DICTIONARY (Byte)(7)
  534. #define VSR_WRITE_FAILURE (Byte)(9)
  535. #define VSR_READ_FAILURE (Byte)(10)
  536. #define VSR_BAD_FILE_NAME (Byte)(11)
  537. #define VSR_NOT_UPDATEABLE (Byte)(12)
  538. #define VSR_DUPLICATE_WORD (Byte)(13)
  539. #define VSR_BAD_CUSTOM (Byte)(14)
  540. #define VSR_IN_EVENT (Byte)(15)
  541. #define VSR_NOT_LOADED (Byte)(16)
  542. #define VSR_REPLACE_ERROR (Byte)(17)
  543. #define VSR_CACHE_ERROR (Byte)(18)
  544. #define VSR_INVALID_CONTEXT (Byte)(19)
  545. #define VSR_NOTHING_TO_CHECK (Byte)(20)
  546. #define VSR_DIALOG_ERROR (Byte)(21)
  547. #define VSR_OUT_OF_MEMORY (Byte)(22)
  548. #define VSR_BAD_INDEX (Byte)(23)
  549. #define VSR_OUT_OF_STRING_SPACE (Byte)(24)
  550. #define VSR_IN_DIALOG (Byte)(25)
  551. #define VSR_FILE_EXISTS (Byte)(26)
  552. #define VB_OFFSET (Word)(32350)
  553. #define VBR_WORD_TOO_LONG (Word)(32351)
  554. #define VBR_NO_MISSPELL (Word)(32352)
  555. #define VBR_ALREADY_OPEN (Word)(32354)
  556. #define VBR_OPEN_FAILED (Word)(32355)
  557. #define VBR_CREATE_FAILED (Word)(32356)
  558. #define VBR_INVALID_DICTIONARY (Word)(32357)
  559. #define VBR_WRITE_FAILURE (Word)(32359)
  560. #define VBR_READ_FAILURE (Word)(32360)
  561. #define VBR_BAD_FILE_NAME (Word)(32361)
  562. #define VBR_NOT_UPDATEABLE (Word)(32362)
  563. #define VBR_DUPLICATE_WORD (Word)(32363)
  564. #define VBR_BAD_CUSTOM (Word)(32364)
  565. #define VBR_IN_EVENT (Word)(32365)
  566. #define VBR_NOT_LOADED (Word)(32366)
  567. #define VBR_REPLACE_ERROR (Word)(32367)
  568. #define VBR_CACHE_ERROR (Word)(32368)
  569. #define VBR_INVALID_CONTEXT (Word)(32369)
  570. #define VBR_NOTHING_TO_CHECK (Word)(32370)
  571. #define VBR_DIALOG_ERROR (Word)(32371)
  572. #define VBR_OUT_OF_MEMORY (Word)(32372)
  573. #define VBR_BAD_INDEX (Word)(32373)
  574. #define VBR_OUT_OF_STRING_SPACE (Word)(32374)
  575. #define VBR_IN_DIALOG (Word)(32375)
  576. #define VBR_FILE_EXISTS (Word)(32376)
  577. #define VS_ALL (Byte)(0)
  578. #define VS_MAXWORDSIZE (Byte)(75)
  579. extern void __fastcall Register(void);
  580.  
  581. }    /* namespace Vcspell */
  582.  
  583. #pragma warn .par
  584. #pragma warn .hid 
  585. #pragma warn .inl
  586.  
  587. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  588. using namespace Vcspell;
  589. #endif
  590. //-- end unit ----------------------------------------------------------------
  591. #endif    // VCSpell
  592.