MKI_DrawBlock (Display) Changed in Version 2019.0

www.CAD6.com

C++ Syntax

void

MKI_DrawBlock(

 HWND f_hWindow,

 const LPCWSTR f_pszBlockName,

 const LPCWSTR f_pszLibraryName );

 

Displays a block within the given window. The complete client area of the window will be used.

 

Parameters

hWindow

[HWND] Handle of the window or control into whose client area the block shall be drawn.

BlockName

[const LPCWSTR] Name of the block to be drawn.

LibraryName

[const LPCWSTR] Name of the library the block is located in.

 

Comment

This procedure is usually used to display a block inside a static control inside a dialog window. If the stated block is not available in the cache, the window will be cleared.

 

If there is nothing to display at all, use MKI_DrawClear to clear window.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH