• SetWinPos - User32 API
    4 replies, posted
How does one use User32 to stack a window at the bottom of the Z-order permanently like the desktop with the explorer shell which cannot be minimized nor can it go above anything, how is this done? [editline]02:32AM[/editline] [url]http://blogs.msdn.com/coding4fun/archive/2009/08/04/9651495.aspx[/url] I found this, but it doesnt seem to work for forms... [editline]02:35AM[/editline] Well it doesnt go under the desktop.
you mean the task bar? [editline]06:58PM[/editline] also, it doesn't work for forms because it's WPF
No I mean the desktop, I can already do a taskbar - I have for years rofl. But no what I am trying to do is create an application that stays at the bottom of the z-order (not just within the application but globally). The idea is to overlay the desktop. I am using SetWindowsPos with the flag SWP_NOACTIVATE but still if the form is activated, it comes to the front of the z-order.
[url]http://stackoverflow.com/[/url] would be a good place for a question like this.
Issue resolved - can overlay the desktop via GetShellWindow().
Sorry, you need to Log In to post a reply to this thread.