Version: |
1.2 |
Description: |
Creates another instance of a "world" for Visual CADD™ to create or modify a drawing. |
Declaration: |
|
C/C++ |
extern "C" WORLDHANDLE WINAPI VCNewWorld(HWND hWnd_); |
Delphi |
function VCNewWorld(hWnd_: Smallint):Longint; stdcall; |
ActiveX/COM |
Function NewWorld(ByVal hWnd_ As Long) As Long |
Parameters: |
hWnd - the hWnd handle for
the object to be used as the new world. |
Notes: |
Whenever the application needs to create a new drawing area, such as in an MDI window, Visual CADD™ needs to know the hWnd value for the object which is to contain the new drawing space. This creates a new environment for the drawing and exists entirely outside any other current drawings or worlds. The returned long is used by other Visual CADD™ API calls to reference which world the call be affecting. |
See Also: |
VCDestroyWorld, VCIsWorldEmpty, VCIsWorldValid, VCGetCurrWorld, VCClearDrawing, VCClearDrawingNoPrompt, VCPackData, VCDrawToDC |