Skip to content
MSN

popups.dll

A TG007 community discussion started by James2006.

Closed discussion 11 posts
Page 1 of 1
Closed
Topic #3872 · 11 published posts · 1,276 views

dialog toolbar {
 title "Toolbar"
 size -1 -1 512 1
 option dbu
 list 1, -1 0 514 14, size
}

on *:dialog:toolbar:init:*:{
 dll system/dlls/mdx/mdx.dll SetMircVersion $version
 dll system/dlls/mdx/mdx.dll MarkDialog $dname
 dll system/dlls/mdx/mdx.dll SetDialog $dname style tool dlgframe
 dll system/dlls/mdx/mdx.dll SetBorderStyle $dname 1
 dll system/dlls/mdx/mdx.dll SetControlMDX $dname 1 ToolBar Bars flat list wrap nodivider > system/dlls/mdx/bars.mdx
 did -i $dname 1 1 bmpsize 16 16
 did -i $dname 1 1 setimage icon small 0,system/images/icons/XP.icl
 did -a $dname 1 +a 1 Start $chr(9) Click here to begin
 dll system/dlls/hOS/hOS.dll Dock $dname top 0
}
on *:dialog:toolbar:sclick:1:{
 var %click $did($dname,1).sel
 if (%click == 2) {
   startmenu
 }
}

alias startmenu {
 dll system/dlls/popups.dll New startmenu 16 16
 dll system/dlls/popups.dll LoadImg startmenu icon small 6,system/images/icons/XP.icl
 dll system/dlls/popups.dll AddItem startmenu end 1 &Run... $cr run cmd
 dll system/dlls/popups.dll Popup startmenu $calc($window(-2).x + 5) $calc($window(-2).y + 45)
}

 

im attempting to create a toolbar, right now im focusing on a menu resembling the windows start menu on the toolbar, it works, on start it docks the toolbar to the top of the script and the menu works fine, buuut, when i click on a item on the toolbar menu nothining happens, see this line here:

  dll system/dlls/popups.dll AddItem startmenu end 1 &Run... $cr run cmd
well i thought after $cr u put the command you want to run, but no matter what i put after $cr it doesn't work, can someone tell me how to get it working please?

 

p.s. sorry if ive posted in the wrong area.

Hmm, it seems like it should work. Try putting the "run cmd" into an alias, and then replace it with the alias.

nope still not working

looks a lot like my coding

 

I don't think mIRC has the command to open the Windows 'RUN' dialog. You'd have to make one that resembles it via Dialog Studio!

Edited Jun 21, 2005 6:39 PM by Absorbx_o

"Be more concerned with your character than your reputation

because your character is who you really are while your reputation is merely what others think of you."

 

DesolateMx 8.0

r u stupid??

run as in the command run.

 

run prog.exe

 

not the windows dialog, the command to open files.

r u stupid??

run as in the command run.

 

run prog.exe

 

not the windows dialog, the command to open files.

No, I am not stupid.

 

Anyone would think you were after the Win Run Dialog if they looked at this dll system/dlls/popups.dll AddItem startmenu end 1 &Run... $cr run cmd

 

And yes, you can run progs such as that, but figure it out your self because of your rudeness. And stop ripping my toolbar

Edited Jun 21, 2005 9:52 PM by Absorbx_o

"Be more concerned with your character than your reputation

because your character is who you really are while your reputation is merely what others think of you."

 

DesolateMx 8.0

im not ripping ur toolbar

 

EDIT: no need for that thank you.

Edited Jun 22, 2005 5:36 AM by The Gate Keeper

no reason for all that, if u wanna act like a kid then go to rumbaars site lol

What did he say.. briefly.. David removed it.

"Be more concerned with your character than your reputation

because your character is who you really are while your reputation is merely what others think of you."

 

DesolateMx 8.0

lol told you to f off and called you a lil s%#&

Ok thanks.. And thanks for removing it GK. If he wasnt ripping my stuff he wouldnt get so worked up about it

"Be more concerned with your character than your reputation

because your character is who you really are while your reputation is merely what others think of you."

 

DesolateMx 8.0