VCGetAngleHandle
VCSetAngleHandle


Version:

1.2

Description:

Specifies to Visual CADD™ which object is to display the angle reading from Visual CADD™.

Declaration:

 

C/C++

extern "C" long WINAPI VCGetAngleHandle(void);
extern "C" void WINAPI VCSetAngleHandle(HWND hWnd_);

Delphi

function VCGetAngleHandle: Longint; stdcall;
procedure VCSetAngleHandle(hWnd_: Longint); stdcall;

ActiveX/COM

Function GetAngleHandle() As Long
Sub SetAngleHandle(ByVal hWnd_ As Long)

Parameters:

hWnd - the hWnd handle for the object to be used as the message area.

Notes:

All the Windows HWND in the Visual CADD™ interface are available through the API. This includes the global values for the frame (VCGethWndFrame), the drawing window (VCGethWnd), and the tool palette, speedbar and status bar (VCGetToolbar). In addition, key display control HWND are also available for displaying angle, (VCGetAngleHandle), distances (VCGetDistanceHandle), message prompts (VCGetMessageHandle), and coordinates (VCGetXYHandle).

The HWND can be used by applications to display custom messages or used in other Window API methods. VCGethWnd returns the handle for individual MDI Windows based on the drawing index while VCGethWndFrame returns the handle for the entire Visual CADD™ frame.

See Also:

VCGethWnd, VCGethWndFrame, VCGetMessageHandle, VCGetDistanceHandle, VCGetXYHandle, VCGetAngleHandle, VCGetToolbar