VC++窗口置顶

VC++窗口置顶,可以使用win32函数SetWindowPos来实现:

SetWindowPos(&CWnd::wndTopMost, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);