For example, there is a COM component that I need to create a window.

However, the problem is that the window is not created modal, and there are no settings among the methods.

Actually the question is, is it possible to make an arbitrary window having its handle modal?

  • I wonder how you imagine it? A modal window completely blocks the entire workflow until it is closed. Those. if you open the window without blocking the main process and then simply manipulating the handle, will you block it? It looks weird. - Sublihim
  • @Kromster, yes .. - iluxa1810
  • If it is even more detailed, then the MSDASC.DataLinksClass class, which, when calling the PromptEdit method, creates a window. - iluxa1810

0