Display the dialog in the DLL, how to implement the window handle, how to implement it,

zhaozj2021-02-16  103

I created an MFC dialog window in the DLL, and now the adjustment function

STARTDLG (HWND HWND) only passed the window handle, and I want to use the CDLLDLGLG in the function.

Create a dialog window with HWND as the parent window, but in the MFC, the parent window is passed in the form of a pointer, does not have to create a sub-dialog window with m_dldlg in the case of knowing the parent window handle.

转载请注明原文地址:https://www.9cbs.com/read-10390.html

New Post(0)