This method sets the Z position of the message box based on the parameter's value.
When you have multiple message boxes, the Z position controls the order in which the item appears.
When you have multiple message boxes, the Z position controls the order in which the item appears.
Visual Basic |
---|
Public Function BringToZPosition( _ ByVal zPositionMode As BringToZPositionMode _ ) As Boolean |
- zPositionMode
Value Description Bottom NotTopMost Top TopMost
Boolean.
It returns True if a new Z order has been set for the item.
It returns False if it fails to set the Z order.
It returns True if a new Z order has been set for the item.
It returns False if it fails to set the Z order.
This moves a dialog box to the top-most position.
Example (C#) | Copy Code |
---|---|
// ... PCDLRN.IDialog dlg = theDialog; PCDLRN.BringToZPositionMode mode = PCDLRN.BringToZPositionMode.TopMost; if (dlg.IsReady) { dlg. BringToZPosition(mode); } // ... |