문제

I noticed the following feature of the "buddy list" window of pidgin on windows: If you drag the window not far from the top right corner of the desktop, the following things happen:

  • The appearance of the border slightly changes:

Before: enter image description here

After: enter image description here

  • It docks on the right of the desktop
  • And here is the most interesting: it reserves the space on the desktop. All other maximized windows are reduced by the width of pigin window. All other windows behave as if the width of the desktop was shorter by the width of the pidgin window

Q: What is the name of the feature implemented by the last point ?

도움이 되었습니까?

해결책

You create custom toolbars that the desktop observes when it calculates the working area with the SHAppBarMessage() api function. Check the MSDN Library page for documentation, it also googles really well to find sample code.

다른 팁

its called docking. Microsoft one-note has the same feature.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top