C# Class BandObjectLib.BandObject

Inheritance: System.Windows.Forms.UserControl, IDeskBand, IDockingWindow, IInputObject, IObjectWithSite, IOleWindow, IPersistStream
Datei anzeigen Open project: mika76/MyDownloader Class Usage Examples

Protected Properties

Property Type Description
BandObjectSite IInputObjectSite
Explorer WebBrowserClass

Private Properties

Property Type Description
InitializeComponent void
Register void
Unregister void

Public Methods

Method Description
BandObject ( ) : System
CloseDW ( UInt32 dwReserved ) : void

Called by explorer when window is about to close.

ContextSensitiveHelp ( bool fEnterMode ) : void
GetBandInfo ( UInt32 dwBandID, UInt32 dwViewMode, DESKBANDINFO &dbi ) : void
GetSite ( System.Guid &riid, Object &ppvSite ) : void
GetWindow ( System &phwnd ) : void
HasFocusIO ( ) : Int32
ResizeBorderDW ( IntPtr prcBorder, Object punkToolbarSite, bool fReserved ) : void

Not used.

SetSite ( Object pUnkSite ) : void
ShowDW ( bool fShow ) : void

Called by explorer when band object needs to be showed or hidden.

TranslateAcceleratorIO ( MSG &msg ) : Int32

Called by explorer to process keyboard events. Undersatands Tab and F6.

UIActivateIO ( Int32 fActivate, MSG &Msg ) : void

Called explorer when focus has to be chenged.

Protected Methods

Method Description
OnExplorerAttached ( EventArgs ea ) : void

Override this method to handle ExplorerAttached event.

OnGotFocus ( System e ) : void

Notifies explorer of focus change.

OnLostFocus ( System e ) : void

Notifies explorer of focus change.

Private Methods

Method Description
InitializeComponent ( ) : void
Register ( Type t ) : void
Unregister ( Type t ) : void

Method Details

BandObject() public method

public BandObject ( ) : System
return System

CloseDW() public method

Called by explorer when window is about to close.
public CloseDW ( UInt32 dwReserved ) : void
dwReserved System.UInt32
return void

ContextSensitiveHelp() public method

public ContextSensitiveHelp ( bool fEnterMode ) : void
fEnterMode bool
return void

GetBandInfo() public method

public GetBandInfo ( UInt32 dwBandID, UInt32 dwViewMode, DESKBANDINFO &dbi ) : void
dwBandID System.UInt32
dwViewMode System.UInt32
dbi DESKBANDINFO
return void

GetSite() public method

public GetSite ( System.Guid &riid, Object &ppvSite ) : void
riid System.Guid
ppvSite Object
return void

GetWindow() public method

public GetWindow ( System &phwnd ) : void
phwnd System
return void

HasFocusIO() public method

public HasFocusIO ( ) : Int32
return System.Int32

OnExplorerAttached() protected method

Override this method to handle ExplorerAttached event.
protected OnExplorerAttached ( EventArgs ea ) : void
ea System.EventArgs
return void

OnGotFocus() protected method

Notifies explorer of focus change.
protected OnGotFocus ( System e ) : void
e System
return void

OnLostFocus() protected method

Notifies explorer of focus change.
protected OnLostFocus ( System e ) : void
e System
return void

ResizeBorderDW() public method

Not used.
public ResizeBorderDW ( IntPtr prcBorder, Object punkToolbarSite, bool fReserved ) : void
prcBorder System.IntPtr
punkToolbarSite Object
fReserved bool
return void

SetSite() public method

public SetSite ( Object pUnkSite ) : void
pUnkSite Object
return void

ShowDW() public method

Called by explorer when band object needs to be showed or hidden.
public ShowDW ( bool fShow ) : void
fShow bool
return void

TranslateAcceleratorIO() public method

Called by explorer to process keyboard events. Undersatands Tab and F6.
public TranslateAcceleratorIO ( MSG &msg ) : Int32
msg MSG
return System.Int32

UIActivateIO() public method

Called explorer when focus has to be chenged.
public UIActivateIO ( Int32 fActivate, MSG &Msg ) : void
fActivate System.Int32
Msg MSG
return void

Property Details

BandObjectSite protected_oe property

protected IInputObjectSite BandObjectSite
return IInputObjectSite

Explorer protected_oe property

Reference to the host explorer.
protected WebBrowserClass Explorer
return WebBrowserClass