Click here to Skip to main content
15,886,787 members
Articles / Desktop Programming / MFC

A Java Language IDE

Rate me:
Please Sign up or sign in to vote.
4.33/5 (26 votes)
13 May 2004CPOL3 min read 80.4K   3.4K   41  
This is a partially implemented IDE for the Java platform.
/////////////////////////////////////////////////////////////////////////////
// Copyright (C) 1998 by Jorge Lodos
// All rights reserved
//
// Distribute and use freely, except:
// 1. Don't alter or remove this notice.
// 2. Mark the changes you made
//
// Send bug reports, bug fixes, enhancements, requests, etc. to:
//    lodos@cigb.edu.cu
/////////////////////////////////////////////////////////////////////////////

#ifndef __EDFOPDLG_H__INCLUDED__
#define __EDFOPDLG_H__INCLUDED__

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// edfopdlg.h : header file
//

#include "dib.h"
#include "dibstat.h"

/////////////////////////////////////////////////////////////////////////////
// CEditFileOpenDlg dialog

class EDITPADC_CLASS CEditFileOpenDlg : public CFileDialog
  {
      DECLARE_DYNAMIC (CEditFileOpenDlg)
    
    public:
      CEditFileOpenDlg (BOOL bOpenFileDialog, LPCTSTR lpszDefExt = NULL, LPCTSTR lpszFileName = NULL,
      DWORD dwFlags = OFN_HIDEREADONLY|OFN_OVERWRITEPROMPT, LPCTSTR lpszFilter = NULL, CWnd *pParentWnd = NULL);
    
    // Attributes
    //{{AFX_DATA(CEditFileOpenDlg)
    enum { IDD = IDD_EDFILEOPEN };
    //}}AFX_DATA
    public:
      BOOL m_bPreview, m_bRecode;
      CDIBStatic m_ctlDib;
      CStatic m_ctlText, m_ctlDesc;
      CComboBox m_ctlEncodings, m_ctlFormat;
      CButton m_ctlPreview;
      int m_nEncoding, m_nFormat;
    
    // ClassWizard generated virtual function overrides
    //{{AFX_VIRTUAL(CEditFileOpenDlg)
    protected :
      virtual void DoDataExchange (CDataExchange * pDX);    // DDX/DDV support
    //}}AFX_VIRTUAL

    // Implementation
   public:
      BOOL LoadDib (LPCTSTR pszName);
      void RemoveDib ();

#ifdef _DEBUG
      virtual void Dump (CDumpContext &dc) const;
#endif // _DEBUG
    protected:
      //{{AFX_MSG(CEditFileOpenDlg)
      virtual BOOL OnInitDialog ();
      afx_msg void OnPreview ();
      afx_msg void OnRecode ();
      afx_msg BOOL OnQueryNewPalette ();
      afx_msg void OnPaletteChanged (CWnd *pFocusWnd);
      afx_msg void OnSetFocus (CWnd *pOldWnd);
      afx_msg void OnSize(UINT nType, int cx, int cy);
      afx_msg void OnChangeEncoding ();
      afx_msg void OnChangeFormat ();
	//}}AFX_MSG
      virtual void OnFileNameChange ();
      virtual void OnFolderChange ();
    
      DECLARE_MESSAGE_MAP ()
  };

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // __EDFOPDLG_H__INCLUDED__

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
Web Developer
United States United States
biography? I am not that old yet.

Comments and Discussions