![]() |
MKI_DialogPopupRegister (Dialogs) |
www.CAD6.com |
C++ Syntaxbool MKI_DialogPopupRegister( HWND f_hWindow );
This procedure registers the given popup window to the serving application, allowing it to keep track of all popup windows.
ParametersWindow [HWND] Handle of the popup window.
Return ValueReturns true if successful, false if not.
CommentThis procedure should be called in the WM_INITDIALOG or WM_CREATE 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_CREATE: case WM_INITDIALOG: MKI_DialogPopupRegister( f_hDlg ); break; } return( 0 ); }
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH