mIRC Home    About    Download    Register    News    Help

Print Thread
#81506 01/05/04 01:20 PM
Joined: Feb 2003
Posts: 7
N
Niluje Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
N
Joined: Feb 2003
Posts: 7
I would like to know how to put a picture into a dialog. I know you can put a picture into a custom picture window, but I would like the picture into a dialog. Some other script use it, but I can't understand how.

Can someone help me ? Thx

#81507 01/05/04 01:46 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
One way is to use the icon control.
Code:
dialog test {
  title "test"
  size -1 -1 150 120
  icon 1,1 1 150 100, [color:green]"C:\WINDOWS\winnt.bmp"[/color]
  button OK,2,55 102 40 18, OK
}

You can use .bmp, .jpg, .png, or an .ico|icon.


Link Copied to Clipboard