//---------------------------------------------------------------------------- // EgalTech 2013-2014 //---------------------------------------------------------------------------- // File : KeyGeneratorDlg.cpp Data : 11.09.14 Versione : 1.5i2 // Contenuto : Dichiarazione della classe dialogo generatore chiavi. // // // // Modifiche : 11.09.14 DS Creazione modulo. // // //---------------------------------------------------------------------------- #pragma once //---------------------------------------------------------------------------- // CKeyGeneratorDlg dialog class CKeyGeneratorDlg : public CDialogEx { public : CKeyGeneratorDlg( const std::string& sFileToOpen, int nFlag, CWnd* pParent = NULL) ; protected: virtual void OnCancel( void) ; afx_msg void OnClose( void) ; afx_msg void OnOpenFile( void) ; afx_msg void OnGenerate( void) ; protected : virtual BOOL OnInitDialog( void) ; afx_msg void OnSysCommand( UINT nID, LPARAM lParam) ; afx_msg void OnPaint( void) ; afx_msg HCURSOR OnQueryDragIcon( void) ; private : bool LoadFile( const char* szFile) ; private : HICON m_hIcon ; std::string m_sFileToOpen ; bool m_bSpecial ; DECLARE_MESSAGE_MAP() } ;