English 中文(简体)
获奖者多过程窗口所有权的MSDN文件在哪里? (从此使用)
原标题:Where is the MSDN documentation on multi-process window ownership for win32? (chrome uses this)

用于描述多个进程如何控制并拥有谷歌园等其他进程的其他窗口的MSDN文件在哪里?

最佳回答

Hmmm,我仅举一个例子,如果我打开“灯塔”,打开一个探索者窗口,我可以做以下事情:

HWND hNotepad = FindWindow (NULL, TEXT("Untitled - Notepad"));
HWND hMusicFolder = FindWindow (NULL, TEXT("Music"));

SetParent (hMusicFolder, hNotepad);

这把我的音乐笔记窗放在灯塔内,每个窗户都属于自己的过程,甚至我自己的过程。 Oh dear。

在XP SP2上做了这项工作。

问题回答

我不知道 Chrome的意思是一样的,但从加工过程中,COM服务器多年来一直在做类似的事情。 例如,当你将COM物体列入文件时,你可以以两种方式打开这个物体供编辑。 提供该内容的申请可提供在主机申请内进行处理的一个DL。 或者,如果提供嵌入式内容的申请在主机申请中开启,你就可以启动。 它通常将自己的菜单添加到菜单上,并接管显示器。

很难在内部启动工作,因为它要求相互之间合作,因为这些申请大多相互不相干。 然而,就象 Chrome这样的情况而言,所涉进程是共同发展起来的,并且相互了解如何工作,因此,它就近似复杂。

我要补充的是,我真心 looked地看着 Chrome,因此我不相信这是它如何真正发挥作用的。 我只是指出,这无疑是可能的,我们当中相当一部分人是在years





相关问题
How to read exact number of bytes from a stream (tcp) socket?

In winsock, both the sync recv and the async WSARecv complete as soon as there is data available in a stream socket, regardless of the size specified (which is only the upper limit). This means that ...

AcquireCredentialsHandle returns SEC_E_NO_CREDENTIALS

I created a self-signed certificate (created using OpenSSL) and installed it into the Certificate Store using the Certificates MMC snap-in (CertMgr.msc) on Windows Vista Ultimate. I have managed to ...

Calling Win32 EnumThreadWindows() in C#

I m trying to get a call to EnumThreadWindows working, but I always get a Wrong Parameter-Error, although my code is nearly the same as this example on pinvoke.net. I don t know why this doesn t work: ...

COM Basic links

folks can you provide me the tutorial link or .pdf for learning basic COM?. i do google it.. still i recommend answers of stackoverflow so please pass me.. Thanks

Handling multiple windows WIN32 API

HI I m trying to create an application in the Win32 environment containing more than one window. How do i do that? all the Win32 Tutorials on web i found only showed how to manage one window. How do i ...

Creating a thread in DllMain?

It seems that when a thread is created from within DllMain upon DLL_PROCESS_ATTACH it won t begin until all dll s have been loaded. Since I need to make sure the thread runs before I continue, I get a ...

热门标签