VCGethWndFrame
VCSethWndFrame


Version:

2.0

Description:

Returns the Window handle for the Visual CADD™ frame.

Declaration:

 

C/C++

extern "C" long WINAPI VCGethWndFrame();
extern "C" void WINAPI VCSethWndFrame(long hWnd);

Delphi

function VCGethWndFrame:Longint; stdcall;
procedure VCSethWndFrame(hWnd: Longint); stdcall;

ActiveX/COM

Function GethWndFrame() As Long
Sub SethWndFrame(ByVal n As Long)

Parameters:

Return - the Window HWND for the window.

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, VCGetMessageHandle, VCGetDistanceHandle, VCGetXYHandle, VCGetAngleHandle, VCGetToolbar