MKI_DialogPopupActivate (Dialogs)

www.CAD6.com

C++ Syntax

void

MKI_DialogPopupActive(

 HWND f_hWindow,

 WPARAM f_wParam,

 LPARAM f_lParam );

 

This procedure tracks all popup window activation and assures that the appropriate window will be activated when necessary.

 

Parameters

Window

[HWND] Handle of the popup window.

wParam

[WPARAM] The value of the wParam parameter passed to the window's callback procedure.

lParam

[LPARAM] The value of the lParam parameter passed to the window's callback procedure.

 

Comment

This procedure should be called in the WM_ACTIVATE 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_ACTIVATE:

      MKI_DialogPopupActivate( f_hDlg, f_wParam, f_lParam );

      break;

  }

  return( 0 );

}

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH