MKI_DialogPopupUnregister (Dialogs)

www.CAD6.com

C++ Syntax

bool

MKI_DialogPopupUnregister(

 HWND f_hWindow );

 

This procedure unregisters the given popup window from the serving application.

 

Parameters

Window

[HWND] Handle of the popup window.

 

Return Value

Returns true if successful, false if not.

 

Comment

This procedure should be called in the WM_DESTROY case of all popup windows of the plug-in:

 

INT_PTR CALLBACK

DialogProc( HWND f_hDlg, UINT f_unMessage, WPARAM f_wParam, LPARAM f_lParam )

{

  switch( f_unMessage )

  {

    case WM_DESTROY:

      MKI_DialogPopupUnregister( f_hDlg );

      break;

  }

  return( 0 );

}

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH