mIRC Homepage
Posted By: xboxer16 Is there a way to change the favicon - 11/06/15 05:30 PM
Hello,

I was just wondering if there was a way to modify the favicon of a mIRC dialog to something custom.
Posted By: westor Re: Is there a way to change the favicon - 11/06/15 05:38 PM
mIRC has by default the /tray command only change the tray icon, but for the main mIRC icon you will need to download the dcx.dll that you can customize the mIRC - google it!
Posted By: Loki12583 Re: Is there a way to change the favicon - 11/06/15 06:05 PM
There's an "icon" control you can define in a dialog.
Posted By: xboxer16 Re: Is there a way to change the favicon - 11/06/15 06:09 PM
But that icon is just an image, not a favicon
Posted By: xboxer16 Re: Is there a way to change the favicon - 11/06/15 06:10 PM
Can you link me, all I can find is dcx studio, which doesn't even work/
Posted By: westor Re: Is there a way to change the favicon - 11/06/15 06:15 PM
Have a look here: http://westor.ucoz.com/load/mirc_dlls/dcx/2-1-0-7

This is the dcx.dll, but actually the FAQ page is down!

If you want help about this connect into irc.undernet.org into the #mircscripting channel, there is the DCX developer ask there which is the dcx command.
Posted By: westor Re: Is there a way to change the favicon - 11/06/15 06:25 PM
Actually forget the DLL my mistake, i had really forget that, Loki is right, mIRC has this feature by default on dialogs, just put the "test.ico" into your mirc.exe directory and use this code:

To run the dialog: /dialog -m test test

Code:
dialog test {
  title "Test Dialog"
  size -1 -1 233 121
  option dbu
  icon test.ico, 0
  button "Button", 1, 97 105 37 12
}
Posted By: xboxer16 Re: Is there a way to change the favicon - 11/06/15 07:25 PM
I put the file in the same dir as mirc.exe, and used this:
Code:
dialog away {
  title "Away Manager"
  size -1 -1 130 81
  option dbu
  icon tlogo.ico, 0
  button "Go Away", 1, 7 5 53 12
  button "Come back", 2, 70 5 53 12
  combo 4, 7 21.5 85 50, size edit drop
  button "Add", 5, 94 20 14 12
  button "Del", 6, 109 20 14 12
  check "Auto Time Away", 8, 7 35 46 12
  check "Auto Idle Away", 9, 7 45 43 12
  check "Open on Away?", 10, 7 55 43 12
  text %stat, 7, 7 70 116 8
}



However, it did not work.

(I only copied the relevant code here)
Posted By: westor Re: Is there a way to change the favicon - 11/06/15 07:36 PM
It working on me: http://goo.gl/qMu2Xi

Try with the icon in the 30x30 pixels.

or

add in the icon tlogo.ico, 0 an full path example:

Code:
icon C:\westor\Documents\mIRC\tlogo.ico, 0
Posted By: xboxer16 Re: Is there a way to change the favicon - 11/06/15 07:41 PM
The static path worked, but is there any way to use a dynamic one?
Posted By: westor Re: Is there a way to change the favicon - 11/06/15 07:47 PM
Try to put the icon into the code file path and use:

Code:
icon $scriptdirtlogo.ico, 0


/help $scriptdir
© mIRC Discussion Forums