Microsoft One Note 2010 如何实现停靠在桌面上的窗口? [英] How does Microsoft One Note 2010 implement a window that is docked to the desktop?
问题描述
我是第一次使用此功能 - 在 MS One Note 2010 中,单击停靠到桌面"按钮.
I just used this feature for the first time - in MS One Note 2010, click on the "Dock to Desktop" button.
然后应用程序将自己停靠在屏幕底部.如果窗口在其上方最大化,则该窗口不会与它重叠或低于它 - One Note 窗口在固定使用屏幕空间方面变得类似于任务栏.
The application then literally docks itself to the bottom of the screen. If a window is maximized above it, that window will not overlap or underlap it - the One Note window has become similar to the task bar in terms of its fixed usage of screen real estate.
想想看,我在另一个地方见过这个:Windows 7 放大镜.
Come to think of it, I've seen this one other place: the Windows 7 magnifier.
我很想知道这是如何实现的?它是一个可以在 WinForms 应用程序中应用的窗口属性,还是我可能必须使用 Windows API/C++ 来做到这一点?或者比这更棘手?
I'm curious to know how this is pulled off? Is it a window attribute that can be applied in a WinForms app or might I have to use the Windows API/C++ to do it? Or is it even trickier than that?
推荐答案
它可能使用了 SHAppBarMessage
;示例 &vb6 文章,只是因为它有插图.
It probably uses SHAppBarMessage
; example & a vb6 article simply because it has an illustration.
这篇关于Microsoft One Note 2010 如何实现停靠在桌面上的窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!