Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

CustomChrome issue with WindowStyle=None, restoring window

$
0
0

Hey guys!

Here's some context for my problem:

I used downloaded the CustomChromeLibrary, and changed the Shell Reference from Microsoft.Windows.Shell to System.Windows.Shell.

Working from the CustomChromeSample, I am able to show a CustomChrome window, but IF I change the following properties in MainWindow.xaml:

-WindowStyle=None
-AllowTransparency=True
-Background=Transparent

then, IF I change the WindowState in this sequence:

-Normal(init state)
-Maximized(click button maximize)
-Minimized(click button minimized)
-Normal(click program icon in TaskBar)

then the program icon disappears from the TaskBar and Ive no idea why.

Other informations:
-WPF project targets framework 4.5
-OS is Windows 8
-IDE is Visual Studio 2012

So, does anybody have an idea?
Also, is there a place where I could upload the code for you to see?


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>