本文介绍了最大化的窗口不能最小化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 在我的应用程序中,我使用了 SetForegroundWindow hwnd 将背景窗口置于桌面前面。它在大多数情况下工作得很好 。但是,如果目标背景窗口最小化,在执行SetForegroundWindow hwnd以最大化此窗口后,此窗口 不能再次最小化(单击最小化时没有任何反应 我还尝试了这个功能: ShowWindow hwnd,SW_SHOWMAXIMIZED 同样的事情发生了,任何人都可以给我一些提示使最小化按钮 再次工作吗? 谢谢, 启In my application, I usedSetForegroundWindow hwndto bring the background window to front of desktop. It works fine in most ofthe case. However, if the targeted background window is minimized, afterexecuting SetForegroundWindow hwnd to maximize this window, this windowcannot be minimized any longer(nothing happens when click the minimizebutton on top-right corner of the window title bar)I also tried this function:ShowWindow hwnd, SW_SHOWMAXIMIZEDSame thing happens, can anyone give me some hint to make the minimize buttonwork again?Thanks,Kai推荐答案启, 为什么不使用TopMost http://msdn.microsoft.com/library/de...pmosttopic.asp 我希望这有帮助, CorKai,Why do you not use just TopMost http://msdn.microsoft.com/library/de...pmosttopic.aspI hope this helps,Cor" Cor Ligthert" <无************ @ planet.nl> schrieb:"Cor Ligthert" <no************@planet.nl> schrieb:为什么你不只使用TopMost Why do you not use just TopMost ....因为它是完全不同的...... - MS Herfried K. Wagner MVP< URL:http://dotnet.mvps.org/> VB< URL:http://classicvb.org/petition/>.... because it''s something entirely different...--M S Herfried K. WagnerM V P <URL:http://dotnet.mvps.org/>V B <URL:http://classicvb.org/petition/> " Herfried K. Wagner [MVP]""Herfried K. Wagner [MVP]"为什么不使用TopMost Why do you not use just TopMost ..因为它是完全不同的东西...... ... because it''s something entirely different... 我不知道你在这个新闻组中问你的问题 另一个伪,但是你可以向我解释一下有什么不同吗? CorI did not know that you was asking your question in this newsgroup withanother pseudo, however can you explain to me what is different?Cor 这篇关于最大化的窗口不能最小化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
05-28 15:47
查看更多