This problem happens only on windows 8 inside the Task Manager.
The Windows 8 Task Manager has a grouping function for applications, even if there is only one instance of the application running.
The top line shows the application name with the application icon to the left. If you click on the right pointing triangle to the left of the application icon, you can see however many instances of the application run. The text changes from the application name to that of the caption bar of the main document.
The problem that I have is that the icon, which should be the form icon, which shows nicely, disappears from the document instance. When I first click on the triangle, the icon for the document line shows fine. After several seconds, presumably after the refresh, the icon changes to a generic Windows icon. The text is fine.
What can cause this problem and how do I resolve it? The icon displays fine on the application caption bar of the main form and the application icon is fine as well.
Windows 7 does not have this issue, as it uses a different task manager.
Related
I have a UI design that I created to mimic the way that apps in Win10 look but in Win7 - 8. I created a Menu that drops down and has several buttons in it. When this drops down it's the height of the app itself. If the app happens to go behind the task bar the menu drop down opens up instead of down. Is there a way to change this behavior so that no matter where the app is located on a screen it will open down even if that means behind the taskbar.
Thanks
I've created a winforms application. All is running fine, also the taskbar button is created and shown in taskbar including the correct icon.
Whenever I move the form from one display to the second display, the taskbar button stays at the display from where the form was initial start.
I also compared the settings with another winforms application where the behaviour is correct. Means, the button is moving/switching/whatever to the active display where the form is moved to.
Hopefully it is just a small thing, but I came not across with it.
It is an OS feature.
For windows 7 there is no built-in support to show taskbar for your second monitor and your taskbar buttons will always show on first monitor taskbar.
For windows 8 you can open Taskbar properties and in Multiple displays settings, check Show taskbar on all displays and then set the value of Show taskbar bottons on: to Taskbar where window is open
In this occasion the problem I'm facing is related with the icon that appears in the metro menu in Windows 8, when developing an App. At the beginig, I was able to see the icon when developing the App (pressing F5). However, now I can't see the App Icons in the Metro menu. But when searching the App using the Windows icon + Q, I can see the icon of my app.
I realized out the this star happening when I was changing the default splash screen and icons by a custom ones. I have a red icon for the spalsh screen for scale 100 saying: A mixture of images with and without "scale" or "targetsize" qualifiers exists in this project for the logical name "Assets...." When a mixture exists, files without the qualifier are ignored.
I'm not sure if this is causing that the icon is not appearing.
Does any one have a clue?
Regards!
In Windows 8.1 new installed Application doesn't appear in the start menu automatically. You have to pin them there.
For this got to the metro start menu, swipe down (or click the arrow at the bottom left), search for your app -> select it -> select pin to start in the app bar.
I have this application I made where when you click on the exe a Image Pops up that says Checking for Updates and if there isn't any it runs the main codes. But every time I click on it the image ends up somewhere random in the screen, is there a way to center the image in the screen to prevent it from doing that?
If your VS project type is a Windows Form Application you can just view the forms designer and set the StartPosition to CenterScreen or CenterParent
VS2010 WinForms (+ I assume) supports a splash screen. Add a form (a splash screen template is available) and in the Project properties select the new form. The Splash Screen appears center screen.
The splash screen will display until your startup form exits the Load event - or you can just end the app if you don't have anything more to do. Not sure what the code would be for a console app.
I have a c# application and have thought it could be fancy that it displayed current time. So I used form.text property of my main form and put the time into it (picture A)
Unfortunately when I point to the application icon in taskbar in Windows 7 it shows my time where it should show application name (picture B)
Is it possible to have some text on main form top bar and still display different text in Windows taskbar?
In .NET 4 the TaskbarItemInfo class was introduced. Unfortunately it does not directly support changing the application title show in the taskbar.
However, you might be able to achieve this using the Windows API Code Pack library. Yochay Kiriaty wrote an article called Developing for the Windows 7 Taskbar – Application ID which shows an example of what you might be trying to achieve.