mIRC Home    About    Download    Register    News    Help

Print Thread
titlebar improvement #234420 24/10/11 11:30 AM
Joined: Jul 2006
Posts: 3,740
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,740
The titlebar of the main mIRC window is limited to 153 characters (+ the word "mIRC" at the beginning) which is sometimes annoying when the title get truncated (or when you are displaying your own text) while there's still space available, I would like to see that limit either removed, or extended.
Also, when using /titlebar, mIRC still add its default text after our own text; again it can be annoying if the purpose is to display our own text only, I use $str($chr(160),X) which is fine, but I think it's something we should be able to do without a workaround.


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: titlebar improvement [Re: Wims] #234438 25/10/11 10:33 AM
Joined: Dec 2002
Posts: 4,864
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,864
mIRC does not place any limit on the number of characters in the titlebar - the limit is actually imposed by Windows itself. As for the text being displayed after your /titlebar text - you are probably referring to the titlebar text for the currently maximized MDI window? Again, this is an MDI window feature that cannot be turned off and is a standard part of MDI windows. These limitations can be overridden by using a custom display/skinning routine for the titlebar, however this can lead to other titlebar display complications, so it is not really worth going down that path.

Re: titlebar improvement [Re: Khaled] #234440 25/10/11 12:26 PM
Joined: Jul 2006
Posts: 3,740
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,740
Ok, I thought you were already using a custom routine for titlebar.
What would be the eventual complications if I may ask?


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: titlebar improvement [Re: Wims] #234446 25/10/11 06:41 PM
Joined: Dec 2002
Posts: 4,864
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,864
mIRC was using a custom titlebar routine in older versions in order to display Unicode text. This is no longer needed in the latest version. The problem with modifying something like the titlebar, which is an integral part of the Windows interface, is that it ends up working in a non-standard way and you have to constantly tweak it to make sure it works correctly. My old custom titlebar routine never quite managed to work as well as I wanted - there was constant flickering during updates and what mIRC displayed in the titlebar did not match what Windows itself displayed in the rest of its user interface, such as the text in the taskbar icons. So I will generally not try to customize something like this unless there is a very good reason to.

Re: titlebar improvement [Re: Khaled] #234447 25/10/11 07:06 PM
Joined: Jul 2006
Posts: 3,740
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,740
Ok, that's understandable


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: titlebar improvement [Re: Khaled] #234450 25/10/11 07:27 PM
Joined: Apr 2004
Posts: 853
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 853
Perhaps most prominently, it seems to make the Aero Glass effect stop working for the mIRC window border (including title bar).


Saturn, QuakeNet staff