| Visual Basic | |
|---|---|
Function MsgBox( _ ByVal lParentWnd As System.Integer, _ ByVal lMsgID As System.Integer, _ ByVal bsMsg As System.String, _ Optional ByVal eType As EdmMBoxType _ ) As EdmMBoxResult | |
| C# | |
|---|---|
EdmMBoxResult MsgBox( System.int lParentWnd, System.int lMsgID, System.string bsMsg, EdmMBoxType eType ) | |
| C++/CLI | |
|---|---|
EdmMBoxResult MsgBox( & System.int lParentWnd, & System.int lMsgID, & System.String^ bsMsg, & EdmMBoxType eType ) | |
Parameters
- lParentWnd
- Handle of the parent window
- lMsgID
- ID of the message to be shown (see Remarks)
- bsMsg
- Message to be displayed
- eType
- Message box type as defined in EdmMBoxType
Return Value
Message box result as defined in EdmMBoxResultSee the IEdmCallback6 examples.
For callbacks during add operations, IMsgID is one of the values defined in EdmAddCallbackMsgID.
- S_OK: The method successfully executed.
- <any error code>: The calling method terminated.
SOLIDWORKS PDM Professional Version 6.0