// Native2Ascii.cpp : implementation file // #include "stdafx.h" #include "VisualJava.h" #include "Native2Ascii.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CNative2Ascii property page LPCTSTR CNative2Ascii::m_pOptions[]= { _T("-reverse"), _T("-encoding"), _T("-J"), NULL }; IMPLEMENT_DYNCREATE(CNative2Ascii, CSAPrefsSubDlg) CNative2Ascii::CNative2Ascii() : CSAPrefsSubDlg(CNative2Ascii::IDD) { //{{AFX_DATA_INIT(CNative2Ascii) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT } CNative2Ascii::~CNative2Ascii() { } void CNative2Ascii::DoDataExchange(CDataExchange* pDX) { CSAPrefsSubDlg::DoDataExchange(pDX); //{{AFX_DATA_MAP(CNative2Ascii) // NOTE: the ClassWizard will add DDX and DDV calls here //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CNative2Ascii, CSAPrefsSubDlg) //{{AFX_MSG_MAP(CNative2Ascii) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CNative2Ascii message handlers BOOL CNative2Ascii::OnInitDialog() { CSAPrefsSubDlg::OnInitDialog(); m_wndOptions.SubclassDlgItem(IDC_NATIVE2ASCII_OPTIONS,this); for(int i=0; m_pOptions[i] != NULL; i++) m_wndOptions.AddString(m_pOptions[i]); return TRUE; }
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.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)