StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
addow  
#1 Posted : Friday, July 3, 2020 8:13:21 AM(UTC)
addow

Rank: Newbie

Reputation:

Groups: Approved
Joined: 6/30/2020(UTC)
Posts: 1
Slovakia

Hi,

try to look on this forum but did not find any related topic.

Is there any option or script to define also "minimize the window to system tray"?

This option "feature" is in tool JustGesture which is not developed anymore.

Find on GitHub info about this :

https://github.com/mdzur...fAction/WindowOptions.cs

here is this function which works in JustGesture:
***************************************
case WND_MIN_TOTRAY:
StringBuilder title = new StringBuilder(256);
Win32.GetWindowText(activeWnd, title, 256);
Emptydel del = delegate()
{
Win32.GetWindowInfo(activeWnd, ref info);
if (m_wndTray.ContainsKey(activeWnd))
m_wndTray[activeWnd] = info;
else
{
m_wndTray.Add(activeWnd, info);
NotifyIcon tray = new NotifyIcon();
//tray = new NotifyIcon();
tray.Visible = true;
tray.Tag = activeWnd;
tray.Icon = GetWindowIcon(activeWnd);
tray.Text = title.Length >= 64 ? title.ToString().Substring(0, 60) + "..." : title.ToString();
tray.Click += new EventHandler(tray_Click);
Form_engine.TrayIcons.Add(tray);
}
Win32.ShowWindow(activeWnd, 0);//hide
};
Form_engine.Instance.Invoke(del);
//if (string.IsNullOrEmpty(title.ToString()))
// return;
break;
************************

Thanks in advance,
Adam
Faruk  
#2 Posted : Thursday, July 16, 2020 6:31:40 AM(UTC)
Faruk

Rank: Newbie

Reputation:

Groups: Approved
Joined: 7/16/2020(UTC)
Posts: 1
Turkey
Location: ─░zmir

Thanks: 1 times
It would be usefull to have such script
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.