==========================================
==Flat Popup Menu Creator by Soul_Eater===
==========================================

This addon was designed to assist scripters in using flatpopz.dll.

Here are the requirements:

color.dll by Soul_Eater
font.dll by Soul_Eater
flatpopz.dll by Soul_Eater

These are to be placed in the mIRC directory.

Type /load -rs fpeasy.mrc to load the script.

Next, you can either look in your menus or type /fpdlg to use the creator.

Then all you have to do is click the "..." buttons on the "Menu Styles" tab
to pick colors and the font.
Or if you want the XpStyle, just check the 'Office XP Styled' checkbox.

Finally, on the "Add Items" tab, enter the menu caption, ID number, and
selection whether or not you want that menu to be a submenu.
Then select your flags. If you do not want any flags, don't check any.
Next, select your icon file with the 'Icon..' button and put the icon ID.
If the file is a .ico, the ID is 0. If you do not want an icon, put 0 in the icon editboxes.
Click the 'Insert' button to add a menu
Highlight a menu in the listbox to edit the contents, and press 'Update'
to change them.
Highlighting a menu item and pressing 'Delete' will erase the menu.
Pressing 'Clear' will erase all boxes.

To preview your menu, click the 'Preview' button.
To see the code, click 'View Code'.

To load a menu already generated into FPMC, Click the 'Load Code' button.
Then paste the entire menu alias you already have into the editbox and
press 'OK'. FPMC will load the menu into the creator for you for editing.
Here is a sample menu to load:
alias -l Samplemenu {
dll flatpopz.dll FlatCoords $1 $2
dll flatpopz.dll XpStyle
dll flatpopz.dll FlatAppend 1 > 0 > 0 > + > &New > 1
dll flatpopz.dll FlatAppend 2 > 0 > 0 > + > &Open > 1
dll flatpopz.dll FlatAppend 3 > 0 > 0 > + > &Close > 1
dll flatpopz.dll FlatAppend 0 > 0 > 0 > + > - > 1
dll flatpopz.dll FlatAppend 4 > 0 > 0 > + > &Save > 1
dll flatpopz.dll FlatAppend 5 > 0 > 0 > + > Save &As... > 1
dll flatpopz.dll FlatAppend 6 > 0 > 0 > + > &Versions > 1
dll flatpopz.dll FlatAppend 0 > 0 > 0 > + > - > 1
dll flatpopz.dll FlatAppend 7 > 0 > 0 > + > &Print > 1
var %flatid $dll(flatpopz.dll,Activate,$window($active).hwnd)
if (%flatid isnum) {
echo -s Selected Menu ID: %flatid
}
dll -u flatpopz.dll
}


Questions? Comments?

Soul_Eater on irc.dal.net, irc.scriptaz.com
Soul_Eate on eu.undernet.org
SoulEata on AIM