以前似乎看到过。现在找不到了。在线等待

解决方案 »

  1.   

    使用ModifyStyleEx函数增加WS_EX_TOOLWINDOW属性。
      

  2.   

    modifystyleex是CWnd的成员函数。
    可我的程序是win32 console application,怎么用?
      

  3.   

    等到控制台的句并...在del 看看行不行
      

  4.   

    试图在自己编的console程序内部实现该功能应该是不行的,虽然console本质上也是窗口程序,但是它是win32子系统.MSDN上就类似问题进行了讲解(能否修改Win32 Console 模式程序的最大最小化框)
    Dr. GUI replies:
    This looks like it should be an easy cure, right? Dr. GUI thought this would be easy: just find the window and flip a style bit or two. But as it turns out, this window is owned by the Win32 subsystem and there is no way you can hook into its GUI. Sorry!如果真要修改的话,可能需要借助其他程序实现