VCGethWndMdiClient
VCSethWndMdiClient


Version:

VCGethWndMdiClient - 4.0.4
VCSethWndMdiClient - 2.0

Description:

Gets the HWND for the MDI Client window.

Declaration:

 

C/C++

extern "C" HWND WINAPI VCGethWndMdiClient(void);
extern "C" void WINAPI VCSethWndMdiClient(long hWnd);

Delphi

function VCGethWndMdiClient: Longint; stdcall;
procedure VCSethWndMdiClient(hWnd: Longint); stdcall;

ActiveX/COM

Function GethWndMdiClient() As Long
Sub SethWndMdiClient(ByVal hWnd As Long)

Parameters:

hWnd - the HWND for the MDI Client window

Return Value:

The HWND to the MDI Client window. If an error occurs, the return value is NULL.

iError Code:

None

Notes:

Many features of the Visual CADD™ interface can be utilized directly in a custom application created with a separate interface. The interface features include dialogs, toolbars, menus and child drawing windows. In order to access these features in the custom interface, a Windows hWnd needs to be provided to display each of the Visual CADD™ features. Once these handles are set, all the Visual CADD™ child drawing windows, dialogs and ribalogs will function the same in a custom interface.

See Also:

VCGethWndFrame, VCSetDialogFrameHwnd, VCGetAngleHandle, VCGetDistanceHandle, VCGetMessageHandle, VCGetXYHandle