|
Joined: Jun 2003
Posts: 5
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
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?
|
|
|
|
Joined: May 2003
Posts: 730
Hoopy frood
|
Hoopy frood
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
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
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'.
|
|
|
|
Joined: Jun 2003
Posts: 5
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Jun 2003
Posts: 5 |
I meant the icon on the titlebar of the dialog box
|
|
|
|
Joined: Apr 2003
Posts: 210
Fjord artisan
|
Fjord artisan
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.
|
|
|
|
Joined: Jan 2003
Posts: 2,523
Hoopy frood
|
Hoopy frood
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
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
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
new username: tidy_trax
|
|
|
|
Joined: Jun 2003
Posts: 5
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
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.
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
dialog whatever {
title "Whatever"
size -1 -1 156 82
option dbu
icon Path\whatever.ico, 0
button "Close", 6, 35 58 103 12, ok
}
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
np
new username: tidy_trax
|
|
|
|
|