Dialog Menu Bug/Problem - 02/02/06 09:25 PM
Ok this bug or problem only happens on menu items which are declared "menu" thus host a submenu.
Mind the weird text in the items and such, this was while testing to enhance mIRC dialog menus with XPopup features.
The bug is you can't change the text on the "menu" items using /did -o when you can for all other "regular" items. Running this code will generate the proper texts for all the items except the menu ones which will stay "Menu" instead of "My Menu" and "a" instead of the other string.
Windows XP SP2
Mind the weird text in the items and such, this was while testing to enhance mIRC dialog menus with XPopup features.
The bug is you can't change the text on the "menu" items using /did -o when you can for all other "regular" items. Running this code will generate the proper texts for all the items except the menu ones which will stay "Menu" instead of "My Menu" and "a" instead of the other string.
Code:
alias test { clearall dialog -m dcx dcx } ON *:DIALOG:dcx:*:*: { if ( $devent == init ) { did -o $dname 201 My Menu did -o $dname 202 1 $chr(11) blah2 did -c $dname 202 did -o $dname 203 1 $chr(11) blah3 $chr(9) CTRL-H did -b $dname 203 did -o $dname 204 1 $chr(11) blah4 did -cb $dname 204 did -r $dname 206 1 $chr(11) submenu $chr(9) CTRL-S did -o $dname 207 1 $chr(11) blah2 did -c $dname 207 did -o $dname 208 1 $chr(11) blah3 $chr(9) CTRL-H did -b $dname 208 did -o $dname 209 1 $chr(11) blah4 did -cb $dname 209 } } dialog dcx { title "DCX - Dialog Control Xtension" size -1 -1 520 500 option pixel menu "Menu", 201 item "a", 202 item "a", 203 item "a", 204 item break, 205 menu "a", 206, 201 item "a", 207, 206 item "a", 208 item "a", 209 }
Windows XP SP2