![]() |
MKI_DIALOG_TEMPLATE (Basic Classes) New in Version 6.50 |
www.CAD6.com |
C++ Syntaxclass MKI_DIALOG_TEMPLATE { public:
BYTE* m_pData;
MKI_DIALOG_TEMPLATE( void );
HINSTANCE f_hInstance, LPCSTR f_pszTemplateName );
LPDLGTEMPLATE Init( HINSTANCE f_hInstance, LPCSTR f_pszTemplateName );
void Exit( void );
bool operator ==( const LPVOID f_pValue );
bool operator !=( const LPVOID f_pValue );
This class creates a modified copy of a standard dialog box template that uses the custom font size and type chosen by the user. This copied template can then by passed to standard dialog handling functions (e.g. for property sheets or common dialogs).
For simple dialog box creation, use MKI_DialogBoxParam instead.
Element DescriptionData [BYTE*] Address of the copied template (or nullptr if not successful).
CommentAny dialog template passed to this function should be designed using an 8 pt standard font ("MS Sans Serif" or "MS Shell Dlg"), which will subsequently be replaced by the user-defined font size and type. The template should use the DIALOGEX style and must have the DS_SETFONT flag set.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH