Add "don't show" to ShowComment.

This commit is contained in:
Glenn Maynard
2003-07-22 03:20:46 +00:00
parent 93689f8874
commit a91fed3848
4 changed files with 11 additions and 5 deletions
+2
View File
@@ -17,6 +17,7 @@ static char THIS_FILE[] = __FILE__;
ShowComment::ShowComment(CWnd* pParent /*=NULL*/)
: CDialog(ShowComment::IDD, pParent)
, m_bDontShow(FALSE)
{
//{{AFX_DATA_INIT(ShowComment)
// NOTE: the ClassWizard will add member initialization here
@@ -30,6 +31,7 @@ void ShowComment::DoDataExchange(CDataExchange* pDX)
//{{AFX_DATA_MAP(ShowComment)
DDX_Control(pDX, IDC_EDIT, m_edit);
//}}AFX_DATA_MAP
DDX_Check(pDX, IDC_DONTSHOW, m_bDontShow);
}
+2
View File
@@ -40,6 +40,8 @@ protected:
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
BOOL m_bDontShow;
};
//{{AFX_INSERT_LOCATION}}
+2 -2
View File
@@ -52,8 +52,8 @@
#define IDC_BUTTON_OVERRIDE 1037
#define IDC_BUTTON_HELP 1038
#define IDC_BUTTON_CLOSE 1039
#define IDC_CHECK1 1040
#define IDC_DONTASK 1041
#define IDC_DONTSHOW 1042
// Next default values for new objects
//
@@ -61,7 +61,7 @@
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 147
#define _APS_NEXT_COMMAND_VALUE 32771
#define _APS_NEXT_CONTROL_VALUE 1042
#define _APS_NEXT_CONTROL_VALUE 1043
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
+5 -3
View File
@@ -240,15 +240,17 @@ BEGIN
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,20,181,145,11
END
IDD_SHOW_COMMENT DIALOG 0, 0, 246, 186
IDD_SHOW_COMMENT DIALOGEX 0, 0, 246, 186
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Package Comment"
FONT 8, "MS Sans Serif"
FONT 8, "MS Sans Serif", 0, 0, 0x0
BEGIN
EDITTEXT IDC_EDIT,7,7,232,151,ES_MULTILINE | ES_AUTOHSCROLL |
EDITTEXT IDC_EDIT,7,7,232,137,ES_MULTILINE | ES_AUTOHSCROLL |
ES_READONLY
DEFPUSHBUTTON "OK",IDOK,72,165,50,14
PUSHBUTTON "Cancel",IDCANCEL,128,165,50,14
CONTROL "Don't display this dialog in the future",IDC_DONTSHOW,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,149,145,11
END