c# - CustomChrome issue with WindowStyle=None, restoring window -


here's context problem:

i downloaded customchromelibrary, , changed shell reference microsoft.windows.shell system.windows.shell, same thing in framework 4.5.

working customchromesample, able show customchrome window, if change following properties in mainwindow.xaml:

  1. windowstyle=none
  2. allowtransparency=true
  3. background=transparent

(note windowstyle=none alone causes issue)

then, if change windowstate in sequence:

  1. normal (init state)
  2. maximized (click button maximize)
  3. minimized (click button minimized)
  4. normal (click program icon in taskbar)

then program icon disappears taskbar , ive no idea why.

so, have idea? also, there place upload code see?

alright, never mind. used mahapps.metrowindow , copy pasted theme change how wanted while keeping functionalities of normal window. code great.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -