How to create Chrome like application in Delphi which runs multiple processes inside one Window?

后端 未结 6 778
Happy的楠姐
Happy的楠姐 2021-01-30 14:52

Is it possible to create an \"application group\" which would run under one window, but in separate processes, like in Chrome browser? I\'d like to divide one application into m

6条回答
  •  独厮守ぢ
    2021-01-30 15:38

    I guess basically you would create multiple processes each of which creates a window/form. One of the processes has the master window in which every child window is embedded. That is as simple as calling SetParent. The windows in different processes would talk to each other using an IPC (Inter Process Communication) mechanism like named pipes or window messages.

    See this question for an embedding example of using SetParent in Delphi. See this question for an example of using named pipes in Delphi.

提交回复
热议问题