mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-02-02 20:31:22 +00:00
d16da069e9
This is a thin wrapper around the Win32 API used in the Win32 Updater Dialog implementation.
43 lines
812 B
C++
43 lines
812 B
C++
///////////////////////////////////////////////////////
|
|
// Mainfrm.h
|
|
// Declaration of the CMainFrame class
|
|
|
|
#ifndef MAINFRM_H
|
|
#define MAINFRM_H
|
|
|
|
#include "Frame.h"
|
|
#include "File.h"
|
|
#include "View.h"
|
|
|
|
// required for Dev-C++
|
|
#ifndef OPENFILENAME_SIZE_VERSION_400
|
|
#define OPENFILENAME_SIZE_VERSION_400 sizeof(OPENFILENAME)
|
|
#endif
|
|
|
|
class CMainFrame : public CFrame
|
|
{
|
|
public:
|
|
CMainFrame(void);
|
|
virtual ~CMainFrame();
|
|
|
|
protected:
|
|
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
|
|
virtual void OnFileOpen();
|
|
virtual void OnFileSave();
|
|
virtual void OnFileSaveAs();
|
|
virtual void OnFilePrint();
|
|
virtual void SetupToolBar();
|
|
virtual LRESULT WndProc(UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
|
|
private:
|
|
enum Pens
|
|
{
|
|
RED, BLUE, GREEN, BLACK
|
|
};
|
|
|
|
CView m_View;
|
|
tString m_PathName;
|
|
};
|
|
|
|
#endif //MAINFRM_H
|
|
|