Click here to Skip to main content
15,888,600 members
Articles / Desktop Programming / MFC

Resource ID Organiser Add-In for Visual C++ 5.0/6.0/.NET

Rate me:
Please Sign up or sign in to vote.
4.98/5 (71 votes)
10 Jan 2005CPOL25 min read 531.9K   12.1K   201  
An application/add-in to organise and renumber resource symbol IDs
//Microsoft Developer Studio generated resource script.
//
#include "CJResource.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
    "CJResource.h\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_BTN_ARROW           BITMAP  DISCARDABLE     "res\\btn_arro.bmp"
IDB_BUTTON_IMAGES       BITMAP  DISCARDABLE     "res\\button_images.bmp"
IDB_PUSHPIN             BITMAP  DISCARDABLE     "res\\PushPin.bmp"
IDC_URL_CODEJOCKEY      BITMAP  DISCARDABLE     "res\\cj_logo.bmp"
IDR_GFXOUTBAR           BITMAP  MOVEABLE PURE   "res\\Toolbar.bmp"

/////////////////////////////////////////////////////////////////////////////
//
// Cursor
//

IDC_DRAGGING            CURSOR  DISCARDABLE     "res\\dragging.cur"
IDC_HANDCUR             CURSOR  DISCARDABLE     "res\\handcur.cur"
IDC_HSPLITBAR           CURSOR  DISCARDABLE     "res\\hsplitba.cur"
IDC_NODRAGGING          CURSOR  DISCARDABLE     "res\\nodraggi.cur"
IDC_VSPLITBAR           CURSOR  DISCARDABLE     "res\\vsplitba.cur"

/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

IDR_GFXOUTBAR MENU DISCARDABLE 
BEGIN
    POPUP "RClickOutbarButton"
    BEGIN
        MENUITEM "S&mall Icons",                ID_GFX_SMALLICON
        MENUITEM "Lar&ge Icons",                ID_GFX_LARGEICON
    END
END

IDR_POPUP_HEX_EDIT MENU DISCARDABLE 
BEGIN
    POPUP "_POPUP_"
    BEGIN
        MENUITEM "&Undo",                       ID_EDIT_UNDO
        MENUITEM SEPARATOR
        MENUITEM "Cu&t",                        ID_EDIT_CUT
        MENUITEM "&Copy",                       ID_EDIT_COPY
        MENUITEM "&Paste",                      ID_EDIT_PASTE
        MENUITEM "&Delete",                     ID_EDIT_CLEAR
        MENUITEM SEPARATOR
        MENUITEM "Select &All",                 ID_EDIT_SELECT_ALL
    END
END


/////////////////////////////////////////////////////////////////////////////
//
// Toolbar
//

IDR_GFXOUTBAR TOOLBAR DISCARDABLE  16, 15
BEGIN
    BUTTON      ID_GFX_LARGEICON
    BUTTON      ID_GFX_SMALLICON
END


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

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_HIDE                "Hide docked window"
    IDS_NAME                "Name"
    IDS_EXPAND              "Expand docked window"
    IDS_SIZE                "Size"
    IDS_CONTRACT            "Contract docked window"
    IDS_TYPE                "Type"
    IDS_MODIFIED            "Modified"
    IDS_REGKEY              "Software\\%s\\%s\\Settings"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_INVALID_VER         "Warning: This program requires comctl32.dll version 4.71 or greater."
    IDS_WIN_PLACEMENT       "%u,%u,%d,%d,%d,%d,%d,%d,%d,%d"
    IDS_COLOR_AUTO          "Automatic"
    IDS_COLOR_CUST          "Customize..."
    IDS_SECTION             "Settings"
    IDS_ENTRY               "Column Info"
    IDS_REMOVEITEM          "Re&move from Outlook Bar"
    IDS_RENAMEITEM          "&Rename Shortcut"
    ID_GFX_LARGEICON        "Display large icons"
    ID_GFX_SMALLICON        "Display small icons"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_SETTINGS            "Settings"
    IDS_TBAR_SETTINGS       "Toolbar %d Settings"
    ID_POPUP_CUSTOMIZE      "Allows the customization of the toolbar\nCustomize toolbar"
    IDS_WNDPOS              "Window Pos"
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
Founder Riverblade Limited
United Kingdom United Kingdom
I haven't always written software for a living. When I graduated from Surrey University in 1989, it was with an Electronic Engineering degree, but unfortunately that never really gave me the opportunity to do anything particularly interesting (with the possible exception of designing Darth Vader's Codpiece * for the UK Army in 1990).
    * Also known as the Standard Army Bootswitch. But that's another story...
Since the opportunity arose to lead a software team developing C++ software for Avionic Test Systems in 1996, I've not looked back. More recently I've been involved in the development of subsea acoustic navigation systems, digital TV broadcast systems, port security/tracking systems, and most recently software development tools with my own company, Riverblade Ltd.

One of my personal specialities is IDE plug-in development. ResOrg was my first attempt at a plug-in, but my day to day work is with Visual Lint, an interactive code analysis tool environment with works within the Visual Studio and Eclipse IDEs or on build servers.

I love lots of things, but particularly music, photography and anything connected with history or engineering. I despise ignorant, intolerant and obstructive people - and it shows...I can be a bolshy cow if you wind me up the wrong way...Laugh | :laugh:

I'm currently based 15 minutes walk from the beach in Bournemouth on the south coast of England. Since I moved here I've grown to love the place - even if it is full of grockles in Summer!

Comments and Discussions