Version: |
1.2 |
Description: |
Destroys a drawing world and frees allocated memory. |
Declaration: |
|
C/C++ |
extern "C" void WINAPI VCDestroyWorld(WORLDHANDLE hW); |
Delphi |
procedure VCDestroyWorld(hW: Longint); stdcall; |
ActiveX/COM |
Sub DestroyWorld(ByVal hW As Long) |
Parameters: |
hW - the WORLDHANDLE of the world to be destroyed. |
Notes: |
When a world is created, whether for another MDI window or for a window in another application, a WORLDHANDLE is created for referencing the drawing. When the window is removed the world must be destroyed in order to free its memory by calling VCDestroyWorld. When a world is created via VCNewWorld, a WORLDHANDLE is returned and should be used when you need to destroy the drawing world. |
See Also: |