SOLIDWORKS PDM Professional API Help Send Feedback
MsgBox Method (IEdmCallback6)
See Also 
EPDM.Interop.epdm Namespace > IEdmCallback6 Interface : MsgBox Method (IEdmCallback6)


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
Displays a message box.

Syntax

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 EdmMBoxResult

Example

See the IEdmCallback6 examples.

Remarks

For callbacks during add operations, IMsgID is one of the values defined in EdmAddCallbackMsgID.

Return codes:

  • S_OK: The method successfully executed.
  • <any error code>: The calling method terminated.
 

See Also

Availability

SOLIDWORKS PDM Professional Version 6.0