Click here to Skip to main content
15,881,281 members
Articles / Web Development / HTML

A Comprehensive CE Class Library to Replace ATL and MFC

Rate me:
Please Sign up or sign in to vote.
4.48/5 (14 votes)
4 Oct 2000CPOL 277.9K   998   70  
A collection of classes for CE that do not use ATL or MFC, plus an FTP client, database viewer, and sample application that solves beam deflection equations.
//Microsoft Developer Studio generated resource script.
//
#include "dbViewRes.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
#include "newres.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
    "dbViewRes.h\0"
END

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

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Data
//

IDR_MENU1 SHMENUBAR MOVEABLE PURE 
BEGIN
    IDR_MENU1, 5,
    I_IMAGENONE, IDOK, TBSTATE_ENABLED, 
    TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE, IDS_TOOLS, 0, 0,
    I_IMAGENONE, IDCANCEL, TBSTATE_ENABLED, 
    TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE, IDS_VIEW, 0, 1,
    0, IDM_PROPERTIES, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0, 2,
    1, IDM_DELRECORD, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0, 2,
    2, IDM_DELDB, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0, 2,
END



/////////////////////////////////////////////////////////////////////////////
//
// Menubar
//

IDR_MENU1 MENU DISCARDABLE 
BEGIN
    POPUP "Tools"
    BEGIN
        MENUITEM "Delete Database",             IDM_DELDB
        MENUITEM "Delete Record",               IDM_DELRECORD
        MENUITEM SEPARATOR
        MENUITEM "Database Properties...",      IDM_PROPERTIES
        MENUITEM "About dbView...",             IDM_ABOUT
        MENUITEM SEPARATOR
        MENUITEM "Close",                       IDM_QUIT
    END
    POPUP "View"
    BEGIN
        MENUITEM "Refresh",                     IDM_REFRESH
        MENUITEM "Options...",                  ID_VIEW_OPTIONS
    END
END


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

IDD_DBPROPHPC DIALOG DISCARDABLE  0, 0, 253, 82
STYLE WS_POPUP | WS_CAPTION
EXSTYLE 0x80000000L
CAPTION "Database Properties"
FONT 8, "Tahoma"
BEGIN
    ICON            IDI_DB,IDC_STATIC,4,4,20,20
    LTEXT           "Type:",IDC_STATIC,4,27,19,8
    LTEXT           "Records:",IDC_STATIC,4,38,30,8
    LTEXT           "Size:",IDC_STATIC,4,49,16,8
    LTEXT           "Modified:",IDC_STATIC,4,60,30,8
    LTEXT           "sdfsdf",IDC_STATIC_TYPE,45,27,66,8
    LTEXT           "sdfsdf",IDC_STATIC_RECORDS,45,38,66,8
    LTEXT           "sfsdf",IDC_STATIC_SIZE,45,49,66,8
    LTEXT           "sfsdf",IDC_STATIC_MODIFIED,45,60,66,8
    LTEXT           "sdfsdf",IDC_STATIC_NAME,35,9,76,8
    LTEXT           "sfsdf",IDC_STATIC_OID,45,71,66,8
    LTEXT           "OID:",IDC_STATIC,4,71,16,8
    CONTROL         "List1",IDC_KEYS,"SysListView32",LVS_REPORT | 
                    LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,120,4,129,75
END

IDD_FONTDLG DIALOG DISCARDABLE  0, 0, 139, 84
STYLE WS_POPUP | WS_CAPTION
EXSTYLE 0x80000000L
CAPTION "Font"
FONT 8, "Tahoma"
BEGIN
    LTEXT           "Font:",IDC_STATIC,4,3,17,8
    COMBOBOX        IDC_FONT,4,16,77,53,CBS_DROPDOWNLIST | CBS_SORT | 
                    WS_VSCROLL | WS_TABSTOP
    LTEXT           "Size:",IDC_STATIC,88,3,16,8
    COMBOBOX        IDC_FONTSIZE,88,16,33,53,CBS_DROPDOWNLIST | WS_VSCROLL | 
                    WS_TABSTOP
    LTEXT           "Preview:",IDC_STATIC,4,32,28,8
    CTEXT           "AaBbCcYyZz",IDC_STATIC_SAMPLE,4,44,77,36,NOT WS_GROUP
    CONTROL         "Bold",IDC_CHECK_BOLD,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,89,44,30,10
    CONTROL         "Italic",IDC_CHECK_ITAL,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,89,55,31,10
    CONTROL         "Underline",IDC_CHECK_UNDER,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,89,66,42,10
    GROUPBOX        "Style:",IDC_STATIC,86,32,49,48,BS_FLAT
END

IDD_ABOUT DIALOG DISCARDABLE  0, 0, 117, 113
STYLE WS_POPUP | WS_CAPTION
EXSTYLE 0x80000000L
CAPTION "About dbView"
FONT 8, "Tahoma"
BEGIN
    CTEXT           "dbView version 0.9",IDC_STATIC,30,8,69,8
    CTEXT           "Author: Kenny Goers\nKennyG@magenic.com\nMagenic Technologies\nhttp://www.magenic.com\nMicrosoft Software Development\n\nThis application is distributed as freeware but all rights to this application are reserved, and distribution for compensation is prohibited.",
                    IDC_NAME_STATIC,3,21,111,89
    ICON            IDI_DB,IDC_STATIC,5,2,21,20
    LTEXT           "",IDC_STATIC,3,67,111,40
END

IDD_DBPROPPPC DIALOG DISCARDABLE  0, 0, 122, 124
STYLE WS_POPUP | WS_CAPTION
EXSTYLE 0x80000000L
CAPTION "Database Properties"
FONT 8, "Tahoma"
BEGIN
    ICON            IDI_DB,IDC_STATIC,4,4,20,20
    LTEXT           "Type:",IDC_STATIC,4,27,19,8
    LTEXT           "Records:",IDC_STATIC,4,38,30,8
    LTEXT           "Size:",IDC_STATIC,4,49,16,8
    LTEXT           "Modified:",IDC_STATIC,4,60,30,8
    LTEXT           "",IDC_STATIC_TYPE,52,27,66,8
    LTEXT           "",IDC_STATIC_RECORDS,52,38,66,8
    LTEXT           "",IDC_STATIC_SIZE,52,49,66,8
    LTEXT           "",IDC_STATIC_MODIFIED,52,60,66,8
    LTEXT           "",IDC_STATIC_NAME,42,10,76,8
    LTEXT           "",IDC_STATIC_OID,52,71,66,8
    LTEXT           "OID:",IDC_STATIC,4,71,16,8
    CONTROL         "List1",IDC_KEYS,"SysListView32",LVS_REPORT | 
                    LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,4,83,114,37
END


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

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_DBPROPHPC, DIALOG
    BEGIN
        LEFTMARGIN, 4
        RIGHTMARGIN, 249
        TOPMARGIN, 4
        BOTTOMMARGIN, 78
    END

    IDD_FONTDLG, DIALOG
    BEGIN
        LEFTMARGIN, 4
        RIGHTMARGIN, 135
        TOPMARGIN, 3
        BOTTOMMARGIN, 80
    END

    IDD_ABOUT, DIALOG
    BEGIN
        LEFTMARGIN, 3
        RIGHTMARGIN, 114
        BOTTOMMARGIN, 110
    END

    IDD_DBPROPPPC, DIALOG
    BEGIN
        LEFTMARGIN, 4
        RIGHTMARGIN, 118
        TOPMARGIN, 4
        BOTTOMMARGIN, 120
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//

IDB_DELRECORD4          BITMAP  DISCARDABLE     "delrec.bp2"
IDB_DB4                 BITMAP  DISCARDABLE     "bitmap1.bmp"
IDB_DELDB4              BITMAP  DISCARDABLE     "db5.bmp"
IDB_HELP4               BITMAP  DISCARDABLE     "help4.bmp"
IDB_HELP16              BITMAP  DISCARDABLE     "help16.bmp"
IDB_DELDB16             BITMAP  DISCARDABLE     "deldb5.bmp"
IDB_DELRECORD16         BITMAP  DISCARDABLE     "delrecor.bmp"
IDR_MENU1_4             BITMAP  DISCARDABLE     "bitmap2.bmp"
IDR_MENU1_16            BITMAP  DISCARDABLE     "menu1_5.bmp"

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

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_DB                  ICON    DISCARDABLE     "icon1.ico"

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

STRINGTABLE DISCARDABLE 
BEGIN
    IDM_QUIT                "Quit\nQuit"
    IDS_DISCLAIMER          "This software and any accompanying materials are provided ""as is"" without warranty of any kind. Further, the author does not warrant, guarantee, or take any representations regarding the use, or the results of use, of the software or written materials in terms of correctness, accuracy, reliability, currentness or otherwise. The entire risk as to the results and performance of the software is assumed by you. Neither the author nor anyone else who has been involved in the creation, production or delivery of this product shall be liable for any direct, indirect, consequential or incidental damages (including damages for loss of business profits, business interruption, loss of business information and the like) arising out of the use or inability to use the product even if the author has been advised of the possibility of such damages. By using this software you acknowledge that you have read this warranty, understand it, and agree to be bound by it's terms and conditions."
    IDS_CHARITY             "Charityware is a derivative of the shareware concept. Users freely download software and if they choose to keep it they, on their honor, send a donation to the charity promoted by the software's author.\r\nThis is a fully functioning version of DbView and is provided for your evaluation and use.  If you continue to use it you are required to pay $5 to:\r\n\r\nSaint Matthew's Church\r\n490 Hall Avenue\r\nSaint Paul, MN 55107\r\n\r\nSaint Matthews is a poor, largely Hispanic, Catholic church and school in Saint Paul, Minnesota.  Your contribution will go to help them to cover costs for thier daycare center and other church sponsored programs.\r\n\r\nThis software is considered ""CharityWare"" in which the author requests that instead of a registration fee the user instead sends a donation to the charity. This is a win-win situation for all involved.  100% of the proceeds from DbView go to Saint Matthews Church.\r\nEven if you've never registered shareware before wouldn't this be the perfect time to start?"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_TOOLS               "Tools"
    IDS_VIEW                "View"
END

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



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions