35 lines
917 B
C++
35 lines
917 B
C++
// AppBase.h: interface for the CAppBase class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_APPBASE_H__2548B69D_2507_4EDD_B527_F6059E2EDCA6__INCLUDED_)
|
|
#define AFX_APPBASE_H__2548B69D_2507_4EDD_B527_F6059E2EDCA6__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
class CAppBase
|
|
{
|
|
public:
|
|
CAppBase();
|
|
virtual ~CAppBase();
|
|
|
|
protected:
|
|
HWND m_hWnd;
|
|
|
|
public:
|
|
virtual BOOL Create( HINSTANCE hInstance, LPCTSTR lpszAppName, WNDPROC WindowProc, LPCTSTR lpszIconName, int nCmdShow);
|
|
virtual void Destroy( void);
|
|
virtual int Run( void);
|
|
virtual LRESULT WindowProc( HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lParam);
|
|
|
|
protected:
|
|
BOOL GenerateList( char *lpszFolderName);
|
|
BOOL ShowFolder( HANDLE hFile, char *lpszFolder);
|
|
void ToLower( char *lpszText);
|
|
|
|
};
|
|
|
|
#endif // !defined(AFX_APPBASE_H__2548B69D_2507_4EDD_B527_F6059E2EDCA6__INCLUDED_)
|