好像有个函数是setwindowspos
自己查察

解决方案 »

  1.   

    没有啊,是不是setWindowState?请问能不能从模板设计器中设置?
      

  2.   

    SetWindowPos
    The SetWindowPos function changes the size, position, and Z order of a child, pop-up, or top-level window. Child, pop-up, and top-level windows are ordered according to their appearance on the screen. The topmost window receives the highest rank and is the first window in the Z order. 
      

  3.   

    SetWindowPos(&wndTopMost,NULL,NULL,NULL,NULL,SWP_NOMOVE|SWP_NOSIZE);

    SetWindowPoshwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE);
    成功后请给分,我现在可是0分了
      

  4.   

    请问,这里的Z order是什么意思?
      

  5.   

    是SetWindowPos()函数,在MFC的CWnd类中有这个成员函数,可以看看。
      

  6.   

    Z order就是Z轴顺序,以我们来看,始终在所有窗口的上面的窗口排在最前面!