开发者

How to limit bottom window full screen max y position on Windows

What I'm trying to do is to create software which will behave as windows task bar.

So my point is that I want software that will be visible above task bar and when you maximize another app window it will not go over it.

How to limit bottom window full screen max y position on Windows

So i want that any other software when in maximized state to be till the red line. Red line will be my software which will be visible at any time except when other software is in full screen.

So is there a way to do this. C# preferred.

What I want to know is how to do it, I presume it needs to be done through WinApi, but I don't know even how call this ap开发者_如何学Cp behavior.

Thanks in advance.


You want to register your application as an App Bar. Use SHAppBarMessage. See this question for sample C# code.


Just something to think about: toolbars/appbars (stuff that gets integrated in the taskbar) are pretty much rendered obsolete or unusable by Windows 7's new unified taskbar.

If your potential market includes Windows 7 users it might be wise to check out the alternatives like sidebar integration or some kind of dock that sits on the opposite side of the screen wrt the taskbar.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜