MKI_SUBCLASS_LIST (Basic Classes) New in Version 2024.0

www.CAD6.com

This class contains a list of control sub-classing information.

 

If you wish to change the visibility and state of sub-classed controls, use the appropriate functions MKI_DialogControlShow(), MKI_DialogControlHide(), MKI_DialogControlEnable(), and MKI_DialogControlDisable(). Using the general Windows commands EnableWindow() or ShowWindow() may result in incomplete visual updating since they do not force a redraw!

 

C++ Syntax

class MKI_SUBCLASS_LIST

{

  public:

 

  MKI_SUBCLASS_DATA m_acData[MKI_SUBCLASS_MAX];

  __int32 m_nCount;

 

  MKI_SUBCLASS_LIST( void );

 

  void

  Init( void );

 

  void

  AddControl(

 HWND f_hDlg,

 __int32 f_nCtlID,

 MKI_SUBCLASS_PROC f_fnDrawProc,

 MKI_SUBCLASS_PROC f_fnMenuProc = nullptr,

 void* f_pUserData = nullptr );

 

  void

  AddControlRange(

 HWND f_hDlg,

 __int32 f_nCtlID,

 __int32 f_nRange,

 MKI_SUBCLASS_PROC f_fnDrawProc,

 MKI_SUBCLASS_PROC f_fnMenuProc = nullptr,

 void* f_pUserData = nullptr );

 

  void

  AddIconButton(

 HWND f_hDlg,

 __int32 f_nCtlID,

 int f_nIconID,

 MKI_SUBCLASS_PROC f_fnMenuProc = nullptr,

 void* f_pUserData = nullptr );

 

  void

  AddDialogControls(

 HWND f_hDlg );

 

  void

  AddPropertySheetControls(

 HWND f_hPropSheet );

 

  void

  RedrawAllParentControls(

 HWND f_hPropPage );

};

 

Element Description

m_acData

[MKI_SUBCLASS_DATA[]] List of control sub-classing information.

m_nCount

[__int32] Number of filled list entries.

 

CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH