Pb d'icone et d'affichage sur toolbar mdx

Résolu
Kangta Messages postés 9 Date d'inscription dimanche 7 mars 2004 Statut Membre Dernière intervention 28 mars 2005 - 24 mars 2005 à 02:36
Kangta Messages postés 9 Date d'inscription dimanche 7 mars 2004 Statut Membre Dernière intervention 28 mars 2005 - 24 mars 2005 à 10:27
Bonjour , re encore moi et mes problemes !
Donc j'étais entrain d'essayé de faire une toolbar en mdx puis je suis tombé sur un os !
Car quand j'ai voulu mettre des icones et du texte dessus ben ils s'affichent pas donc j'aurai voulu savoir si y'avais pas une ame généreuse qui aurai pu m'aidé !
voila mon codeuh !:

dialog toolbar {
size 0 1 1024 50
list 2,1 0 500 -200,size
text "Salon" 4, 515 5 40 15
edit "#"5, 545 3 100 20, autohs
button "Joindre", 6, 650 3 60 20
}


on 1:dialog:toolbar:init:*:{
dll dll\demid.dll DlgParent $dname TOOLBAR
dll mdx.dll SetMircVersion $version
dll mdx.dll MarkDialog $dname
dll mdx.dll SetControlMDX 2 ToolBar arrows list wrap flat nodivider > dll/bars.mdx
dll mdx.dll SetDialog toolbar style tool
dll mdx.dll SetBorderStyle 2
dll mdx.dll SetDialog $dname bgcolor $rgb(111,179,255)
dll mdx.dll SetColor 2 background $rgb(111,179,255)
dll mdx.dll SetColor 4 background $rgb(111,179,255)
dll mdx.dll SetColor 4 textbg $rgb(111,179,255)
dll mdx.dll SetColor 4 text $rgb(0,0,255)
dll mdx.dll SetColor 5 background $rgb(255,255,255)
dll mdx.dll SetColor 6 background $rgb(111,179,255)
did -i toolbar 2 1 bmpsize 16 16
did -i $dname 2 1 setimage +nhd icon small icones\couleur.ico
did -a $dname 2 +a 1 Couleur
did -i $dname 2 1 setimage +nhd icon small icones\away.ico
did -a $dname 2 +a 2 Away


}


on *:DIALOG:toolbar:sclick:2:{
if ( $did(2).sel == 1 ) {
/Dialog -m couleurs couleurs
halt
}
if ( $did(2).sel == 2 ) {
/dialog -m away away
halt
}
on *:dialog:toolbar:sclick:6:{
j $did(5)
did -o toolbar 5 1
}
alias toolbar { if (!$dialog(toolbar)) { dialog -m toolbar toolbar } | else { dialog -x toolbar } }

Mici pour ceux qui peuvent m'éclairer
Kangta Polaris

2 réponses

Kangta Messages postés 9 Date d'inscription dimanche 7 mars 2004 Statut Membre Dernière intervention 28 mars 2005
24 mars 2005 à 10:27
Nah c'est bon j'ai trouvé !!! J'avais une DLL périmé loll

Kangta Polaris
3
Kangta Messages postés 9 Date d'inscription dimanche 7 mars 2004 Statut Membre Dernière intervention 28 mars 2005
24 mars 2005 à 09:02
Re Encore moi lol En fait sur le mirc 6.12 il passe mais sur le 6.16 il passe pas !!! donc coument faire loll si quelqu'un a une idée

Kangta Polaris
0
Rejoignez-nous