AccusoftNotateXpress13 ActiveX DLL > NotateXpress Object : InterfaceConnect Method |
Visual Basic |
---|
Public Function InterfaceConnect( _ ByVal punk As Unknown _ ) As Boolean |
This method does the same thing as setting the Client property or calling the SetClientWindow method. It is designed for applications where neither of these other methods can be used.
Note: The most likely time you will need to use this method is when you are using ImagXpess and NotateXpress by reference and ImagXpress either cannot have a window or you do not want ImagXpress to have a window.
'DynamicallycreateImagXpressandNotateXpress DimWithEventsixAsPegasusImagingActiveXImagXpress9.ImagXpress DimWithEventsnxAsAccusoftNotateXpress13.NotateXpress Setix=NewPegasusImagingActiveXImagXpress9.ImagXpress Setnx=NewAccusoftNotateXpress13.NotateXpress 'CreateawindowforImagXpresstodrawupon ix.CreateCtlWindowMainForm.hWnd,10,10,1000,1000 'Theauthorstronglysuggestsusingthisconnectionmethodwhennootheroptionexists. nx.InterfaceConnectix 'Thepreferedwayistouse: 'nx.SetClientWindowix.hWnd