mIRC Home    About    Download    Register    News    Help

Print Thread
#234922 15/11/11 05:35 PM
Joined: Apr 2010
Posts: 969
F
Hoopy frood
OP Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
I'm not sure what it's really called, but the menu right under the title bar of most applications. It would be nice to make my own popup definition for those.

Theres two way I can think of to implement this:

A Keyword for the popup definition:
Code:
menu @win {
  Titlemenu
  .File
  ..Load:/loadsomething
  ..<and so on>
}


A keyword for the menu windows's def:
Code:
menu @Win:Titlemenu {
  <title menu here>
}


I am SReject
My Stuff
Joined: Nov 2009
Posts: 295
P
Fjord artisan
Offline
Fjord artisan
P
Joined: Nov 2009
Posts: 295
If you mean along with File View etc you already can.

Code:
menu menubar {
  Scripts loader: dialog -ma Addon Addon
}


In the default mirc install it's called Commands and is filled with common commands. You can edit the contents from the scripts editor on the popups tab, then select Menu Bar from the view option.

Last edited by pball; 15/11/11 07:34 PM.

http://scripting.pball.win
My personal site with some scripts I've released.
Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
It's not very clear but the examples are helping, he wants to create a menubar inside a @window using the popups menu system


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Apr 2010
Posts: 969
F
Hoopy frood
OP Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
Oh sorry, what I mean is a menubar popup definition for a custom window.


I am SReject
My Stuff

Link Copied to Clipboard