📄 mxoutlookbarpro.~hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'mxOutlookBarPro.pas' rev: 6.00
#ifndef mxOutlookBarProHPP
#define mxOutlookBarProHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Consts.hpp> // Pascal unit
#include <ActiveX.hpp> // Pascal unit
#include <ImgList.hpp> // Pascal unit
#include <ActnList.hpp> // Pascal unit
#include <ExtCtrls.hpp> // Pascal unit
#include <Menus.hpp> // Pascal unit
#include <Buttons.hpp> // Pascal unit
#include <StdCtrls.hpp> // Pascal unit
#include <CommCtrl.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <SysUtils.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Mxoutlookbarpro
{
//-- type declarations -------------------------------------------------------
#pragma pack(push, 4)
struct TStreamDataHeader
{
int DataType;
int DataSize;
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct TBaseStreamDataBody
{
int HeaderIndex;
int ButtonIndex;
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct TBaseStreamData
{
TStreamDataHeader Header;
TBaseStreamDataBody Body;
} ;
#pragma pack(pop)
typedef Exception mxNavigatorException;
;
#pragma option push -b-
enum TmxHeaderScrollType { stNone, stLinear, stAccelerated };
#pragma option pop
#pragma option push -b-
enum TmxBitmapCopy { bcMergeCopy, bcMergePaint, bcSrcCopy, bcSrcErase, bcSrcPaint };
#pragma option pop
#pragma option push -b-
enum TmxBackgroundStyle { btBitmap, btGradient, btSolid, btTileBitmap, btTransparent };
#pragma option pop
#pragma option push -b-
enum TmxGradientDirection { gdNormal, gdInverse };
#pragma option pop
#pragma option push -b-
enum TmxGradientStyle { gtCornerTopLeft, gtCornerTopRight, gtCornerBottomRight, gtCornerBottomLeft, gtDiagonalRising, gtDiagonalFalling, gtEllipse, gtPyramid, gtVerticalToCenter, gtHorizontalToCenter, gtLeftToRight, gtTopToBottom };
#pragma option pop
#pragma option push -b-
enum TmxVerticalAlignment { vaTopJustify, vaCenter, vaBottomJustify };
#pragma option pop
#pragma option push -b-
enum TmxViewStyle { vsExplorerBar, vsOutlook };
#pragma option pop
#pragma option push -b-
enum TmxButtonStyle { bsLarge, bsSmall };
#pragma option pop
#pragma option push -b-
enum TmxButtonView { bvBig, bvExplorer, bvNormal, bvToolBox, bvWindows2000, bvWindowsXP };
#pragma option pop
#pragma option push -b-
enum TmxButtonState { hbsUp, hbsDown, hbsFocused, hbsDisabled };
#pragma option pop
#pragma option push -b-
enum TmxButtonKind { bkButton, bkLabel, bkCheckBox, bkPushButton, bkRadioButton };
#pragma option pop
#pragma option push -b-
enum TmxGlyphLayout { glGlyphLeft, glGlyphRight, glGlyphCenter };
#pragma option pop
#pragma option push -b-
enum TmxHeaderOption { hoActivateOnSelect, hoAlwaysFlat, hoButtonDown, hoCustomSettings, hoDrawBorder, hoDrawCaptionBorder, hoDrawDisabledButton, hoDrawDownButton, hoDrawFocusedButton, hoFocusDisabled, hoNoCaption, hoReadOnlyCaption, hoRoundedHeader, hoShowSelectedImage, hoShowStatusButton, hoUseHighlightFont };
#pragma option pop
typedef Set<TmxHeaderOption, hoActivateOnSelect, hoUseHighlightFont> TmxHeaderOptions;
#pragma option push -b-
enum TmxCaptionStyle { csButtonStyle, csCustomDraw };
#pragma option pop
#pragma option push -b-
enum TmxExplorerMethod { emStandard, emCloseUp };
#pragma option pop
#pragma option push -b-
enum TmxBarOption { boAcceptOLEDrop, boActivateToolBoxScroller, boAlwaysFlatScroller, boAutoScroll, boAutoChangeHeader, boChangeToDisabled, boExplorerBorder, boFocusOnMouseEnter, boHeaderFrame, boInternalDrop, hoShowFocusRect };
#pragma option pop
typedef Set<TmxBarOption, boAcceptOLEDrop, hoShowFocusRect> TmxBarOptions;
#pragma option push -b-
enum TmxHeaderState { hsOpened, hsClosed };
#pragma option pop
#pragma option push -b-
enum TmxBorderStyle { mxNone, mxFlat, mxFocusedFlat, mxSolid, mxSingle, mxButton, mxDefault, mxFlatButton, mxFlatButtonDown, mxSpeedUp };
#pragma option pop
#pragma option push -b-
enum TmxButtonOption { boAutoWidthLabel, boCustomFont, boCustomStyle, boCustomView, boUnderlineFont, boReadOnlyCaption };
#pragma option pop
typedef Set<TmxButtonOption, boAutoWidthLabel, boReadOnlyCaption> TmxButtonOptions;
#pragma option push -b-
enum TmxScrollView { ssNormal, ssExpress, ssToolBox };
#pragma option pop
#pragma option push -b-
enum TmxPreSet { psOutlook, psFlatOutlook, psOutlookExpress, psOffice, psOfficeXP, psOffice2000, psToolBox, psFlatToolBox, psExplorerBar, psExplorerBarXP, psExplorerBar2000 };
#pragma option pop
#pragma option push -b-
enum TmxDropMode { dmNowhere, dmButton };
#pragma option pop
#pragma option push -b-
enum mxOutlookBarPro__1 { tsDragPending, tsDragging, tsClearPending };
#pragma option pop
typedef Set<mxOutlookBarPro__1, tsDragPending, tsClearPending> TmxOutlookBarStates;
typedef unsigned *PCardinal;
#pragma option push -b-
enum TmxHitPosition { hpUnknown, hpAbove, hpInsert, hpBelow };
#pragma option pop
#pragma option push -b-
enum TmxHitType { xhtNowhere, xhtHeaderButton, xhtHeaderBackground, xhtButton };
#pragma option pop
#pragma option push -b-
enum TmxGlyphPosition { gpTopLeft, gpTopRight, gpBottomLeft, gpBottomRight, gpCenter };
#pragma option pop
struct TmxReference;
typedef TmxReference *PmxReference;
class DELPHICLASS TmxOutlookBarPro;
class DELPHICLASS TmxButton;
typedef void __fastcall (__closure *TmxEventBeforeDrawCommandButton)(System::TObject* Sender, Graphics::TCanvas* ACanvas, Types::TRect &AButtonRect, Types::TRect &AFocusRect, Types::TRect &AImageRect, Types::TRect &ALabelRect);
typedef void __fastcall (__closure *TmxEventDrawCommandButton)(System::TObject* Sender, Graphics::TCanvas* ACanvas, TmxButtonView AView, TmxButtonState AState, const Types::TRect &AImageRect, const Types::TRect &ALabelRect);
typedef void __fastcall (__closure *TmxEventAfterDrawCommandButton)(System::TObject* Sender, Graphics::TCanvas* ACanvas, const Types::TRect &AImageRect, const Types::TRect &ALabelRect);
class DELPHICLASS TmxBarSettings;
class DELPHICLASS TmxHeader;
class PASCALIMPLEMENTATION TmxButton : public Classes::TCollectionItem
{
typedef Classes::TCollectionItem inherited;
private:
bool FAllowGrayed;
bool FPaintGrayed;
bool FChecked;
int FMargin;
TmxButtonKind FButtonKind;
bool FFlashing;
bool FAlerted;
bool FAutoSize;
Classes::TAlignment FAlignment;
Controls::TControlActionLink* FActionLink;
TmxButtonStyle FButtonStyle;
TmxButtonView FButtonView;
#pragma pack(push, 1)
Types::TRect FButtonRect;
#pragma pack(pop)
#pragma pack(push, 1)
Types::TRect FCheckBoxRect;
#pragma pack(pop)
Classes::TBiDiMode FBiDiMode;
#pragma pack(push, 1)
Types::TRect FImageRect;
#pragma pack(pop)
#pragma pack(push, 1)
Types::TRect FFocusRect;
#pragma pack(pop)
#pragma pack(push, 1)
Types::TRect FLabelRect;
#pragma pack(pop)
TmxHitPosition FDragDropHitStatus;
AnsiString FCaption;
Controls::TCursor FCursor;
Graphics::TColor FColor;
void *FData;
bool FEnabled;
Graphics::TFont* FFont;
Graphics::TFont* FHighlightFont;
Classes::THelpContext FHelpContext;
Word FHeight;
AnsiString FHint;
Imglist::TCustomImageList* FImageList;
Imglist::TImageIndex FImageIndex;
AnsiString FName;
bool FParentBiDiMode;
bool FShowAccelChar;
int FTag;
bool FTransparent;
TmxButtonState FState;
TmxButtonOptions FOptions;
AnsiString FUserString;
bool FVisible;
Word FWidth;
bool FWordWrap;
Menus::TPopupMenu* FPopupMenu;
Stdctrls::TCheckBoxState FCheckState;
Classes::TNotifyEvent FOnClick;
TmxEventBeforeDrawCommandButton FOnBeforeDrawButton;
TmxEventDrawCommandButton FOnDrawButton;
TmxEventAfterDrawCommandButton FOnAfterDrawButton;
Classes::TNotifyEvent FOnChangeParameter;
void __fastcall SetChangeParameter(Classes::TNotifyEvent AValue);
__property Classes::TNotifyEvent OnChangeParameter = {read=FOnChangeParameter, write=SetChangeParameter};
void __fastcall SetTransparent(bool AValue);
void __fastcall SetHint(AnsiString AValue);
void __fastcall SetHelpContext(Classes::THelpContext AValue);
void __fastcall SetImageIndex(Imglist::TImageIndex AValue);
void __fastcall SetEnabled(bool AValue);
void __fastcall SetVisible(bool AValue);
void __fastcall SetData(void * AValue);
Classes::TBasicAction* __fastcall GetAction(void);
void __fastcall SetAction(Classes::TBasicAction* AValue);
void __fastcall SetCaption(AnsiString AValue);
void __fastcall DoActionChange(System::TObject* Sender);
void __fastcall ChangeParameter(void);
int __fastcall GetButtonIndex(void);
void __fastcall SetButtonIndex(int AValue);
void __fastcall SetButtonStyle(TmxButtonStyle AValue);
void __fastcall SetButtonView(TmxButtonView AValue);
void __fastcall SetAutoSize(bool AValue);
void __fastcall SetColor(Graphics::TColor AValue);
void __fastcall SetFont(Graphics::TFont* AValue);
void __fastcall SetHighlightFont(Graphics::TFont* AValue);
void __fastcall SetHeight(Word AValue);
void __fastcall SetWidth(Word AValue);
void __fastcall SetOptions(TmxButtonOptions AValue);
void __fastcall SetWordWrap(bool AValue);
void __fastcall SetAlignment(Classes::TAlignment AValue);
virtual void __fastcall SetBiDiMode(Classes::TBiDiMode AValue);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -