Click here to Skip to main content
15,895,142 members
Articles / Desktop Programming / Win32

SWF Summary Shell Extension (PropertyPage for SWF files!)

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
13 Jul 2010CPOL7 min read 35.2K   899   17  
This application adds a property page to show SWF properties in the Windows file properties window.
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"

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

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

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// 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 0x2L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"
        BEGIN
            VALUE "FileDescription", "SwfSummary Module"
            VALUE "FileVersion", "1.0.0.1"
            VALUE "InternalName", "SwfSummary"
            VALUE "LegalCopyright", "Copyright 2009 by Daniel Cohen Gindi (danielgindi@gmail.com)"
            VALUE "OriginalFilename", "SwfSummary.DLL"
            VALUE "ProductName", "SwfSummary Module"
            VALUE "ProductVersion", "1.0.0.1"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END


/////////////////////////////////////////////////////////////////////////////
//
// REGISTRY
//

IDR_SWFSUMMARYSHLEXT    REGISTRY                "SwfSummaryShlExt.rgs"

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

IDD_SWFSUMMARY_PROPPAGE DIALOGEX 0, 0, 222, 158
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    EDITTEXT        IDC_COMPRESSED,63,33,93,12,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_VERSION,63,48,93,12,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_FRAME_RATE,63,63,93,12,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_FRAME_WIDTH,63,77,93,12,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_FRAME_HEIGHT,63,91,93,12,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_FRAME_COUNT,63,105,93,12,ES_AUTOHSCROLL | ES_READONLY
    LTEXT           "",IDC_FILENAME,7,7,208,8
    CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,23,208,1
    LTEXT           "Version:",IDC_STATIC,7,49,51,8
    LTEXT           "Frame Rate:",IDC_STATIC,7,64,51,8
    LTEXT           "Frame Width:",IDC_STATIC,7,78,51,8
    LTEXT           "Compressed:",IDC_STATIC,7,34,51,8
    LTEXT           "Frame Height:",IDC_STATIC,7,92,51,8
    LTEXT           "Frame Count:",IDC_STATIC,7,107,51,8
END


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

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO 
BEGIN
    IDD_SWFSUMMARY_PROPPAGE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 215
        VERTGUIDE, 156
        TOPMARGIN, 7
        BOTTOMMARGIN, 151
        HORZGUIDE, 33
        HORZGUIDE, 76
        HORZGUIDE, 120
    END
END
#endif    // APSTUDIO_INVOKED


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

STRINGTABLE 
BEGIN
    IDS_PROJNAME            "SwfSummary"
END

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


/////////////////////////////////////////////////////////////////////////////
// Hebrew resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_HEB)
#ifdef _WIN32
LANGUAGE LANG_HEBREW, SUBLANG_DEFAULT
#pragma code_page(1255)
#endif //_WIN32

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

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

#endif    // APSTUDIO_INVOKED


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

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_TAB_ICON            ICON                    "res\\swf.ico"
#endif    // Hebrew 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)
Israel Israel
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions