MKI_DialogCustomBitmapControl (Dialogs) Changed in Version 2017.1

www.CAD6.com

C++ Syntax

void

MKI_DialogCustomBitmapControl(

 HWND f_hWindow,

 __int32 f_nCtlID,

 MKI_CONST_ICON_DATA_REF f_rIconData );

 

void

MKI_DialogCustomBitmapControl(

 HWND f_hWindow,

 __int32 f_nCtlID,

 const LPWSTR f_pszFileName ); New in Version 2017.1

 

Draws a bitmap inside a control. It will be scaled proportionally to fit the control.

 

Parameters

f_hWindow

[HWND] Handle of the dialog window that contains the control.

f_nCtlID

[__int32] Identification number of the control.

f_rIconData

[MKI_CONST_ICON_DATA_REF] Description of the bitmap to be drawn.

f_pszFileName

[const LPWSTR] Address of the bitmap's filename.

 

Return Value

Returns true if the bitmap was drawn successfully. Otherwise, the control will only be cleared.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH