FarPoint.Win Assembly > FarPoint.Win Namespace : PopupWindowHelper Class |
The following tables list the members exposed by PopupWindowHelper.
Name | Description | |
---|---|---|
PopupWindowHelper Constructor | Default constructor. |
Name | Description | |
---|---|---|
Handle | Gets the handle for this window. (Inherited from System.Windows.Forms.NativeWindow) |
Name | Description | |
---|---|---|
AssignHandle | (Inherited from System.Windows.Forms.NativeWindow) | |
ClosePopup | Called when the popup is being hidden. | |
CreateHandle | Creates a window and its handle with the specified creation parameters. (Inherited from System.Windows.Forms.NativeWindow) | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject) | |
DefWndProc | Invokes the default window procedure associated with this window. (Inherited from System.Windows.Forms.NativeWindow) | |
DestroyHandle | Destroys the window and its handle. (Inherited from System.Windows.Forms.NativeWindow) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
ReleaseHandle | Releases the handle associated with this window. (Inherited from System.Windows.Forms.NativeWindow) | |
ShowPopup | Shows 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. |
Name | Description | |
---|---|---|
Finalize | Releases the resources associated with this window. (Inherited from System.Windows.Forms.NativeWindow) | |
MemberwiseClone | Overloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject) | |
OnHandleChange | Specifies a notification method that is called when the handle for a window is changed. (Inherited from System.Windows.Forms.NativeWindow) | |
OnPopupCancel | Raises the PopupCancel event. | |
OnPopupClosed | Raises the PopupClosed event. | |
OnThreadException | When overridden in a derived class, manages an unhandled thread exception. (Inherited from System.Windows.Forms.NativeWindow) | |
WndProc | Overridden. 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. |
Name | Description | |
---|---|---|
PopupCancel | Raised when the Popup Window is about to be cancelled. The PopupCancelEventArgs.Cancel property can be set to true to prevent the form from being cancelled. | |
PopupClosed | Raised when the popup form is closed. |