Some programs like for example TeamViewer add a custom button to the title bar of all Windows. How do they accomplish that?
I am particularly interested how this can be done in Windows 10. Is it only buttons or anything can be added/drawn to/on the title bar?
Edit: Is the Universal Windows Platform (WinRT) relevant?
Related
In some conditions the Windows 10's game bar opens up with my application (made with Delphi, VCL). Thats not a game and i don't directly use DirectX or OpenGL, but it opens up.
To be specific, when i reduce to tray my app and a popup is opened the Game Bar appears.
I found a numbers of sites with tutorial for totally disable the Windows 10 game bar (like this) but i want to disable for my application only, i don't think users will be happy to have a windows feature silently disabled by my app
Is this possible? I cannot find any documentation about it
You can disable it following this solution :
Press Win+G, click the Gear icon (Settings) and uncheck "Remember this is a game" (https://superuser.com/questions/1086248/windows-10-xbox-dvr-app-thinks-chrome-is-a-game).
Note that if the name of the application is Main.exe, this checkbox is not visible.
If the name of the app is main.exe or anything else, it is visible.
It seems it is stored in the registry : HKEY_CURRENT_USER\System\GameConfigStore\ in the Children and Parents directories.
You can try to find your app using the ExeParentDirectory key.
https://www.reddit.com/r/ffxiv/comments/3fbu0x/win_10_game_bardvr_anyone_having_issues/
I don't know if it applies to an executable where Windows decides it is a game (like Main.exe)
Talking about the Status bar of the windows phone 7.5.
It is allowed to add custom applications on the bar and be able to tap on them for being executed?
Unfortunately you can't add icons to the status-bar, let alone assign them to applications.
I'd like to add a "hide button" each time the keyboard shows up so that user can see all the screen when he needs to.
In iPhone this toolbar exists, is it possible to do the same for windows phone anyhow ?
You cannot change the default keyboard. Still here is a tutorial to create a custom keyboard on Windows Phone 7.
I am working on a computer that is running WinXP but is using the classic windows start menu. I've googled, but all I can find is how to change the Windows XP and/or Win7 Start Menu TO Classic Start Menu, but not how to change it BACK to Windows XP (Windows 7 has a utility to download to this). There's no option for it in the control panel either...just Windows Classic Style or Windows Standard views. I tried "taskbar and Start Menu" and although I see the new blue chrome design in the dialog box, it does not change the classic look to that Win XP look. Does anybody know how to do this? Thanks!
See your first screenshot. First radio button is for XP Menu.
Under Windows 7, IE 8 shows every open tab as a taskbar thumbnail. How can I achieve this in my own app?
MSN Messenger exhibits the same behavior.
I believe that this is done with the Windows API Code Pack: http://code.msdn.microsoft.com/WindowsAPICodePack
And here's a blog post explaining how "custom window previews can be used to expose a list of child windows (browser tabs) as thumbnail- and peek-enabled windows in the taskbar." Sounds like what you need: http://blogs.microsoft.co.il/blogs/sasha/archive/2009/02/12/windows-7-taskbar-apis.aspx
The following article should help. There are several new taskbar features in Windows 7, all of them are discussed at the link below.
http://msdn.microsoft.com/en-us/magazine/dd942846.aspx
Note that the Aero Peek feature has nothing to do with task bar buttons, it just lets you make all windows fully transparent to preview your desktop and gadgets. What you were actually looking for is "Windows 7 Grouped Taskbar Thumbnails", in case you need to do additional searches.
This is the best reference I've got. Note that I'm assuming native code here, a .NET equivalent could be p/invoke'd up in a fairly straight forward manner.
It boils down to the following:
For each tab, create a proxy window
For these windows call DwmSetWindowAttribute to set DWMWA_FORCE_ICONIC_REPRESENTATION & DWMWA_HAS_ICONIC_THUMBNAIL
Whenever these proxy windows receives a WM_DWMSENDICONICLIVEPREVIEWBITMAP message, render the corresponding thumbnail into the proxy window
Whenever a proxy window receives a WM_ACTIVATE, switch to the correct tab
You also need to handle WM_SYSCOMMAND
Grab your ITaskbarList4
Use it to register each of your proxy windows as a tab
Manage tab order and what not via the ITaskbarList4 interface (this includes activating tabs)
It seems like there should be a better way to do this, but its all I'm aware of at the moment.