📄 suiform.hpp
字号:
// CodeGear C++Builder
// Copyright (c) 1995, 2008 by CodeGear
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Suiform.pas' rev: 20.00
#ifndef SuiformHPP
#define SuiformHPP
#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 <Controls.hpp> // Pascal unit
#include <Extctrls.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Comctrls.hpp> // Pascal unit
#include <Menus.hpp> // Pascal unit
#include <Dialogs.hpp> // Pascal unit
#include <Buttons.hpp> // Pascal unit
#include <Appevnts.hpp> // Pascal unit
#include <Math.hpp> // Pascal unit
#include <Suititlebar.hpp> // Pascal unit
#include <Suithemes.hpp> // Pascal unit
#include <Suimgr.hpp> // Pascal unit
#include <Suibutton.hpp> // Pascal unit
#include <Suiscrollbar.hpp> // Pascal unit
#include <Frmmsnpop.hpp> // Pascal unit
#include <Sui2define.hpp> // Pascal unit
#include <Toolwin.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Suiform
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TsuiMenuBar;
class DELPHICLASS TsuiForm;
class DELPHICLASS TsuiMDIForm;
class PASCALIMPLEMENTATION TsuiMenuBar : public Comctrls::TToolBar
{
typedef Comctrls::TToolBar inherited;
private:
TsuiForm* m_Form;
TsuiMDIForm* m_MDIForm;
void __fastcall OnMenuPopup(System::TObject* Sender);
HIDESBASE MESSAGE void __fastcall CMDialogChar(Messages::TWMKey &Message);
protected:
virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation);
public:
/* TToolBar.Create */ inline __fastcall virtual TsuiMenuBar(Classes::TComponent* AOwner) : Comctrls::TToolBar(AOwner) { }
/* TToolBar.Destroy */ inline __fastcall virtual ~TsuiMenuBar(void) { }
public:
/* TWinControl.CreateParented */ inline __fastcall TsuiMenuBar(HWND ParentWindow) : Comctrls::TToolBar(ParentWindow) { }
};
class PASCALIMPLEMENTATION TsuiForm : public Extctrls::TCustomPanel
{
typedef Extctrls::TCustomPanel inherited;
private:
Suititlebar::TsuiTitleBar* m_TitleBar;
TsuiMenuBar* m_MenuBar;
Menus::TMainMenu* m_Menu;
Classes::TWndMethod m_OldWndProc;
int m_BottomBorderWidth;
int m_OldBottomBorderWidth;
int m_LeftBorderWidth;
int m_OldLeftBorderWidth;
int m_RightBorderWidth;
Graphics::TBitmap* m_BottomBufRgn;
Graphics::TColor m_TransparentColor;
bool m_TitleNeedRegion;
bool m_BottomNeedRegion;
int m_TitleRegionMin;
int m_TitleRegionMax;
int m_BottomRegionMin;
int m_BottomRegionMax;
bool m_MaxFlag;
bool m_MaxFlag2;
bool m_MaxFlag3;
Forms::TFormBorderStyle m_OldBorderStyle;
Forms::TForm* m_Form;
Graphics::TColor m_Color;
Extctrls::TCustomPanel* m_Panel;
int m_Width;
Suithemes::TsuiUIStyle m_UIStyle;
Suimgr::TsuiFileTheme* m_FileTheme;
Graphics::TColor m_MenuBarColor;
Graphics::TColor m_MenuBarToColor;
int m_MenuBarHeight;
bool m_UIStyleAutoUpdateSub;
bool m_Destroyed;
Appevnts::TApplicationEvents* m_AppEvent;
Types::TRect m_FormInitRect;
bool m_FormInitMax;
bool m_MDIChildFormTitleVisible;
bool m_SelfChanging;
void __fastcall NewParentWndProc(Messages::TMessage &Msg);
void __fastcall ProcessKeyPress(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMERASEBKGND(Messages::TMessage &Msg);
void __fastcall SetButtons(const Suititlebar::TsuiTitleBarButtons* Value);
Suititlebar::TsuiTitleBarButtons* __fastcall GetButtons(void);
Suititlebar::TsuiTitleBarButtonClickEvent __fastcall GetOnBtnClick();
void __fastcall SetOnBtnClick(const Suititlebar::TsuiTitleBarButtonClickEvent Value);
Suititlebar::TsuiTitleBarButtonClickEvent __fastcall GetOnHelpBtnClick();
void __fastcall SetOnHelpBtnClick(const Suititlebar::TsuiTitleBarButtonClickEvent Value);
Graphics::TFont* __fastcall GetFont(void);
HIDESBASE void __fastcall SetFont(const Graphics::TFont* Value);
Controls::TCaption __fastcall GetCaption();
void __fastcall SetCaption(const Controls::TCaption Value);
void __fastcall SetMenu(const Menus::TMainMenu* Value);
void __fastcall SetMenuBarColor(const Graphics::TColor Value);
Suititlebar::TsuiTitleBarSections* __fastcall GetSections(void);
void __fastcall SetSections(const Suititlebar::TsuiTitleBarSections* Value);
HIDESBASE void __fastcall SetColor(const Graphics::TColor Value);
bool __fastcall GetDrawAppIcon(void);
void __fastcall SetDrawAppIcon(const bool Value);
void __fastcall SetMenuBarHeight(const int Value);
void __fastcall SetTitleBarVisible(const bool Value);
bool __fastcall GetTitleBarVisible(void);
bool __fastcall GetMDIChild(void);
int __fastcall GetRoundCorner(void);
void __fastcall SetRoundCorner(const int Value);
int __fastcall GetRoundCornerBottom(void);
void __fastcall SetRoundCornerBottom(const int Value);
void __fastcall SetFileTheme(const Suimgr::TsuiFileTheme* Value);
void __fastcall DrawButton(Comctrls::TToolBar* Sender, Comctrls::TToolButton* Button, Comctrls::TCustomDrawState State, bool &DefaultDraw);
void __fastcall DrawMenuBar(Comctrls::TToolBar* Sender, const Types::TRect &ARect, bool &DefaultDraw);
void __fastcall OnApplicationMessage(tagMSG &Msg, bool &Handled);
int __fastcall GetTitleBarHeight(void);
bool __fastcall GetTitleBarCustom(void);
void __fastcall SetTitleBarCustom(const bool Value);
System::UnicodeString __fastcall GetVersion();
void __fastcall SetVersion(const System::UnicodeString Value);
System::UnicodeString __fastcall GetAbout();
void __fastcall RegionWindow(void);
Graphics::TColor __fastcall GetInactiveCaptionColor(void);
void __fastcall SetInactiveCaptionColor(const Graphics::TColor Value);
void __fastcall SetMenuBarToColor(const Graphics::TColor Value);
int __fastcall GetMenuBarHeight(void);
void __fastcall SetAbout(const System::UnicodeString Value);
Suititlebar::TsuiTitleBarButtonClickEvent2 __fastcall GetOnMaxBtnClick();
Suititlebar::TsuiTitleBarButtonClickEvent2 __fastcall GetOnMinBtnClick();
void __fastcall SetOnMaxBtnClick(const Suititlebar::TsuiTitleBarButtonClickEvent2 Value);
void __fastcall SetOnMinBtnClick(const Suititlebar::TsuiTitleBarButtonClickEvent2 Value);
protected:
void __fastcall SetPanel(const Extctrls::TCustomPanel* Value);
HIDESBASE void __fastcall SetBorderWidth(const int Value);
void __fastcall SetUIStyle(const Suithemes::TsuiUIStyle Value);
virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation);
virtual void __fastcall Paint(void);
DYNAMIC void __fastcall Resize(void);
virtual void __fastcall Loaded(void);
void __fastcall CreateMenuBar(void);
void __fastcall DestroyMenuBar(void);
public:
__fastcall virtual TsuiForm(Classes::TComponent* AOwner);
__fastcall virtual ~TsuiForm(void);
void __fastcall UpdateMenu(void);
void __fastcall UpdateTopMenu(void);
void __fastcall RepaintMenuBar(void);
void __fastcall PaintFormBorder(void);
void __fastcall AddHelpButton(void);
__property bool MDIChild = {read=GetMDIChild, nodefault};
__property int TitleBarHeight = {read=GetTitleBarHeight, nodefault};
void __fastcall ReAssign(void);
__published:
__property bool TitleBarCustom = {read=GetTitleBarCustom, write=SetTitleBarCustom, nodefault};
__property Suimgr::TsuiFileTheme* FileTheme = {read=m_FileTheme, write=SetFileTheme};
__property Suithemes::TsuiUIStyle UIStyle = {read=m_UIStyle, write=SetUIStyle, nodefault};
__property bool UIStyleAutoUpdateSub = {read=m_UIStyleAutoUpdateSub, write=m_UIStyleAutoUpdateSub, nodefault};
__property Graphics::TColor BorderColor = {read=m_Color, write=SetColor, nodefault};
__property int BorderWidth = {read=m_Width, write=SetBorderWidth, nodefault};
__property bool TitleBarVisible = {read=GetTitleBarVisible, write=SetTitleBarVisible, default=1};
__property BiDiMode;
__property Color = {default=-16777201};
__property Controls::TCaption Caption = {read=GetCaption, write=SetCaption};
__property Extctrls::TCustomPanel* FormPanel = {read=m_Panel, write=SetPanel};
__property Suititlebar::TsuiTitleBarButtons* TitleBarButtons = {read=GetButtons, write=SetButtons};
__property Suititlebar::TsuiTitleBarSections* TitleBarSections = {read=GetSections, write=SetSections};
__property bool TitleBarDrawAppIcon = {read=GetDrawAppIcon, write=SetDrawAppIcon, nodefault};
__property Graphics::TFont* Font = {read=GetFont, write=SetFont};
__property Menus::TMainMenu* Menu = {read=m_Menu, write=SetMenu};
__property Graphics::TColor MenuBarColor = {read=m_MenuBarColor, write=SetMenuBarColor, nodefault};
__property Graphics::TColor MenuBarToColor = {read=m_MenuBarToColor, write=SetMenuBarToColor, nodefault};
__property int MenuBarHeight = {read=GetMenuBarHeight, write=SetMenuBarHeight, nodefault};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -