You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't add this feature at the moment since I don't have access to my Windows computer (I'm on a Mac right now). But I think this is how to do it.
WinAPI-Wrapper is what allows Windows Hacks to do its magic. Currently it doesn't have a method for forcing windows to the top. Somebody needs to go into Window.cs and add the method:
/// <summary>
/// Set a window to be always on top.
/// </summary>
/// <param name="windowTitle">The title of the window.</param>
public static void SetAlwaysOnTop(IntPtr hWnd)
{
WinAPI.SetWindowPos(hWnd, new IntPtr(-1), 0, 0, 0, 0, 0x0001 | 0x0002);
}
Then produce a WindowsAPI.dll with the new code and update the one in External in Windows-Hacks. From here it should be easy to add the feature.
Can we have always on top feature ? it would be amazing for resize youtube windows to show video only and force top it
The text was updated successfully, but these errors were encountered: