+1 888 340 6572
MultiCharts Project Management
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
feature_request_small.png
Open Feature request MC-540

MultiCharts Window Title too long

action_vote_minus_faded.png
2
Votes
action_vote_plus_faded.png
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
Description

The window title of MultiCharts is always "MultiCharts - ".
I have usually 5 - 15 MultiCharts windows open.
This is necessary because intraday data (1-min, 5-sec) consumes a lot of
memory.
However, on the Windows taskbar I only see the windows as "MultiCharts -
..." because there is not enough space to show the name of the workspace.

I would like to have the option to show the workspace name only in the
window title instead.
I already know that it is MultiCharts that is running because of its icon so
"MultiCharts" is just useless clutter here.

Steps to reproduce this issue

Open several MultiCharts instances with a workspace each.

Comments (2)
#0
user-offline.png  mechtrader (mechtrader)
Aug 09, 2011 - 23:51

I agree this feature is needed, but I would prefer the standard format of "[Workspace Name] - MultiCharts". Most modern programs that run multiple instances use this format, for instance: MS Word, Google Chrome, Internet Explorer, OpenOffice, etc. This would allow users to distinguish multiple instances on the taskbar and is standard practice.

#0
user-offline.png  TraderJ (TraderJ)
Aug 10, 2011 - 02:54

I agree with mechtrader.
Here is a workaround which I use until this feature is implemented (if it ever will be).
I wrote a script for AutoIt 3 which does the trick. Simply download and install AutoIt 3 (it's free) and then run the script below. I compiled it to an .exe and attached it to my start menu so I can run it easily after I have launched my MultiCharts instances.
Here is the script (I stored it in a file named "ShortMultiChartsTitle.au3"):

$titlePrefix = "MultiCharts - "
$titlePrefixLen = StringLen($titlePrefix)
$var = WinList($titlePrefix)
For $i = 1 to $var[0][0]
  ; Only display visble windows that have a title
  If $var[$i][0] "" AND IsVisible($var[$i][1]) Then
     $oldTitle = $var[$i][0]
     $len = StringLen($oldTitle)
     $newTitle = StringRight($oldTitle, $len - $titlePrefixLen)
     WinSetTitle($oldTitle, "", $newTitle)
    ; MsgBox(0, "Details", "Title=" & $var[$i][0] & @LF & "Handle=" & $var[$i][1])
  EndIf
Next
Func IsVisible($handle)
  If BitAnd( WinGetState($handle), 2 ) Then
    Return 1
  Else
    Return 0
  EndIf
EndFunc

History
Issue basics
  • Type of issue
    Feature request
  • Category
    Usability
  • Targeted for
    Not determined
  • Status
    Under Review
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (3)
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Resolution
    Not determined
  • Severity
    Normal
Attachments (0)
There is nothing attached to this issue
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates