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

📄 acthumbform.hpp

📁 I mComputermaster programmisDelphi+pascal
💻 HPP
字号:
// CodeGear C++Builder
// Copyright (c) 1995, 2007 by CodeGear
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Acthumbform.pas' rev: 11.00

#ifndef ActhumbformHPP
#define ActhumbformHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Stdctrls.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit
#include <Extctrls.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Acthumbform
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TThumbForm;
class PASCALIMPLEMENTATION TThumbForm : public Forms::TForm 
{
	typedef Forms::TForm inherited;
	
__published:
	void __fastcall FormHide(System::TObject* Sender);
	
private:
	HWND FScaledWnd;
	unsigned Thumbnail;
	void __fastcall SetScaledWnd(const HWND Value);
	__property HWND ScaledWnd = {read=FScaledWnd, write=SetScaledWnd, nodefault};
	Types::TRect __fastcall ScaledRect();
	Types::TPoint __fastcall CenterPoint();
	MESSAGE void __fastcall OnColorChanged(Messages::TMessage &Message);
	
public:
	int ScaleFactor;
	void __fastcall UpdateScaledWnd(void);
	void __fastcall UpdateThumbnail(void);
	virtual void __fastcall WndProc(Messages::TMessage &Message);
public:
	#pragma option push -w-inl
	/* TCustomForm.Create */ inline __fastcall virtual TThumbForm(Classes::TComponent* AOwner) : Forms::TForm(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.CreateNew */ inline __fastcall virtual TThumbForm(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TThumbForm(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TThumbForm(HWND ParentWindow) : Forms::TForm(ParentWindow) { }
	#pragma option pop
	
};


#pragma pack(push,1)
struct TDWMThumbnailProperties
{
	
public:
	unsigned dwFlags;
	Types::TRect rcDestination;
	Types::TRect rcSource;
	Byte opacity;
	BOOL fVisible;
	BOOL fSourceClientAreaOnly;
} ;
#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE HRESULT __fastcall DwmUnregisterThumbnail(unsigned hThumbnailId);
extern PACKAGE HRESULT __fastcall DwmGetColorizationColor(/* out */ unsigned &pcrColorization, /* out */ BOOL &pfOpaqueBlend);
extern PACKAGE HRESULT __fastcall DwmRegisterThumbnail(HWND hwndDestination, HWND hwndSource, /* out */ unsigned &phThumbnailId);
extern PACKAGE HRESULT __fastcall DwmUpdateThumbnailProperties(unsigned hThumbnailId, const TDWMThumbnailProperties &ptnProperties);

}	/* namespace Acthumbform */
using namespace Acthumbform;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Acthumbform

⌨️ 快捷键说明

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