Using system; using system. collections. generic; using system. componentmodel; using system. data; using system. drawing; using system. LINQ; using system. text; using system. windows. forms; using system. runtime. interopservices; namespace ws {public partial class form1: FORM {public form1 () {initializecomponent ();} [dllimport ("user32.dll", entrypoint = "setparent")] public static extern int setparent (INT hwndchild, int hwndnewparent); [dllimport ("user32.dll", entrypoint = "findwindow")] public static extern int findwindow (string lpclassname, string lpwindowname ); private void form1_load (Object sender, eventargs e) {setparent (this. handle. toint32 (), findwindow ("progman", "program manager "));}}}
If you want to achieve this effect in Windows 7, you need to change the topic to "Windows 7 basic" in the system personalized settings for unknown reasons...
Http://www.cnblogs.com/conkis/