Type | Description | |||
Object as Object | Reference to ExShellObject that should or shouldn't be visible. | |||
Include as Variant | (By Reference) A boolean expression that makes object visible (True), or hides it (False). |
When user selects some folder to browse, he also sets type of files that needs to be shown. Usually, this is done using FilePattern property, and IncludeObjectType property. This event is fired only if user set IncludeObjectType property to value 'UserObjects'. Each time eXShellView needs to determine if particular item should be visible or not, this event is fired. User should set Include variable to either True, or False, depending if he chooses to show or hide that item.
Syntax for IncludeObject event, /NET version, on:
private void IncludeObject(object sender,object Obj,ref object Include) { } Private Sub IncludeObject(ByVal sender As System.Object,ByVal Obj As Object,ByRef Include As Object) Handles IncludeObject End Sub |
private void IncludeObject(object sender, AxEXSHELLVIEWLib._IExShellViewEvents_IncludeObjectEvent e) { } void OnIncludeObject(LPDISPATCH Object,VARIANT FAR* Include) { } void __fastcall IncludeObject(TObject *Sender,IDispatch *Object,Variant * Include) { } procedure IncludeObject(ASender: TObject; Object : IDispatch;var Include : OleVariant); begin end; procedure IncludeObject(sender: System.Object; e: AxEXSHELLVIEWLib._IExShellViewEvents_IncludeObjectEvent); begin end; begin event IncludeObject(oleobject Object,any Include) end event IncludeObject Private Sub IncludeObject(ByVal sender As System.Object, ByVal e As AxEXSHELLVIEWLib._IExShellViewEvents_IncludeObjectEvent) Handles IncludeObject End Sub Private Sub IncludeObject(ByVal Object As Object,Include As Variant) End Sub Private Sub IncludeObject(ByVal Object As Object,Include As Variant) End Sub LPARAMETERS Object,Include PROCEDURE OnIncludeObject(oExShellView,Object,Include) RETURN |
<SCRIPT EVENT="IncludeObject(Object,Include)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function IncludeObject(Object,Include) End Function </SCRIPT> Procedure OnComIncludeObject Variant llObject Variant llInclude Forward Send OnComIncludeObject llObject llInclude End_Procedure METHOD OCX_IncludeObject(Object,Include) CLASS MainDialog RETURN NIL void onEvent_IncludeObject(COM _Object,COMVariant /*variant*/ _Include) { } function IncludeObject as v (Object as P,Include as A) end function function nativeObject_IncludeObject(Object,Include) return |