EditPro - the Professional Editor for Windows

MENUSINI.TXT
------------
MENUSINI.TXT is the second of three text files that contain 
information about the EditPro .INI files.

These files include:

	EPINI.TXT 	describes the EP.INI file, which 
			contains general settings for 
			EditPro.

	MENUSINI.TXT	describes the MENUS.INI file, 
			which controls the EditPro menu 
			bar.

	TOOLSINI.TXT	describes the TOOLS.INI file, 
			which controls the assignment of 
			images and commands to the buttons
			in the Icon ToolBar, Icon ToolBox, 
			and Icon ToolCube.

MENUS.INI
---------
The MENUS.INI file contains parameters that EditPro uses 
to define the menus in the menu bar and the commands
associated with the items in the menus.

You can manually edit the parameters to customize the 
menus and command associations, or use the Menu Designer 
dialog box to automatically change the values of the 
parameters.


Format
------
As a general rule, all of the .INI files follow the same 
format:

	[Section Name]
	keyname=value

Hint: use the Show Sections command in the File menu to 
move around in large .INI files.  This will show a list
of all [Section Name] sections for that .INI file.


Default MENUS.INI
-----------------
The following sections appear in the default MENUS.INI 
file:

	[Menus]		determines the current menu bar 
			and lists optional menu bars 
			created in the Menu Designer 
			dialog box.

	[Keyboard]	determines the current keyboard 
			interface and lists optional 
			interfaces.  The default interface
			was specified when you installed
			EditPro.  (CUA or BRIEF)

	[CUA]		shows the association between the
			command_id, keyboard key and any 
			modifying keys.	 Associations are
			recorded in numerical order for 
			the CUA interface.

	[_CUA]		shows the association between the 
			command_id, keyboard key and any 
			modifying keys.  Associations are 
			recorded in order by the command 
			reference for the CUA interface.

	[MAIN]		defines the order of appearance 
			of menus in the MAIN menu bar.

	[MAINn]		defines the contents of menu n.

	[BRIEF]		shows the association between the
			command_id, keyboard key and any 
			modifying keys.  Associations are
			recorded in numerical order for 
			the BRIEF interface.

	[_BRIEF]	shows the association between the
			command_id, keyboard key and any 
			modifying keys.  Associations are
			recorded in order by the command 
			reference for the BRIEF interface.

	
	

[Menus]
----------
Specifying the Current Menu - specifies the name of the 
current menu.  Optional menus are listed below the current
menu. 

	Current=MAIN	[Default=MAIN; no others provided]


Listing the optional menus

	1=MAIN				[Defines first menu]
	2=optional menu		[User-defined menu]
	3=optional menu		[User-defined menu]
	
	
[Keyboard]
----------
Specifying the Current Keyboard Interface - specifies the 
keyboard interface to use in the current session. 

	Current=CUA		[Default=CUA; BRIEF if 
				specified in the install]


Listing the optional keyboard interfaces - when you define 
your own interface in the Menu Designer, the interface is 
also listed.

	1=BRIEF					[BRIEF as an optional interface]
	2=CUA					[CUA as an optional interface]
	3=optional interface	[user-defined optional interface]


[MAIN]
------
Listing the menus in the current menu "MAIN".  If a "USER" 
menu is defined, the menus in that menu bar would be listed
in the section named [USER].  

The general format for entries in this section is:

	[Menu_name]
	1=menu_name_n
	2=menu_name_n
	    .
	    .
	    .
	n=menu_name_n

	
For example:	

	[MAIN]			[USER]
	1=MAIN1			1=USER1
	2=MAIN2		OR	2=USER2
	   .			   .
	   .			   .
	   .			   .
	11=MAIN11		11=USER11
	

[MAINn]
-------
Listing the items in menus in the MAIN menu bar - the title
of the menu bars Help menu is listed as follows:

	[MAIN11]
	title=&Help


In general the format is listed as follows:

	[Menubar_name]
	title=&menu_name		


Listing the menu items - The general format for a menu is:

	item_number=command_id menu_item_text


For example:

	1=901 &Index		[901 is the command_id]

[CUA]
-----
Listing command and keyboard associations for the CUA 
interface - the general format for this section is:	

	number=command_id virtual_key_id virtual_key_modifier

Where: 	

	command_id		contains the number of 
				the command that is executed
				when the associated key 
				sequence is pressed.

	virtual_key_id		contains the id number for the
				keyboard key that executes the 
				command.

	virtual_key_modifier	contains the modifying key 
				number (Alt, Shift, Ctrl, etc)


[_CUA] 
------
The _CUA section describes the keyboard and command 
associations for the CUA interface in order of the command_id
to provide quicker access when searching for the command_id.  

The entries are the same as in the CUA section, except for 
this alteration in format.


Listing command and keyboard associations - the general 
format for this section is:	

	command_id=virtual_key_id virtual_key_modifier

		
Where: 	

	command_id		contains the number of the 
				command that is executed when
				the associated key sequence 
				is pressed.

	virtual_key_id		contains the id number for the
				keyboard key that executes the
				command.

	virtual_key_modifier	contains the modifying key 
				number (Alt, Shift, Ctrl, etc)	


[BRIEF]
-------
Listing command and keyboard associations for the BRIEF 
interface - the general format for this section is:	

	number=command_id virtual_key_id virtual_key_modifier


Where: 	

	command_id		contains the number of the 
				command executed when the 
				associated key sequence is 
				pressed.

	virtual_key_id		contains the id number for the
				keyboard key that executes the
				command.

	virtual_key_modifier	contains the modifying key 
				number (Alt, Shift, Ctrl, etc)	



[_BRIEF]
--------
The _BRIEF section describes the keyboard/command associations for the
BRIEF interface in order of the command_id to provide quicker access when 
searching for the command_id.  

The entries are the same as in the BRIEF section, except for this 
alteration in format.

Listing command and keyboard associations

The general format for this section is:	

	command_id=virtual_key_id virtual_key_modifier

Where: 	

	command_id		contains the number of the 
				command executed when the 
				associated key sequence is 
				pressed.

	virtual_key_id		contains the id number for the
				keyboard key that executes the
				command.

	virtual_key_modifier	contains the modifying key 
				number (Alt, Shift, Ctrl, etc)	



