The clocx window has an embedded desktop function, actually keeping the window at the bottom of all windows. Keep the window is the top is simpler, as long as the setting window is Topmost, but what should I do if it is below? Just modify the parameters in the WM_WINDOWPOSCHANGING message handle, you will play with SWP_NOZORDER in the Flag. Oh, but if you want to modify hwndinsertafter to keep the window to keep the window, it seems that it is just the opposite. I don't know why.