Set a taskbar text different from the Window title in wpf

后端 未结 3 1998
隐瞒了意图╮
隐瞒了意图╮ 2020-12-11 15:53

I develop with VS2010 in C# and I would like to create a WPF Window which have a taskbar text different from the Window title. The property Title set both the window title a

3条回答
  •  孤街浪徒
    2020-12-11 16:34

    try to use this: http://www.codeguru.com/forum/showthread.php?t=3833 in conjunction with http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/6b97a6de-0480-4339-8ed0-cb7cdb27bd83

    The first one works fine for me in classical .NET form application when I have made window without title bar and want some text in task bar icon. The second one you need to handle low level WIN32 messages in WPF window (but this works only for top level one).

提交回复
热议问题