Click here to Skip to main content
15,893,594 members
Articles / Desktop Programming / MFC

CHyperLink: A Simple MFC HyperLink Button Class with Any Size 32bpp Icons Support

Rate me:
Please Sign up or sign in to vote.
4.65/5 (48 votes)
19 Jul 2018CPOL5 min read 209K   5.3K   86  
A class which encapsulates a hyperlink control for web page redirection or normal button usage
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by HyperLinkDemo.rc
//
#define IDR_RT_MANIFEST1                1
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_HYPERLINKDEMO_DIALOG        102
#define IDR_MAINFRAME                   128
#define IDI_ICON1                       130
#define IDI_ICON2                       131
#define IDI_ICON3                       133
#define IDI_ICON4                       136
#define IDI_ICON7                       143
#define IDI_ICON5                       145
#define IDI_ICON6                       146
#define IDI_ICON8                       147
#define IDI_ICON9                       148
#define ID_HYPERLINK1                   1000
#define IDC_CHECK1                      1001
#define IDC_CHECK2                      1002
#define IDC_CHECK3                      1003
#define IDC_CHECK4                      1004
#define IDC_CHECK5                      1005
#define IDC_CHECK6                      1006
#define IDC_CHECK7                      1007
#define IDC_CHECK8                      1008
#define IDC_CHECK9                      1009
#define IDC_CHECK10                     1010
#define IDC_CHECK11                     1011
#define IDC_CHECK12                     1012
#define IDC_CHECK15                     1013
#define IDC_CHECK16                     1014
#define IDC_CHECK17                     1015
#define IDC_CHECK18                     1016
#define IDC_EDIT3                       1021
#define IDC_CHECK13                     1022
#define IDC_EDIT4                       1023
#define IDC_BUTTON1                     1024
#define IDC_EDIT5                       1025
#define IDC_CHECK14                     1027
#define IDC_BUTTON2                     1028
#define IDC_EDIT9                       1029
#define IDC_BUTTON3                     1029
#define IDC_EDIT10                      1030
#define IDC_BUTTON4                     1030
#define IDC_EDIT11                      1031
#define IDC_BUTTON5                     1031
#define IDC_EDIT12                      1032
#define IDC_BUTTON6                     1032
#define IDC_EDIT13                      1033
#define IDC_BUTTON7                     1033
#define IDC_EDIT14                      1034
#define IDC_SLIDER1                     1034
#define IDC_EDIT15                      1035
#define IDC_LIST1                       1035
#define IDC_EDIT16                      1036
#define IDC_COMBO1                      1036
#define IDC_EDIT17                      1037

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        149
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1037
#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
Synved Ltd.
Ireland Ireland

Comments and Discussions