2012-12-24 10:20:23 -05:00
|
|
|
// 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();
|
2016-03-07 11:46:17 -05:00
|
|
|
afx_msg void OnHotKey(UINT, UINT, UINT);
|
2012-12-24 10:20:23 -05:00
|
|
|
DECLARE_DYNCREATE(CDxwndhostView)
|
2016-04-17 12:45:41 -04:00
|
|
|
BOOL isUpdated;
|
2017-01-11 11:49:18 -05:00
|
|
|
BOOL isRegistryUpdated;
|
2016-04-17 12:45:41 -04:00
|
|
|
void SaveConfigFile();
|
2016-10-07 12:46:22 -04:00
|
|
|
BOOL OnInitDialog();
|
2012-12-24 10:20:23 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
void Resize(void);
|
|
|
|
TARGETMAP TargetMaps[MAXTARGETS];
|
2015-09-09 12:41:24 -04:00
|
|
|
PRIVATEMAP PrivateMaps[MAXTARGETS];
|
2012-12-24 10:20:23 -05:00
|
|
|
DEVMODE InitDevMode;
|
|
|
|
CSystemTray SystemTray;
|
2013-02-06 11:19:16 -05:00
|
|
|
int LastX, LastY, LastCX, LastCY;
|
2013-06-15 12:21:25 -04:00
|
|
|
CImageList m_cImageListNormal, m_cImageListSmall;
|
2012-12-24 10:20:23 -05:00
|
|
|
|
|
|
|
// 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.
|
2016-03-07 11:46:17 -05:00
|
|
|
void UpdateHotKeys();
|
2012-12-24 10:20:23 -05:00
|
|
|
//}}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();
|
2016-10-07 12:46:22 -04:00
|
|
|
afx_msg void OnAdd(char *);
|
2016-03-16 12:45:22 -04:00
|
|
|
afx_msg void OnDuplicate();
|
2012-12-24 10:20:23 -05:00
|
|
|
afx_msg void OnModify();
|
2013-06-15 12:21:25 -04:00
|
|
|
afx_msg void OnExport();
|
|
|
|
afx_msg void OnImport();
|
2016-07-13 12:46:31 -04:00
|
|
|
BOOL OnImport(CString);
|
2012-12-24 10:20:23 -05:00
|
|
|
afx_msg void OnDelete();
|
|
|
|
afx_msg void OnExplore();
|
|
|
|
afx_msg void OnKill();
|
2013-01-07 11:38:05 -05:00
|
|
|
afx_msg void OnProcessKill();
|
2017-02-07 11:50:10 -05:00
|
|
|
afx_msg void OnProcessKill(BOOL);
|
2017-02-05 11:50:05 -05:00
|
|
|
afx_msg void OnProcessKillAll();
|
2013-06-15 12:21:25 -04:00
|
|
|
afx_msg void OnPause();
|
|
|
|
afx_msg void OnResume();
|
2015-03-17 12:40:30 -04:00
|
|
|
afx_msg void OnWindowRestore();
|
|
|
|
afx_msg void OnWindowMinimize();
|
|
|
|
afx_msg void OnWindowClose();
|
2015-07-14 12:41:06 -04:00
|
|
|
afx_msg void OnTaskbarHide();
|
|
|
|
afx_msg void OnTaskbarShow();
|
2012-12-24 10:20:23 -05:00
|
|
|
afx_msg void OnSort();
|
2016-03-07 11:46:17 -05:00
|
|
|
afx_msg void OnGlobalSettings();
|
2017-01-17 11:49:27 -05:00
|
|
|
afx_msg void OnExpertModeToggle();
|
2012-12-24 10:20:23 -05:00
|
|
|
afx_msg void OnViewLog();
|
|
|
|
afx_msg void OnDeleteLog();
|
2015-11-02 11:40:21 -05:00
|
|
|
afx_msg void OnDebugView();
|
2015-09-09 12:41:24 -04:00
|
|
|
afx_msg void OnSetRegistry();
|
2016-03-22 12:45:25 -04:00
|
|
|
afx_msg void OnSetPath();
|
2012-12-24 10:20:23 -05:00
|
|
|
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
|
|
|
|
afx_msg void OnRun();
|
2017-01-11 11:49:18 -05:00
|
|
|
afx_msg void OnRun(BOOL);
|
2012-12-24 10:20:23 -05:00
|
|
|
afx_msg void OnClearAllLogs();
|
|
|
|
afx_msg void OnGoToTrayIcon();
|
2013-01-04 10:30:38 -05:00
|
|
|
afx_msg void OnSaveFile();
|
2012-12-24 10:20:23 -05:00
|
|
|
afx_msg void OnHookStart();
|
|
|
|
afx_msg void OnInitMenu();
|
|
|
|
afx_msg void OnHookStop();
|
|
|
|
afx_msg void OnTrayRestore();
|
|
|
|
afx_msg void OnViewStatus();
|
2016-03-22 12:45:29 -04:00
|
|
|
afx_msg void OnViewShims();
|
2014-10-08 12:39:38 -04:00
|
|
|
afx_msg void OnViewDesktop();
|
2013-11-10 11:38:24 -05:00
|
|
|
afx_msg void OnViewPalette();
|
2013-01-19 11:16:54 -05:00
|
|
|
afx_msg void OnViewTimeSlider();
|
2017-02-23 11:50:25 -05:00
|
|
|
afx_msg void OnViewVirtualJoystick();
|
2012-12-24 10:20:23 -05:00
|
|
|
afx_msg void OnExit();
|
2013-12-22 11:38:36 -05:00
|
|
|
afx_msg void OnDesktopcolordepth8bpp();
|
|
|
|
afx_msg void OnDesktopcolordepth16bpp();
|
|
|
|
afx_msg void OnDesktopcolordepth24bpp();
|
|
|
|
afx_msg void OnDesktopcolordepth32bpp();
|
2016-03-22 12:45:25 -04:00
|
|
|
afx_msg void OnRecoverScreenMode();
|
|
|
|
afx_msg void OnClearCompatibilityFlags();
|
2017-02-15 11:50:18 -05:00
|
|
|
afx_msg void OnRecoverSystemColors();
|
2016-03-16 12:45:22 -04:00
|
|
|
afx_msg void OnMoveTop();
|
|
|
|
afx_msg void OnMoveUp();
|
|
|
|
afx_msg void OnMoveDown();
|
|
|
|
afx_msg void OnMoveBottom();
|
2016-10-07 12:46:22 -04:00
|
|
|
afx_msg void OnDropFiles(HDROP hDropInfo);
|
2017-02-02 11:50:00 -05:00
|
|
|
afx_msg void OnViewFlags();
|
2012-12-24 10:20:23 -05:00
|
|
|
//}}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_)
|