mIRC Homepage
Posted By: Niluje Picture in dialog - 01/05/04 01:20 PM
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
Posted By: Iori Re: Picture in dialog - 01/05/04 01:46 PM
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.
© mIRC Discussion Forums