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

CKCSideBannerWnd: An MFC Banner Control that Can Add a Professional-looking Feel to Most Windows...

Rate me:
Please Sign up or sign in to vote.
4.94/5 (94 votes)
6 Nov 2003CPOL10 min read 368.8K   2.3K   138  
A CWnd-derived control that can attach itself to any window, without the programmer making provisions for it
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by SideBanner.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_SIDEBANNER_DIALOG           102
#define IDR_MAINFRAME                   128
#define IDI_KCLOGO                      130
#define IDB_TEXTURE                     134
#define IDC_BUTTON_TOP                  1001
#define IDC_BUTTON_RIGHT                1002
#define IDC_BUTTON_BOTTOM               1003
#define IDC_BUTTON_LEFT                 1004
#define IDC_EDIT_CAPTION                1005
#define IDC_EDIT_TITLE                  1006
#define IDC_RADIO_FLAT                  1009
#define IDC_RADIO_GRADIENT              1010
#define IDC_EDIT_EDGEOFFSET             1011
#define IDC_EDIT_CAPOFFSET              1012
#define IDC_EDIT_EDGEOFFSET2            1013
#define IDC_EDIT_CAPOFFSET2             1014
#define IDC_RADIO_TEXTURE               1015
#define IDC_EDIT_BANNERSIZE             1016
#define IDC_STATIC_COL1                 1019
#define IDC_STATIC_COL2                 1020
#define IDC_COMBO_HORZ                  1022
#define IDC_COMBO_VERT                  1023

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        135
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1025
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

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
Architect
Ireland Ireland
Peter Mares has no comment on himself. I'll let the objective humanoids do the damage Wink | ;)
He is currently developing a hobby MMO to prove that he can do it Wink | ;)

My Blog

All good things were meant to be improved

Comments and Discussions