MKI_DialogControlSetText (Dialogs) New in Version 2024.1

www.CAD6.com

C++ Syntax

void

MKI_DialogControlSetText(

 HWND f_hWindow,

 __int32 f_nTextCtlID,

 const LPCSTR f_pszText );

 

void

MKI_DialogControlSetText(

 HWND f_hWindow,

 __int32 f_nTextCtlID,

 const LPCWSTR f_pszText );

 

Writes a string to an edit or text control in a dialog window.

 

Parameters

f_hWindow

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

f_nTextCtlID

[__int32] Identification number of the text or edit control to receive the text.

f_pszText

[const LPCSTR] Address of an Ansi character string or [const LPCWSTR] Address of an UTF-16 character string that shall be displayed in the control. If the value is nullptr, the control will be cleared.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH