Spread Windows Forms 11.0 Product Documentation
PopupWindowHelper Class Methods


FarPoint.Win Assembly > FarPoint.Win Namespace : PopupWindowHelper Class

For a list of all members of this type, see PopupWindowHelper members.

Public Methods
 NameDescription
Public Method (Inherited from System.Windows.Forms.NativeWindow)
Public MethodCalled when the popup is being hidden.  
Public Method (Inherited from System.Windows.Forms.NativeWindow)
Public Method (Inherited from System.MarshalByRefObject)
Public Method (Inherited from System.Windows.Forms.NativeWindow)
Public Method (Inherited from System.Windows.Forms.NativeWindow)
Public Method (Inherited from System.MarshalByRefObject)
Public Method (Inherited from System.MarshalByRefObject)
Public Method (Inherited from System.Windows.Forms.NativeWindow)
Public MethodShows the specified Form as a popup window, keeping the Owner's title bar active and preparing to cancel the popup should the user click anywhere outside the popup window.

Typical code to use this message is as follows:

frmPopup popup = new frmPopup(); Point location = this.PointToScreen(new Point(button1.Left, button1.Bottom)); popupHelper.ShowPopup(this, popup, location);

Put as much initialization code as possible into the popup form's constructor, rather than the System.Windows.Forms.Form.Load event as this will improve the visual appearance.

 
Top
Protected Methods
 NameDescription
Protected Method (Inherited from System.Windows.Forms.NativeWindow)
Protected MethodOverloaded.  (Inherited from System.MarshalByRefObject)
Protected Method (Inherited from System.Windows.Forms.NativeWindow)
Protected MethodRaises the PopupCancel event.  
Protected MethodRaises the PopupClosed event.  
Protected Method (Inherited from System.Windows.Forms.NativeWindow)
Protected MethodOverridden. Subclasses the owning form's existing Window Procedure to enables the title bar to remain active when a popup is show, and to detect if the user clicks onto another application whilst the popup is visible.  
Top
See Also

Reference

PopupWindowHelper Class
FarPoint.Win Namespace