Version: |
2.0 |
Description: |
Retrieves the WORLDHANDLE for a drawing from the displaying Window. |
Declaration: |
|
C/C++ |
extern "C" WORLDHANDLE WINAPI VCGetWorldByHWND(short* iError, long hwnd); |
Delphi |
function VCGetWorldByHWND(var iError: Smallint; hwnd: Longint):Longint; stdcall; |
ActiveX/COM |
Function GetWorldByHWND(ByVal hwnd As Long) As Long |
Parameters: |
hWnd - the HWND for the window
containg the drawing. |
Notes: |
Drawing world are referenced by an internal 0 based WORLDHANDLE index or a windows HWND for the control displaying the drawing. Typically, the API utilizes the internal WORLDHANDLE when referencing the drawing. VCGetWorldIndexByHWND is used to retrieve the internal index from a Windows HWND. |
See Also: |
VCChangeView, VCGetCurrWorld, VCGetWorldIndexByHWND, VCSetCurrWorldByHWND |