Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目前我有这个,但它没有把我的窗口放在桌面后面
SetWindowPos(hWnd,HWND_BOTTOM,0,0,SCREEN_WIDTH,SCREEN_HEIGHT,SWP_FRAMECHANGED); ShowWindow(hWnd,SW_SHOWNOACTIVATE);
我想把我的窗口放在每个窗口后面,甚至是任务栏和桌面图标窗口请帮助我,我该怎么做,谢谢
Desktop 是一个 ListView 控件,桌面图标是它的列表项。顶级窗口可以成为该 ListView 窗口的子窗口,但不可能在 ListView 的背景及其列表项之间放置子窗口。使任何东西出现在项目后面的唯一方法是直接在 ListView 的背景上绘制,例如通过子类化它来拦截它的WM_ERASEBKGND和WM_PAINT消息。
WM_ERASEBKGND
WM_PAINT