mIRC Home    About    Download    Register    News    Help

Print Thread
#232258 27/05/11 01:45 PM
Joined: May 2011
Posts: 14
N
nnvi Offline OP
Pikka bird
OP Offline
Pikka bird
N
Joined: May 2011
Posts: 14
Hello guys -

I'm trying to add an icon to a statusbar

xstatusbar -t 1 + $ico2 $ip $chr(9) Width100 Tooltip normal style

any help , cheers

nnvi #232261 27/05/11 08:02 PM
Joined: Feb 2006
Posts: 181
C
Vogon poet
Offline
Vogon poet
C
Joined: Feb 2006
Posts: 181
Originally Posted By: DCX Help
/xstatusbar -w
This command lets you add an icon to the statusbar image list.
Syntax:
/xstatusbar -w [+FLAGS] [INDEX] [FILENAME]
Example:
/xstatusbar -w + 113 shell32.dll
Parameters:
INDEX Icon index in icon archive
FILENAME Icon archive filename

Note. Use 0 for INDEX if the file is a single icon file.


Code:
alias tsbar {
  xstatusbar -A 1 tooltips
  xstatusbar -l 250 200 100 -1
  xstatusbar -w + 11 $mircexe
  xstatusbar -w + 25 $mircexe
  xstatusbar -t 1 + 1 $ip $chr(9) Width100 Tooltip normal style
  xstatusbar -t 3 + 2 Cell 3 $chr(9) Tooltip
}


;statusbar image list
xstatusbar -w + 11 $mircexe
;pos 1 = icon index 11 from $mircexe
xstatusbar -w + 25 $mircexe
;pos 2 = icon index 25 from $mircexe

;from the statusbar image list
xstatusbar -t 1 + 1 $ip $chr(9) Width100 Tooltip normal style
;get icon -> pos 1 for cell 1
xstatusbar -t 3 + 2 Cell $chr(9) Tooltip
;get icon -> pos 2 for cell 3

Crinul #232300 29/05/11 04:57 PM
Joined: May 2011
Posts: 14
N
nnvi Offline OP
Pikka bird
OP Offline
Pikka bird
N
Joined: May 2011
Posts: 14
Cheers mate


Link Copied to Clipboard