Click here to Skip to main content
15,881,139 members
Articles / Desktop Programming / MFC

CButtonSSL

Rate me:
Please Sign up or sign in to vote.
4.20/5 (8 votes)
4 Dec 2001CPOL32 min read 315.1K   6.9K   72  
An owner-drawn, flat, menu button that correctly handles the default state
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by SSLButtonExTest.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_SSLBUTTONEXTEST_DIALOG      102
#define IDS_STRING102                   102
#define IDR_MAINFRAME                   128
#define IDB_BITMAP1                     129
#define IDI_ICON1                       130
#define IDR_MENU1                       131
#define IDB_BITMAP2                     133
#define IDB_BITMAP3                     134
#define IDB_BITMAP4                     135
#define IDI_ICON2                       137
#define IDI_ICON3                       138
#define IDI_ICON4                       139
#define IDC_CURSOR1                     140
#define IDB_TICK                        141
#define IDB_CROSS                       142
#define IDR_MENU_OPTIONS                144
#define IDC_BUTTON1                     1000
#define IDC_CHECK_DEFAULT               1002
#define IDC_CHECK_FLAT                  1003
#define IDC_CHECK_MENU                  1004
#define IDC_RADIO_LEFT                  1005
#define IDC_RADIO_CENTER                1006
#define IDC_RADIO_RIGHT                 1007
#define IDC_RADIO_TOP                   1008
#define IDC_RADIO_MIDDLE                1009
#define IDC_RADIO_BOTTOM                1010
#define IDC_CHECK_ENABLE                1011
#define IDC_RADIO_LEFT2                 1012
#define IDC_RADIO_CENTER2               1013
#define IDC_RADIO_RIGHT2                1014
#define IDC_RADIO_TOP2                  1015
#define IDC_RADIO_MIDDLE2               1016
#define IDC_RADIO_BOTTOM2               1017
#define IDC_CHECK_AUTOSIZE              1018
#define ID_POPUP_MENUITEM2              32772
#define ID__MENUITEM1_POPUPITEM1        32773
#define ID__MENUITEM1_POPUPITEM2        32774
#define ID_OPTIONS_FLATBUTTON           32777
#define ID_OPTIONS_MENUBUTTON           32778
#define ID_OPTIONS_AUTOSIZE             32779
#define ID_OPTIONS_TEXTALIGNMENT_LEFT   32780
#define ID_OPTIONS_TEXTALIGNMENT_CENTRE 32781
#define ID_OPTIONS_TEXTALIGNMENT_RIGHT  32782
#define ID_OPTIONS_TEXTALIGNMENT_TOP    32783
#define ID_OPTIONS_TEXTALIGNMENT_MIDDLE 32784
#define ID_OPTIONS_TEXTALIGNMENT_BOTTOM 32785
#define ID_OPTIONS_IMAGEALIGNMENT_LEFT  32786
#define ID_OPTIONS_IMAGEALIGNMENT_CENTRE 32787
#define ID_OPTIONS_IMAGEALIGNMENT_RIGHT 32788
#define ID_OPTIONS_IMAGEALIGNMENT_TOP   32789
#define ID_OPTIONS_IMAGEALIGNMENT_MIDDLE 32790
#define ID_OPTIONS_IMAGEALIGNMENT_BOTTOM 32791

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        145
#define _APS_NEXT_COMMAND_VALUE         32792
#define _APS_NEXT_CONTROL_VALUE         1020
#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
Software Developer (Senior)
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions