Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

A Spell Checking Engine

, 5 Feb 2001
A free spell checking engine for use in your C++ applications. Includes the current US English dictionary
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
    "#define _AFX_NO_OLE_RESOURCES\r\n"
    "#define _AFX_NO_TRACKER_RESOURCES\r\n"
    "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
    "\r\n"
    "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
    "#ifdef _WIN32\r\n"
    "LANGUAGE 9, 1\r\n"
    "#pragma code_page(1252)\r\n"
    "#endif //_WIN32\r\n"
    "#include ""res\\FPSSpellChecker.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
    "#include ""afxres.rc""         // Standard components\r\n"
    "#endif\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME           ICON    DISCARDABLE     "res\\FPSSpellChecker.ico"

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 235, 55
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About FPSSpellChecker"
FONT 8, "MS Sans Serif"
BEGIN
    ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
    LTEXT           "FPSSpellChecker Version 1.0",IDC_STATIC,40,10,119,8,
                    SS_NOPREFIX
    LTEXT           "Copyright (C) 2001",IDC_STATIC,40,25,119,8
    DEFPUSHBUTTON   "OK",IDOK,178,7,50,14,WS_GROUP
END

IDD_SPELL_EDIT DIALOG DISCARDABLE  0, 0, 252, 154
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "FPSSpellChecker"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,195,7,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,195,24,50,14
    EDITTEXT        IDC_SPELL_CONTROL,7,7,181,140,ES_MULTILINE | 
                    ES_WANTRETURN | WS_VSCROLL
END

IDD_SPELL_CHECK DIALOG DISCARDABLE  0, 0, 322, 175
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Spelling"
FONT 8, "MS Sans Serif"
BEGIN
    LISTBOX         IDC_SUGGESTIONS,7,92,240,53,LBS_NOINTEGRALHEIGHT | 
                    WS_VSCROLL | WS_TABSTOP
    DEFPUSHBUTTON   "&Ignore",IDC_IGNORE,255,19,60,14
    PUSHBUTTON      "I&gnore All",IDC_IGNORE_ALL,255,38,60,14
    PUSHBUTTON      "&Add",IDC_ADD,255,57,60,14
    PUSHBUTTON      "&Change",IDC_CHANGE,255,92,60,14
    PUSHBUTTON      "Change A&l&l",IDC_CHANGE_ALL,255,111,60,14
    PUSHBUTTON      "AutoCo&r&rect",IDC_AUTO_CORRECT,255,130,60,14,
                    WS_DISABLED
    PUSHBUTTON      "&Options...",IDC_OPTIONS,120,154,60,14
    PUSHBUTTON      "&Undo",IDC_UNDO,187,154,60,14
    PUSHBUTTON      "&Cancel",IDC_CANCEL,255,154,60,14
    EDITTEXT        IDC_SENTENCE,7,19,240,53,ES_MULTILINE | ES_NOHIDESEL | 
                    WS_VSCROLL
    LTEXT           "Not in dictionary:",IDC_STATIC,7,7,54,8
    LTEXT           "Suggestions:",IDC_STATIC,7,80,42,8
END

IDD_SPELL_OPTION_GENERAL DIALOG DISCARDABLE  0, 0, 235, 194
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "General"
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "Check spelling as you type",IDC_CHECK_INLINE,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,17,20,138,10
    CONTROL         "Ignore words in UPPERCASE",IDC_IGNORE_UPPERCASE,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,17,33,138,10
    CONTROL         "Ignore words with numbers",IDC_IGNORE_NUMBERS,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,17,46,138,10
    CONTROL         "Ignore internet and file addresses",IDC_IGNORE_FILES,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,17,59,138,10
    COMBOBOX        IDC_LANGUAGE,17,85,93,77,CBS_DROPDOWNLIST | CBS_SORT | 
                    WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_DIC_MAIN,17,111,186,12,ES_AUTOHSCROLL
    PUSHBUTTON      "...",IDC_MAIN_BROWSE,205,111,15,12
    EDITTEXT        IDC_DIC_USER,17,137,186,12,ES_AUTOHSCROLL
    PUSHBUTTON      "...",IDC_USER_BROWSE,205,137,15,12
    EDITTEXT        IDC_DIC_COMMON,17,163,186,12,ES_AUTOHSCROLL
    PUSHBUTTON      "...",IDC_COMMON_BROWSE,205,163,15,12
    GROUPBOX        "Spelling Options",IDC_STATIC,7,7,221,9
    LTEXT           "Language:",IDC_STATIC,17,74,35,8
    LTEXT           "Main dictionary:",IDC_STATIC,17,100,50,8
    LTEXT           "User dictionary:",IDC_STATIC,17,126,50,8
    LTEXT           "Common mispellings dictionary:",IDC_STATIC,17,152,98,8
END

IDD_SPELL_OPTION_USER DIALOG DISCARDABLE  0, 0, 235, 194
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "User dictionary"
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "Dictionary Contents",-1,7,7,221,9
    EDITTEXT        IDC_WORDS,7,23,221,164,ES_MULTILINE | ES_WANTRETURN | 
                    WS_VSCROLL
END

IDD_SPELL_OPTION_COMMON DIALOG DISCARDABLE  0, 0, 235, 194
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "User dictionary"
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "Common Mispellings",IDC_STATIC,7,7,221,9
    GROUPBOX        "",IDC_STATIC,7,20,221,167
    EDITTEXT        IDC_INCORRECT,17,42,95,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_CORRECT,123,42,95,12,ES_AUTOHSCROLL
    LTEXT           "Incorrect Spelling",IDC_STATIC,17,31,56,8
    LTEXT           "Correct Spelling",IDC_STATIC,123,31,50,8
    CONTROL         "List1",IDC_LIST,"SysListView32",LVS_REPORT | 
                    LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | 
                    WS_BORDER | WS_TABSTOP,17,57,201,124
END

IDD_FPSSPELLCHECKER_DIALOG DIALOGEX 0, 0, 279, 221
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CAPTION "FPSSpellChecker"
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_WORD_TO_FIND,73,7,134,12,ES_AUTOHSCROLL
    LISTBOX         IDC_POSSIBLE_MATCHES,73,26,134,111,LBS_SORT | 
                    LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
    DEFPUSHBUTTON   "Search",IDC_SEARCH,222,7,50,14
    PUSHBUTTON      "Test Edit Ctrl",IDC_TEST_EDITCTRL,222,35,50,14
    PUSHBUTTON      "Do Test",IDC_DO_TEST,222,62,50,14
    EDITTEXT        IDC_INWORD,27,150,66,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_INWORD2,27,164,66,12,ES_AUTOHSCROLL
    LTEXT           "Word to lookup:",IDC_STATIC,7,7,52,8
    LTEXT           "Possible matches:",IDC_STATIC,7,25,58,8
    GROUPBOX        "",IDC_STATIC,7,178,265,36
    LTEXT           "Words in main dictionary:",IDC_STATIC,15,194,80,8
    EDITTEXT        IDC_WORD_COUNT,99,194,40,12,ES_AUTOHSCROLL | ES_READONLY
    GROUPBOX        "Test metaphone outputs",IDC_STATIC,7,140,265,39
    LTEXT           "In:",IDC_STATIC,15,152,9,8
    LTEXT           "Out:",IDC_STATIC,102,152,14,8
    EDITTEXT        IDC_OUTWORD,120,150,66,12,ES_AUTOHSCROLL | ES_READONLY | 
                    NOT WS_TABSTOP
    EDITTEXT        IDC_OUTWORD2,120,164,66,12,ES_AUTOHSCROLL | ES_READONLY | 
                    NOT WS_TABSTOP
    LTEXT           "Edit diff:",IDC_STATIC,195,152,26,8
    EDITTEXT        IDC_EDIT_DIFF,226,150,32,12,ES_AUTOHSCROLL | ES_READONLY | 
                    NOT WS_TABSTOP
END


#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 1,0,0,1
 PRODUCTVERSION 1,0,0,1
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x4L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904B0"
        BEGIN
            VALUE "CompanyName", "\0"
            VALUE "FileDescription", "FPSSpellChecker MFC Application\0"
            VALUE "FileVersion", "1, 0, 0, 1\0"
            VALUE "InternalName", "FPSSpellChecker\0"
            VALUE "LegalCopyright", "Copyright (C) 2001\0"
            VALUE "LegalTrademarks", "\0"
            VALUE "OriginalFilename", "FPSSpellChecker.EXE\0"
            VALUE "ProductName", "FPSSpellChecker Application\0"
            VALUE "ProductVersion", "1, 0, 0, 1\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

#endif    // !_MAC


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_ABOUTBOX, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 228
        TOPMARGIN, 7
        BOTTOMMARGIN, 48
    END

    IDD_SPELL_EDIT, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 245
        TOPMARGIN, 7
        BOTTOMMARGIN, 147
    END

    IDD_SPELL_CHECK, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 315
        TOPMARGIN, 7
        BOTTOMMARGIN, 168
    END

    IDD_SPELL_OPTION_GENERAL, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 228
        TOPMARGIN, 7
        BOTTOMMARGIN, 187
    END

    IDD_SPELL_OPTION_USER, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 228
        TOPMARGIN, 7
        BOTTOMMARGIN, 187
    END

    IDD_SPELL_OPTION_COMMON, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 228
        TOPMARGIN, 7
        BOTTOMMARGIN, 187
    END

    IDD_FPSSPELLCHECKER_DIALOG, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 272
        TOPMARGIN, 7
        BOTTOMMARGIN, 214
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//

IDD_SPELL_OPTION_GENERAL DLGINIT
BEGIN
    IDC_LANGUAGE, 0x403, 13, 0
0x6e45, 0x6c67, 0x7369, 0x2068, 0x5528, 0x2953, "\000" 
    0
END


/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_ABOUTBOX            "&About FPSSpellChecker..."
END

#endif    // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE 9, 1
#pragma code_page(1252)
#endif //_WIN32
#include "res\FPSSpellChecker.rc2"  // non-Microsoft Visual C++ edited resources
#include "afxres.rc"         // Standard components
#endif

/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Matt Gullett
Web Developer
United States United States
No Biography provided

| Advertise | Privacy | Mobile
Web01 | 2.8.140905.1 | Last Updated 6 Feb 2001
Article Copyright 2001 by Matt Gullett
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid