Click here to Skip to main content
15,897,226 members
Articles / Desktop Programming / MFC

XHTMLTipOfTheDay - HTML Tip of the Day Dialog

Rate me:
Please Sign up or sign in to vote.
4.19/5 (17 votes)
14 Jun 2004CPOL4 min read 72.3K   1.3K   45  
XHTMLTipOfTheDay is a Tip of the Day dialog that displays HTML and has forward and back buttons.
//Microsoft Developer Studio generated resource script.
//
#include "XHTMLTipOfTheDayRes.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
    "\r\n"
    "\0"
END

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

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

#endif    // APSTUDIO_INVOKED


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

IDB_LIGHTBULB           BITMAP  DISCARDABLE     "lightbulb.bmp"

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

TIP_OF_THE_DAY DIALOG DISCARDABLE  0, 0, 280, 158
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Tip of the Day"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "IDC_SIDE",IDC_SIDE,8,8,36,122
    LTEXT           "IDC_LIGHTBULB",IDC_LIGHTBULB,16,16,20,20
    LTEXT           "IDC_HEADER",IDC_HEADER,44,8,228,36
    LTEXT           "IDC_TIPSTRING",IDC_TIPSTRING,44,44,228,86
    DEFPUSHBUTTON   "&Close",IDOK,223,138,50,14
    PUSHBUTTON      ">>",IDC_NEXTTIP,142,138,18,15
    PUSHBUTTON      "<<",IDC_PREVTIP,120,138,18,15
    CONTROL         "&Show tips at startup",IDC_STARTUP,"Button",
                    BS_AUTOCHECKBOX | BS_TOP | WS_TABSTOP,9,140,79,12
END


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

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    "TIP_OF_THE_DAY", DIALOG
    BEGIN
        RIGHTMARGIN, 276
        BOTTOMMARGIN, 157
    END
END
#endif    // APSTUDIO_INVOKED


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

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_WELCOME             "Welcome"
    IDS_DIDYOUKNOW          "Did you know..."
    IDS_TIP_FILE_MISSING    "Tips file missing:\r\n\r\n%s"
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
Software Developer (Senior) Hans Dietrich Software
United States United States
I attended St. Michael's College of the University of Toronto, with the intention of becoming a priest. A friend in the University's Computer Science Department got me interested in programming, and I have been hooked ever since.

Recently, I have moved to Los Angeles where I am doing consulting and development work.

For consulting and custom software development, please see www.hdsoft.org.






Comments and Discussions