about "windows belonging to different processes are mixed in a single window hierarchy"
-
From MSDN page for WM_ACTIVATETOPLEVEL http://msdn.microsoft.com/en-us/library/xkd95027(VS.80).aspx I got the below description: This message is similar in use to WM_ACTIVATEAPP, but works in situations where windows belonging to different processes are mixed in a single window hierarchy (common in OLE applications). Does anybody know where is a example/demo/document available that illustrate "windows belonging to different processes are mixed in a single window hierarchy"? I googled but found almost nothing. Thanks!
-
From MSDN page for WM_ACTIVATETOPLEVEL http://msdn.microsoft.com/en-us/library/xkd95027(VS.80).aspx I got the below description: This message is similar in use to WM_ACTIVATEAPP, but works in situations where windows belonging to different processes are mixed in a single window hierarchy (common in OLE applications). Does anybody know where is a example/demo/document available that illustrate "windows belonging to different processes are mixed in a single window hierarchy"? I googled but found almost nothing. Thanks!
Since they mention OLE, you could start there perhaps... Compound Documents[^]
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Since they mention OLE, you could start there perhaps... Compound Documents[^]
Mark Salsbery Microsoft MVP - Visual C++ :java:
Thanks! I think I got the basic idea. Just like embeded MS Word into your_app, the embeded MSWord view window is a chid window of your_app.exe but it's essentially relaies on a external process WinWord.exe