📄 mod_rssim.h
字号:
/////////////////////////////////////////////////////////////////////////////
//
// FILE: MOD_sim.h : headder file
//
// See _README.CPP
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_TI_SIM_H__D74EE401_3D1B_4510_B1F5_58781391FEF1__INCLUDED_)
#define AFX_TI_SIM_H__D74EE401_3D1B_4510_B1F5_58781391FEF1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#ifndef WS_EX_LAYERED
#define WS_EX_LAYERED 0x00080000
#define LWA_COLORKEY 0x00000001
#define LWA_ALPHA 0x00000002
#endif // ndef WS_EX_LAYERED
// Preparation for the function we want to import from USER32.DLL
typedef BOOL (WINAPI *lpfnSetLayeredWindowAttributes)(HWND hWnd, COLORREF crKey, BYTE bAlpha, DWORD dwFlags);
extern lpfnSetLayeredWindowAttributes m_pSetLayeredWindowAttributes;
extern BOOL GetTNImport();
extern const CHAR lpsMyAppVersion[10];
#define __MY_APPVERSION__ (lpsMyAppVersion)
#define SIMULATOR_WINDOW_CLASSNAME "MYSimulator_Window_Classname"
/////////////////////////////////////////////////////////////////////////////
// CMOD_simApp:
// See MOD_sim.cpp for the implementation of this class
//
class CMOD_simApp : public CWinApp
{
public:
CMOD_simApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMOD_simApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
private:
CString m_htmBookmark;
public:
void GetMyHelpTopic(CString &topic);
void SetMyHelpTopic(LPCTSTR topic);
void OnHelp();
//{{AFX_MSG(CMOD_simApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
class SetCurrentTopic
{
public:
SetCurrentTopic();
SetCurrentTopic(LPCTSTR topic);
~SetCurrentTopic();
void SetHelpTopic(LPCTSTR topic) { SetTopic(topic);};
private:
CString m_topicLast;
void SetTopic(LPCTSTR topic);
void GetTopic(CString& topic);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TI_SIM_H__D74EE401_3D1B_4510_B1F5_58781391FEF1__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -