⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hiddenwindow.h

📁 fax engine 传真引擎 relay fax 的开源项目 商业软件使用 高质量 高可靠
💻 H
字号:
/*****************************************************************************
* RelayFax Open Source Project
* Copyright 1996-2004 Alt-N Technologies, Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted only as authorized by the RelayFax Open 
* Source License.  A copy of this license is available in file LICENSE 
* in the top-level directory of the distribution.
*
* RelayFax is a registered trademark of Alt-N Technologies, Ltd.
*
* Individual files and/or contributed packages may be copyright by
* other parties and subject to additional restrictions.
*****************************************************************************/

#ifndef HIDDENWINDOW_H
#define HIDDENWINDOW_H

class CHiddenWindow  
{
public:
	CHiddenWindow();
	virtual ~CHiddenWindow();

	static LRESULT CALLBACK WndProc( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam );
	static void RegisterWindowClass( HINSTANCE hInstance );
	static void UnRegisterWindowClass( void );

	void InitWindow(void);
	void ShutdownWindow(void);

	void PostMessage( UINT msg, WPARAM wParam, LPARAM lParam );

	void SetTimer( UINT nID, UINT uElapse ) { ::SetTimer( m_hwnd, nID, uElapse, NULL ); };
	void KillTimer( UINT nID ) { ::KillTimer( m_hwnd, nID ); };

	virtual LRESULT HandleMsg( UINT msg, WPARAM wParam, LPARAM lParam );

protected:
	static char* s_WindowClass;
	static ATOM s_WindowClassAtom;
	static HINSTANCE s_hInstance;

	HWND	m_hwnd;		// hidden window handle
};

#endif // HIDDENWINDOW_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -