| 发表于:2007-10-12 21:16:252楼 得分:15 |
不会看帮助吗? 用showwindow函数 showwindow(sw_restore); sw_hide hides the window and activates another window. sw_maximize maximizes the specified window. sw_minimize minimizes the specified window and activates the next top-level window in the z order. sw_restore activates and displays the window. if the window is minimized or maximized, the system restores it to its original size and position. an application should specify this flag when restoring a minimized window. sw_show activates the window and displays it in its current size and position. sw_showdefault sets the show state based on the sw_ value specified in the startupinfo structure passed to the createprocess function by the program that started the application. sw_showmaximized activates the window and displays it as a maximized window. | | |
|