1
0
mirror of https://github.com/DxWnd/DxWnd.reloaded synced 2024-12-30 09:25:35 +01:00
DxWnd.reloaded/host/dxwndhostView.h

139 lines
3.9 KiB
C
Raw Permalink Normal View History

// dxwndhostView.h : CDxwndhostView class definition and interface declarations.
//
/////////////////////////////////////////////////////////////////////////////
#include "SystemTray.h"
#if !defined(AFX_DXWNDHOSTVIEW_H__E8E112CE_6FE9_4F01_AB94_D53F844D5A09__INCLUDED_)
#define AFX_DXWNDHOSTVIEW_H__E8E112CE_6FE9_4F01_AB94_D53F844D5A09__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDxwndhostView : public CListView
{
protected: // Create from serialization only features.
CDxwndhostView();
afx_msg void OnHotKey(UINT, UINT, UINT);
DECLARE_DYNCREATE(CDxwndhostView)
BOOL isUpdated;
BOOL isRegistryUpdated;
void SaveConfigFile();
BOOL OnInitDialog();
private:
void Resize(void);
TARGETMAP TargetMaps[MAXTARGETS];
PRIVATEMAP PrivateMaps[MAXTARGETS];
DEVMODE InitDevMode;
CSystemTray SystemTray;
int LastX, LastY, LastCX, LastCY;
CImageList m_cImageListNormal, m_cImageListSmall;
// Attributes
public:
CDxwndhostDoc* GetDocument();
// Operation
public:
// Override
// ClassWizard Generates a virtual function overrides.
//{{AFX_VIRTUAL(CDxwndhostView)
public:
virtual void OnDraw(CDC* pDC); // Be overridden when rendering this view.
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // Called once after the initial construction.
void UpdateHotKeys();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CDxwndhostView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CDxwndhostView)
afx_msg void OnDblclk(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnAdd();
afx_msg void OnAdd(char *);
afx_msg void OnDuplicate();
afx_msg void OnModify();
afx_msg void OnExport();
afx_msg void OnImport();
BOOL OnImport(CString);
afx_msg void OnDelete();
afx_msg void OnExplore();
afx_msg void OnKill();
afx_msg void OnProcessKill();
afx_msg void OnProcessKill(BOOL);
afx_msg void OnProcessKillAll();
afx_msg void OnPause();
afx_msg void OnResume();
afx_msg void OnWindowRestore();
afx_msg void OnWindowMinimize();
afx_msg void OnWindowClose();
afx_msg void OnTaskbarHide();
afx_msg void OnTaskbarShow();
afx_msg void OnSort();
afx_msg void OnGlobalSettings();
afx_msg void OnExpertModeToggle();
afx_msg void OnViewLog();
afx_msg void OnDeleteLog();
afx_msg void OnDebugView();
afx_msg void OnSetRegistry();
afx_msg void OnSetPath();
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRun();
afx_msg void OnRun(BOOL);
afx_msg void OnClearAllLogs();
afx_msg void OnGoToTrayIcon();
afx_msg void OnSaveFile();
afx_msg void OnHookStart();
afx_msg void OnInitMenu();
afx_msg void OnHookStop();
afx_msg void OnTrayRestore();
afx_msg void OnViewStatus();
afx_msg void OnViewShims();
afx_msg void OnViewDesktop();
afx_msg void OnViewPalette();
afx_msg void OnViewTimeSlider();
afx_msg void OnViewVirtualJoystick();
afx_msg void OnExit();
afx_msg void OnDesktopcolordepth8bpp();
afx_msg void OnDesktopcolordepth16bpp();
afx_msg void OnDesktopcolordepth24bpp();
afx_msg void OnDesktopcolordepth32bpp();
afx_msg void OnRecoverScreenMode();
afx_msg void OnClearCompatibilityFlags();
afx_msg void OnRecoverSystemColors();
afx_msg void OnMoveTop();
afx_msg void OnMoveUp();
afx_msg void OnMoveDown();
afx_msg void OnMoveBottom();
afx_msg void OnDropFiles(HDROP hDropInfo);
afx_msg void OnViewFlags();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // dxwndhostView.cpp for debugging environment.
inline CDxwndhostDoc* CDxwndhostView::GetDocument()
{ return (CDxwndhostDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ Will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DXWNDHOSTVIEW_H__E8E112CE_6FE9_4F01_AB94_D53F844D5A09__INCLUDED_)