::SetWindowPos(this->GetSafeHwnd(), HWND_TOPMOST,0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | WS_EX_TOPMOST); SetWindowPos(hwnd,-1,0,0,0,0,0B);
只要这个函数就OK了.真郁闷还到找!!!!!!!!!!!
SetWindowPos(this->GetSaveHwnd(),HWND_TOPMOST,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE|WS_EX BOOL SetWindowPos( HWND hWnd, //窗口 HWND hWndinsertAfter, // 窗口口句柄,在窗口列表中!!!!!! HWND_TOPMOST 将窗口置于列表顶部, int X, // 窗口新的X坐标 int Y, //窗口新的Y坐标 int cx, //指定新的窗口宽度 int cy, //指定新的窗口高度 UINT uFlags );
0 评论.