mirror of
https://github.com/yuanyuanxiang/SimpleRemoter.git
synced 2026-01-21 23:13:08 +08:00
Improve: Remove F11 to leave full screen (Use popup dialog)
This commit is contained in:
30
server/2015Remote/ToolbarDlg.h
Normal file
30
server/2015Remote/ToolbarDlg.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
#include "Resource.h"
|
||||
|
||||
class CToolbarDlg : public CDialogEx
|
||||
{
|
||||
DECLARE_DYNAMIC(CToolbarDlg)
|
||||
|
||||
public:
|
||||
CToolbarDlg(CWnd* pParent = nullptr);
|
||||
virtual ~CToolbarDlg();
|
||||
|
||||
enum { IDD = IDD_TOOLBAR_DLG };
|
||||
|
||||
int m_nHeight = 40;
|
||||
bool m_bVisible = false;
|
||||
|
||||
void SlideIn();
|
||||
void SlideOut();
|
||||
void CheckMousePosition();
|
||||
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX);
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
public:
|
||||
afx_msg void OnBnClickedExitFullscreen();
|
||||
afx_msg void OnBnClickedMinimize();
|
||||
afx_msg void OnBnClickedClose();
|
||||
virtual BOOL OnInitDialog();
|
||||
};
|
||||
Reference in New Issue
Block a user