MKI_DialogPopupMove (Dialogs)

www.CAD6.com

C++ Syntax

void

MKI_DialogPopupMove(

 HWND f_hWindow );

 

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.

 

Comment

This procedure should be called at the end of the WM_MOVE and WM_SIZE cases 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_MOVE:

      ...

      MKI_DialogPopupMove( f_hDlg );

      break;

 

    case WM_SIZE:

      ...

      MKI_DialogPopupMove( f_hDlg );

      break;

  }

  return( 0 );

}

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH