| Visual Basic | |
|---|---|
Function GetButtonCommand( _ ByVal lParentWnd As System.Integer _ ) As System.String | |
| C# | |
|---|---|
System.string GetButtonCommand( System.int lParentWnd ) | |
| C++/CLI | |
|---|---|
System.String^ GetButtonCommand( & System.int lParentWnd ) | |
Parameters
- lParentWnd
- Parent window handle
Return Value
Command stringIf the button is linked to a program that is not found, this method launches a dialog box in which the user can browse to the missing EXE file. If the user clicks Cancel in the dialog box, HRESULT = E_EDM_CANCELLED_BY_USER is returned by this method.
- S_OK: The method successfully executed.
- E_EDM_INVALID_ID: The supplied control is not a push-button. Call IEdmCardControl5::ControlType first to verify whether the control is a push-button.
- E_EDM_CANCELLED_BY_USER: The user clicked Cancel in the dialog box.
SOLIDWORKS PDM Professional Version 5.2