D2000 VBApi - Getting the list of objects

Object selection (during the application implementation via the interface D2000 VBApi) is able from the selection window opened by calling the procedure VBApiGetObjectName.


Declaration
Declare Sub VBApiGetObjectName Lib "vbapi.dll" Alias "_GetObjectName@8" (ByRef name As String, ByRef ok As Long)

Parameters
name Name of selected object.
ok Return value - call success.

Return value
Value of the parameter ok.
 
Return value Description
0 Calling successful. If the user selects no object, the parameter name will be a null string.
2 No logon user.
3 Internal error.


The functionality and appearance of the selection window is the identical with selection window in the processes D2000 HI and D2000 GrEditor.

Selection window appearance:

Related pages:

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .