how to make my wpf window over a uwp fullscreen window - wpf

I have a wpf subtransparent window and I want it on the topmost. I set it's topmost property as true. For most cases, it can come at the most top. However, when there is a uwp app run in full screen mode, my window cannot come over. How should I do?

Back in Windows 8 I had a similar problem. I wanted an app to be visible top most over Windows 8 FullScreen app.
Any regular app is not visible over Windows 8 Apps or the Windows 8 Start-Screen, even if it is TopMost.
If I remember correctly, there are certain limitations: an app has to be signed and must run from inside the system32 folder! Than the app is still visible, even if a Windows 8 App is active. - Example of this is the Task-Manager.
In Windows 8 I was able to develop a test application that was still visible over Start-Screen and Metro-Apps. I assume in Windows 10 it is just the same thing.

Related

Single Taskbar icon for all Windows in multi process wpf app ( click once deployed)

I have multi process wpf app : 1 master process + 1or more slave process. All these processes have Windows.
Now I have set icon property of all the windows to xyz.ico.
Also I have set ApplicationIcon property of startup project to xyz.ico.
I am deploying the app through click once.
As per my understanding , setting above two icon property should be enough to make sure all windows of all process appear under single Taskbar icon.
But I am seeing that the windows of mater process appear in a Taskbar icon while all other process's windows appear under a different Taskbar icon.
Any idea what am I missing? Or any other technique to achieve this scenario.
Note: I am NOT launching different application. Theres just one app , that app is launching The different processes.
answer: finally we sorted this out using the appUserModelID shell32 APIs. It did work even with click once being used.

What's different about Screensaver preview in Windows 8?

I'm working on a simple WPF-based screensaver and can't get the thumbnail preview to work.
When you open the display control panel and go to configure the screensaver, the selected screensaver is supposed to display a thumbnail preview within the dialog:
I've found several good examples online of how to do this, including:
Writing a screen saver in WPF
WPF Screensaver (Codeplex)
CC Hearts Screen Saver
Following these examples, I couldn't get anything to work - the preview thumbnail turns black, but nothing else appears. Downloading each of these (and a few others) and running them had the same result - a blank preview thumbnail. I've done this before on Windows 7 and it wasn't hard, so I was a bit frustrated.
Copying the binaries across to a Windows XP machine, I found that each of them showed a preview thumbnail successfully.
So, there's something that's changed between Windows 7 and Windows 8.
What do I need to do differently to enable my WPF screensaver to properly display a thumbnail preview on Windows 8?
I've found the most common problems with moving code from Win 8 to Xp is permission and dependencies. Check that the files are not needing some weird permissions (not sure what permission the preview runs with) and that all dependencies are honoured (also their permissions).
If I remember right, all windows screen savers are just renamed exe files with command line arguments. Maybe try rename it and run it directly?
Check what version of the framework you are using and try to use the client profile if possible
Also Try this small workaround if helps:
In Windows Explorer Go to > Options > Change folder and search
options then click on the View tab and uncheck the box that
says Always show icons, never thumbnails.
I hope it should work.

Getting only gray screen when launching citrix application

Recently we installed a .net WPF application on citrix. When I go and launch it from citrix using RES powerfuse, I only get a grey screen and no controls are rendered on the screen.
The application is open and the main window can be seen but everything is grey in it. The mouse pointer also disappears behind the application.
The funny part is when the people from the operations team launch the application, it works fine. but not for regular users. This makes me suspect it could be something to do with permissions, yet we have given the access to open the program to all users, thats why the icon appears in citrix in the first place
What server are you running the app on? I recall we hit a WPF rendering bug on certain versions of Windows Server (+ XenApp) where the app would only render properly for administrators. This was a .NET bug - nothing to do with Citrix per-say. From what I remember the WPF rendering engine was trying to get access to some system resource that regular users could not access. I believe we only saw this on 2003 servers.
Just did some further digging, I think this is the issue:
http://support.microsoft.com/kb/955692
For quick n temporary resolution:
Check your local machine resolution and Citrix desktop/application resolution.
Equalise the both it will work.
Ex: 1024/762 is the right resolution.
For test: Do maximise n minimize the screen you will see the change.

Put an application window as wallpaper

I'm looking to put an application window behind all other windows.
I was thinking of using .NET 4 and WPF or Silverlight.
I don't have any specific drawing code, I just want my application window as my desktop wallpaper while retaining the interactivity (no mucking around with screenshots etc).
Is this even possible and if so, how?
Edit: I'm using Windows 7 x64.
Edit 2: I know the desktop is drawn to a window with id 0 (or something like that). Can't I use interop calls to put my window as a child of window 0?
For Windows XP and previous versions, use Active Desktop ad set a web page that runs a Silverlight application.

How to program Multi Tab Task bar Preview like IE on Windows 7 in WPF?

IE8 on Win7 http://akashkava.com/blog/wp-content/uploads/2009/09/IE8-on-Win7.png
Windows 7 has a new Task bar, and IE can display multiple tabs in the task bar previews, most of programs which does have not implemented this new api only shows one preview, I have an application where I have multiple tabs and I want to show each tab on this preview.
Let me elabourate more on it, I know that every new window created automatically gets a new Window in Switcher, but how to override to use it with tabbed document interface in WPF.
It certainly is possible, you can get familiar with the windows 7 taskbar api, I would recommend starting with the windows 7 taskbar developer resources.
Here is something to get you started! I know this doesn't cover your scenario yet but it is planned in part 2, so keep an I on these:
http://dotnet.org.za/rudi/archive/2009/10/14/anatomy-of-the-windows-7-taskbar-tabbedthumbnail-part-1.aspx

Resources