docking

How do you do AppBar docking (to screen edge, like WinAmp) in WPF?

痞子三分冷 提交于 2019-11-26 11:33:33
Is there any complete guidance on doing AppBar docking (such as locking to the screen edge) in WPF? I understand there are InterOp calls that need to be made, but I'm looking for either a proof of concept based on a simple WPF form, or a componentized version that can be consumed. Related resources: http://www.codeproject.com/KB/dotnet/AppBar.aspx http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/05c73c9c-e85d-4ecd-b9b6-4c714a65e72b/ Please Note: This question gathered a good amount of feedback, and some people below have made great points or fixes. Therefore, while I'll keep the code

Docking Window inside another Window

大憨熊 提交于 2019-11-26 09:07:46
问题 I have a winform application (.NET 2.0 C#). From this application, I want to start another process (another winform application) and dock it to my window (or at least make it look like it is docked). So far, I can only find information about docking controls, not windows in separate processes. My first thought is to get the handle of the window and use unmanaged system calls to set the height/width and position of the window to my docking area. But before I got started, I wanted to check to

How do you do AppBar docking (to screen edge, like WinAmp) in WPF?

萝らか妹 提交于 2019-11-26 03:31:57
问题 Is there any complete guidance on doing AppBar docking (such as locking to the screen edge) in WPF? I understand there are InterOp calls that need to be made, but I\'m looking for either a proof of concept based on a simple WPF form, or a componentized version that can be consumed. Related resources: http://www.codeproject.com/KB/dotnet/AppBar.aspx http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/05c73c9c-e85d-4ecd-b9b6-4c714a65e72b/ 回答1: Please Note: This question gathered a good