ParentWindowHandle Property

Description
Sets / returns the handle for the parent window used for dialogs and windows.

Syntax
Property ParentWindowHandle As Integer

Return Value
Integer value containing the window handle.

Remarks
Use ParentWindowHandle to specify the parent window from applications that do not have .NET forms.

See Also

ParentWindowHandle Example
VB Example:

m_spel.ParentWindowHandle = Me.Handle  
m_spel.ShowWindow(RCAPINet.SpelWindows.IOMonitor)  

C# Example:

m_spel.ParentWindowHandle  = (int)this.Handle;  
m_spel.ShowWindow(RCAPINet.SpelWindows.IOMonitor);