mIRC Home    About    Download    Register    News    Help

Print Thread
How to change the Icon of dialogs boxes? #31379 22/06/03 01:52 AM
Joined: Jun 2003
Posts: 5
E
enmauricie Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
E
Joined: Jun 2003
Posts: 5
I'm wondering since a while I mean almost 4 years, How can I change the Icon of the dialogs boxes?


www.EnMauricie.com created in whole by an mIrc Script I made.
Re: How to change the Icon of dialogs boxes? #31380 22/06/03 05:18 AM
Joined: May 2003
Posts: 730
S
ScatMan Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
if u meant that u want to change the icon inside the "icon" in your dialog you can use the -g switch, eg: /did -g DNAME ID FILENAME



Re: How to change the Icon of dialogs boxes? #31381 22/06/03 01:08 PM
Joined: Dec 2002
Posts: 2,985
Watchdog Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
Nice site but you should make the width resizable. 800 x 600 should be what you aim for without a horizontal scrollbar. There's no written rule but it's sort of the 'done thing'.

Re: How to change the Icon of dialogs boxes? #31382 22/06/03 03:12 PM
Joined: Jun 2003
Posts: 5
E
enmauricie Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
E
Joined: Jun 2003
Posts: 5
I meant the icon on the titlebar of the dialog box


www.EnMauricie.com created in whole by an mIrc Script I made.
Re: How to change the Icon of dialogs boxes? #31383 22/06/03 04:05 PM
Joined: Dec 2002
Posts: 2,985
Watchdog Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
You need a DLL for that I think. Try mIRCustom.dll from http://mircscripts.org/archive.php?type=dll

Re: How to change the Icon of dialogs boxes? #31384 22/06/03 04:12 PM
Joined: Apr 2003
Posts: 210
S
saxon Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Apr 2003
Posts: 210
You can now specify your icon in the dialog table:

dialog [-l] name {
title "text"
icon filename, index
size x y w h
option type (dbu, pixels, notheme)

...

What I would like to know is, How do you have no dialog icon? This seemed possible for one or two versions, by specifying an invalid file for the icon, But now it doesn't seem to work.

Re: How to change the Icon of dialogs boxes? #31385 22/06/03 04:29 PM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
What I would like to know is, How do you have no dialog icon? This seemed possible for one or two versions, by specifying an invalid file for the icon, But now it doesn't seem to work.

You can use the icon #16 in $mircexe, which is transparent. It does the trick. I have no reason to believe that the transparent icon will be removed from the .exe in some future version, so I consider this pretty safe.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Re: How to change the Icon of dialogs boxes? #31386 22/06/03 04:52 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
in dialog studio it says tools at the top, click that, then click dialog properties, it says icon, browse for an icon(it has be a filetype of .ico) then click the selected icon and then it should be in titlebar smile


new username: tidy_trax
Thank you very much pheonix #31387 01/07/03 08:06 PM
Joined: Jun 2003
Posts: 5
E
enmauricie Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
E
Joined: Jun 2003
Posts: 5
Thank you.

That is exactly what I wanted to know. And you made me discovered dialog studio. It makes me save so much of time. Don't have to calculate positions all the time with it. I am very happy to work with it now.



www.EnMauricie.com created in whole by an mIrc Script I made.
Re: How to change the Icon of dialogs boxes? #31388 01/07/03 08:09 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Code:
dialog whatever {
  title "Whatever"
  size -1 -1 156 82
  option dbu
  icon Path\whatever.ico, 0
  button "Close", 6, 35 58 103 12, ok
}

Re: Thank you very much pheonix #31389 01/07/03 08:11 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
np smile


new username: tidy_trax